Anthony RICHARD 1 year ago
commit 169a20889b

@ -1,5 +1,15 @@
```plantuml
@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 [
User
--
@ -13,14 +23,26 @@ card User [
extratime
]
card Vocabulary [
Vocabulary
card VocabularyList [
VocabularyList
--
<u>id
name
image
]
card Vocabulary [
Vocabulary
--
<u>word
]
card Language [
Language
--
<u>name
]
card Group [
Group
--
@ -39,21 +61,30 @@ card Role [
usecase Create
User "0,n" -- Create
Create -- "1,1" Vocabulary
User "0,n " -- Create
Create -- "1,1 " VocabularyList
usecase Practice
Group "0,n" -- Practice
Practice -- "1,n" Vocabulary
Group "0,n " -- Practice
Practice -r-- "0,n" VocabularyList
usecase Belong
User "0,1" -- Belong
Belong -- "0,n" Group
usecase Have
User "0,n" -- Have
Have -- "0,n " Role
User "1,1" -- Belong
Belong -- "1,n" Group
usecase Register
Vocabulary "1,n" -- Register
Register - "0,n" Language
usecase Be
usecase Translate
User "1,n" -- Be
Be -- "1,1" Role
Translate - "0,n" Vocabulary
Vocabulary - "0,n" Translate
Translate --- "0,n" VocabularyList
@enduml

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

Loading…
Cancel
Save