Mise à jour de 'Project/db/mcd.md'

php
Antoine JOURDAIN 1 year ago
parent 093ccefa98
commit ab4844f345

@ -1,59 +1,90 @@
```plantuml ```plantuml
@startuml @startuml
card User [
User skinparam cardAttributeIconSize 9
-- skinparam cardBackgroundColor #009900
<u>id skinparam cardBorderColor #black
password skinparam ArrowColor #00331f
email skinparam cardFontColor #black
name skinparam cardFontName arial
surname skinparam BackgroundColor #lightgrey
nickname skinparam usecaseBackgroundColor #80ff80
image
extratime card User [
] User
--
card Vocabulary [ <u>id
Vocabulary password
-- email
<u>id name
name surname
image nickname
] image
extratime
card Group [ ]
Group
-- card VocabularyList [
<u>id VocabularyList
num --
year <u>id
sector name
] image
]
card Role [
Role card Vocabulary [
-- Vocabulary
<u>id --
name <u>word
] ]
usecase Create card Language [
Language
User "0,n" -- Create --
Create -- "1,1" Vocabulary <u>name
]
usecase Practice
card Group [
Group "0,n" -- Practice Group
Practice -- "1,n" Vocabulary --
<u>id
usecase Belong num
year
User "1,1" -- Belong sector
Belong -- "1,n" Group ]
usecase Be card Role [
Role
User "1,n" -- Be --
Be -- "1,1" Role <u>id
@enduml name
]
usecase Create
User "0,n " -- Create
Create -- "1,1 " VocabularyList
usecase Practice
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
usecase Register
Vocabulary "1,n" -- Register
Register - "0,n" Language
usecase Translate
Translate - "0,n" Vocabulary
Vocabulary - "0,n" Translate
Translate --- "0,n" VocabularyList
@enduml
Loading…
Cancel
Save