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/mcd.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
skinparam usecaseBackgroundColor #80ff80

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

card VocabularyList [
    VocabularyList
    --
    <u>id
    name
    image
]

card Vocabulary [
    Vocabulary
    --
    <u>word
]

card Language [
    Language
    --
    <u>name
]

card Group [
    Group
    --
    <u>id
    num
    year
    sector
]

card Role [
    Role
    --
    <u>id
    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