You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sae_2a_anglais/Project/db/mld.md

1.2 KiB

@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
    --
    <u>id
    num
    year
    sector
]

card User [
    User
    --
    <u>id
    password
    email
    name
    surname
    nickname
    image
    extratime
    ~#groupID
]

card VocabularyList [
    VocabularyList
    --
    <u>id
    name
    image
    ~#userID
]

card Translate [
    Translate
    --
    <u>id
    ~#firstWord
    ~#secondWord
    ~#listVoc
]

card Vocabulary [
    Vocabulary
    --
    <u>word
]

card Language [
    Language
    --
    <u>name
]

card Register [
    Register
    --
    <u>#language
    <u>#word
]

card Role [
    Role
    --
    <u>id
    name
]
card Practice [
    Practice
    --
    <u>#vocabID
    <u>#groupID
]


card Be [
    Be
    --
    <u>#userID
    <u>#roleID
]


User --> Group
Translate --> VocabularyList
Vocabulary <-- Translate
Vocabulary <-- Translate
Language <-r- Register
Register --> Vocabulary
Practice -> VocabularyList
Practice -> Group
Be --> User
Role <-l- Be
VocabularyList -> User

@enduml