-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathObject.puml
48 lines (39 loc) · 1008 Bytes
/
Object.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@startuml
'https://plantuml.com/object-diagram
entity UserVote
entity User
User : UserID = "[email protected]"
User : RoleID = 1
User : email = "[email protected]"
User : favoritePartyID = "Likud"
User : UserName = "a@a"
User : registrationDate = 20221226
User : Gender = "Male"
User : userAge = 19970421
entity Celeb
Celeb : Company = "Independant"
Celeb : FirstName = Omer
Celeb : LastName = Adam
Celeb : BirthDate = 20221216
Celeb : ImgUrl = "not relevant"
Celeb : CelebInfo = "not relevant"
Celeb : Category = "Famous"
Celeb : RightVotes = 150
Celeb : LeftVotes = 10
entity Company
Company : CompanyID = "Independant"
Company : CategoryID = "Famous""
entity Category
Category : CategoryID = "Famous"
Category : CategoryName = "Famous"
entity VoteOption
VoteOption : VoteID = "left"
VoteOption : VoteDescription = "left"
map UserVote {
[email protected] *--> User
left *--> VoteOption
"Famous" *--> Category
"Independant" *--> Company
Omer Adam *--> Celeb
}
@enduml