CLASS1 Merged
CLASS1 Merged
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
* *
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