@@ -12,24 +12,25 @@ scale 1200 width
1212package persistent {
1313
1414 entity Context {
15- String nameDe
16- String nameEn
17- list ()
18- search ()
19- addNew ()
20- edit ()
21- delete ()
15+ - String nameDe
16+ - String nameEn
17+ Context [] list ()
18+ Context search ()
19+ Context addNew ()
20+ Context edit ()
21+ void delete ()
2222 }
2323
2424 entity Project {
25- String name
26- String description
25+ - String name
26+ - String description
2727 listVisitsOfPet ()
2828 addNew ()
2929 }
3030
3131 entity Task {
32- String name
32+ - String name
33+ - String description
3334 list ()
3435 search ()
3536 addNew ()
@@ -38,7 +39,8 @@ package persistent {
3839 }
3940
4041 entity ChatMessage {
41- String xyz
42+ - String messageText
43+ - Boolean readByReceiver
4244 list ()
4345 search ()
4446 addNew ()
@@ -47,7 +49,15 @@ package persistent {
4749 }
4850
4951 entity UserAccount {
50- String name
52+ - String userEmail
53+ - String userPassword
54+ - String userFullname
55+ - Language defaultLanguage
56+ - Date lastLoginTimestamp
57+ - Boolean accountNonExpired
58+ - Boolean accountNonLocked
59+ - Boolean credentialsNonExpired
60+ - Boolean enabled
5161 list ()
5262 search ()
5363 addNew ()
@@ -56,51 +66,46 @@ package persistent {
5666 }
5767
5868 entity UserAccountPassword {
59- String name
69+ - String userPassword
6070 list ()
61- listSpecialtiesOfVet ()
6271 search ()
6372 addNew ()
6473 edit ()
6574 delete ()
6675 }
6776
6877 entity UserPasswordRecovery {
69- String name
78+ - String email
79+ - String token
80+ - Integer numberOfRetries
7081 list ()
71- listSpecialtiesOfVet ()
7282 search ()
7383 addNew ()
7484 edit ()
7585 delete ()
7686 }
7787
7888 entity UserRegistration {
79- String name
89+ - String email
90+ - String token
91+ - Integer numberOfRetries
8092 list ()
81- listSpecialtiesOfVet ()
8293 search ()
8394 addNew ()
8495 edit ()
8596 delete ()
8697 }
8798
88- 'Owner "one" *--> "many" Pet: pets
89- 'Pet "one" *--> "many" Visit: visits
90- 'Pet "many" o--> "one" PetType: petType
91- 'Vet "many" o--> "many" Specialty: specialties
99+ Context "many" o--> "one " UserAccount : userAccount
100+ Project "many" o--> "one " Context : context
101+ Task "many" o--> "one " Project : project
102+ ChatMessage "many" o--> "one " UserAccount : sender
103+ ChatMessage "many" o--> "one " UserAccount : receiver
104+ UserAccount "one" o--> "one " Context : defaultContext
105+ UserAccountPassword "one" o--> "one " UserAccount : userAccount
106+ UserRegistration "one" o--> "one " UserAccount : userAccount
107+ UserPasswordRecovery "many" o--> "one " UserAccount : userAccount
92108
93109}
94110
95- package transient {
96- class LoginForm {}
97- class UserAccountForm {}
98- class UserDetailsDto {}
99- class UserSessionBean {}
100- class UserChangeLanguageForm {}
101- class NewContextForm {}
102- class ChatMessageForm {}
103- class Breadcrumb {}
104- class BreadcrumbItem {}
105- }
106111@enduml
0 commit comments