Anthony RICHARD 1 year ago
commit 169a20889b

@ -1,5 +1,15 @@
```plantuml ```plantuml
@startuml @startuml
skinparam cardAttributeIconSize 9
skinparam cardBackgroundColor #009900
skinparam cardBorderColor #black
skinparam ArrowColor #00331f
skinparam cardFontColor #black
skinparam cardFontName arial
skinparam BackgroundColor #lightgrey
skinparam usecaseBackgroundColor #80ff80
card User [ card User [
User User
-- --
@ -13,14 +23,26 @@ card User [
extratime extratime
] ]
card Vocabulary [ card VocabularyList [
Vocabulary VocabularyList
-- --
<u>id <u>id
name name
image image
] ]
card Vocabulary [
Vocabulary
--
<u>word
]
card Language [
Language
--
<u>name
]
card Group [ card Group [
Group Group
-- --
@ -39,21 +61,30 @@ card Role [
usecase Create usecase Create
User "0,n" -- Create User "0,n " -- Create
Create -- "1,1" Vocabulary Create -- "1,1 " VocabularyList
usecase Practice usecase Practice
Group "0,n" -- Practice Group "0,n " -- Practice
Practice -- "1,n" Vocabulary Practice -r-- "0,n" VocabularyList
usecase Belong usecase Belong
User "0,1" -- Belong
Belong -- "0,n" Group
usecase Have
User "0,n" -- Have
Have -- "0,n " Role
User "1,1" -- Belong usecase Register
Belong -- "1,n" Group Vocabulary "1,n" -- Register
Register - "0,n" Language
usecase Be usecase Translate
User "1,n" -- Be Translate - "0,n" Vocabulary
Be -- "1,1" Role Vocabulary - "0,n" Translate
Translate --- "0,n" VocabularyList
@enduml @enduml

@ -1,6 +1,14 @@
```plantuml ```plantuml
@startuml @startuml
skinparam cardAttributeIconSize 9
skinparam cardBackgroundColor #009900
skinparam cardBorderColor #black
skinparam ArrowColor #00331f
skinparam cardFontColor #black
skinparam cardFontName arial
skinparam BackgroundColor #lightgrey
card Group [ card Group [
Group Group
-- --
@ -23,17 +31,42 @@ card User [
extratime extratime
~#groupID ~#groupID
] ]
User --> Group
card Vocabulary [ card VocabularyList [
Vocabulary VocabularyList
-- --
<u>id <u>id
name name
image image
~#creator ~#userID
]
card Translate [
Translate
--
<u>#firstWord
<u>#secondWord
<u>#listVoc
]
card Vocabulary [
Vocabulary
--
<u>word
]
card Language [
Language
--
<u>name
]
card Register [
Register
--
<u>#language
<u>#word
] ]
Vocabulary --> User
card Role [ card Role [
Role Role
@ -47,8 +80,7 @@ card Practice [
<u>#vocabID <u>#vocabID
<u>#groupID <u>#groupID
] ]
Practice --> Vocabulary
Practice --> Group
card Be [ card Be [
Be Be
@ -56,7 +88,18 @@ card Be [
<u>#userID <u>#userID
<u>#roleID <u>#roleID
] ]
User --> Group
Translate --> VocabularyList
Vocabulary <-- Translate
Vocabulary <-- Translate
Language <-r- Register
Register --> Vocabulary
Practice -> VocabularyList
Practice -> Group
Be --> User Be --> User
Be --> Role Role <-l- Be
VocabularyList -> User
@enduml @enduml

Loading…
Cancel
Save