0% found this document useful (0 votes)
3 views4 pages

CLASS1 Merged

The document outlines a class diagram representing various entities and their relationships in a system. Key entities include Customer, Order, Product, Payment, Shipment, Student, Teacher, Course, Classroom, Member, Librarian, Book, User, Post, Message, and Comment, each with specific attributes and methods. The relationships indicate how these entities interact, such as placing orders, enrolling in courses, and managing posts and messages.

Uploaded by

anishselvan22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

CLASS1 Merged

The document outlines a class diagram representing various entities and their relationships in a system. Key entities include Customer, Order, Product, Payment, Shipment, Student, Teacher, Course, Classroom, Member, Librarian, Book, User, Post, Message, and Comment, each with specific attributes and methods. The relationships indicate how these entities interact, such as placing orders, enrolling in courses, and managing posts and messages.

Uploaded by

anishselvan22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Custom er

custom erId: int


nam e: S tring
em ail: S tring
address: String
re g iste r()
lo g in ()
1

O rder

o rd e rId : in t
date: D ate
totalA m ount: double
placeO rder()
* 1 1

*
1
1
Product
Paym ent
S hipm ent
p ro d u ctId : in t
p a ym e n tId : in t
nam e: S tring shipm entId: int
m ethod: S tring
price: double status: S tring
status: S tring
sto ck: in t
trackS hipm ent()
processPaym ent()
updateS tock()
S tudent Teacher

stu d e n tId : in t teacherId: int


nam e: S tring nam e: S tring
g ra d e : in t subject: S tring
e n ro ll() assignGrade()
* 1

* *

Course

courseId: int
title : S trin g
addS tudent()
1

Classroom

room N o: S tring
ca p a city: in t
M em ber

m em berId: int
nam e: S tring
borrow Book()
1

*
L ib ra ria n
Loan
sta ffId : in t
loanId: int nam e: S tring
dueD ate: D ate
issueBook()
addBook()
1

Book

bookId: int
title : S trin g
a u th o r: S trin g
available: boolean
checkout()
User

userId: int
usernam e: S tring
em ail: S tring
follow U ser()
createPost()
1 1 1
sends receives
*
* *
Post
Message
p o stId : in t
m essageId: int
co n te n t: S trin g
te x t: S trin g
tim estam p: D ate
tim estam p: D ate
likePost()
1

C om m ent

com m entId: int


te x t: S trin g
editC om m ent()

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy