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.
90 lines
1.3 KiB
90 lines
1.3 KiB
```plantuml
|
|
@startuml "BDD"
|
|
|
|
class Scientifique{
|
|
nom : String
|
|
prenom : String
|
|
photo : Raw
|
|
dateNaissance : Date
|
|
descriptif : String
|
|
ratioTrouvee : Float
|
|
}
|
|
|
|
class Thematique{
|
|
libelle : String
|
|
}
|
|
|
|
class Sexe{
|
|
libelle : String
|
|
}
|
|
|
|
class "Difficulte"{
|
|
libelle: String
|
|
}
|
|
|
|
class Indice{
|
|
indice : String
|
|
}
|
|
|
|
Scientifique "*" --> "1..*" Thematique
|
|
Scientifique "*" --> "1" Sexe
|
|
Scientifique "*" --> "1" "Difficulte"
|
|
Scientifique "*" <-- "*"Utilisateur : A découvert <
|
|
Scientifique .. Admin : Gérer <
|
|
Scientifique "1" --> "*" Indice
|
|
|
|
|
|
class Question{
|
|
question : String
|
|
}
|
|
|
|
class Reponse{
|
|
reponse : String
|
|
}
|
|
|
|
Question "1" --> "1..*" Reponse
|
|
Reponse "0..*" --> "1" Scientifique
|
|
|
|
abstract class Joueur{
|
|
pseudo : String {unique}
|
|
}
|
|
|
|
class Utilisateur{
|
|
email : String {unique}
|
|
motDePasse : Hash
|
|
}
|
|
|
|
class Invite{
|
|
idSession : Integer
|
|
}
|
|
|
|
Joueur <|-- Utilisateur
|
|
Joueur <|-- Invite
|
|
|
|
class Admin{
|
|
email : String {unique}
|
|
motDePasse : Hash
|
|
}
|
|
|
|
abstract class Jeu{
|
|
nom : String
|
|
nbrParties : Integer
|
|
}
|
|
|
|
Jeu .. Scientifique : Accède >
|
|
|
|
class Pendu extends Jeu
|
|
|
|
Pendu "1" --> "1..*" Scientifique
|
|
|
|
class Partie{
|
|
codeInvitation : String
|
|
isFinished : Boolean
|
|
}
|
|
|
|
Partie "*" --> "1" Jeu
|
|
|
|
Partie "1" --> "1..*" Joueur
|
|
|
|
@enduml
|
|
``` |