Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nu Huyen Trang Pham
Projet NF17 td5 grps4
Commits
8b877216
Commit
8b877216
authored
Mar 24, 2019
by
Colin Lafond
Browse files
Update projet.uml
parent
48ec8015
Changes
1
Hide whitespace changes
Inline
Side-by-side
projet_uml.plantuml
View file @
8b877216
...
...
@@ -10,64 +10,64 @@ note left of Personnel
composé de 10 chiffres. (même chose pour client)
endnote
class
Client
{
nom : string
prenom : string
class
Personne <<Abstract>>
{
nom : string
{key}
prenom : string
{key}
date de naissance : date
adresse : string
numero de telephone : string
}
class Personnel <<Abstract>>{
nom : string
prenom : string
date de naissance : date
adresse : string
numero de telephone : string
}
class Client
class P
oste
class P
ersonnel
class Veterinaire
class Assistant
class Classe
{
nomClasse :
enum {Mammiferes, Reptiles, Oiseaux, Autres
}
class Classe {
nomClasse :
string {key
}
}
class Espece
{
nomEspece : string
class Espece {
nomEspece : string
{key}
}
class Animal {
nom : string
nom : string
{key}
poids : float
taille : float
naissance : date
}
note
lef
t of Animal
note
righ
t of Animal
La date de naissance peut-etre
une annee ou inconnue
Le poids (en kilogramme) et la taille (en cm) >0
endnote
class Traitement {
nom: string {key}
debut : date
duree : int
nbJournalier : int
}
class Medicament {
nomMolecule : string
nomMolecule : string
{key}
description : string
bool espece_autoriser(INPUT Animal.espece)
}
class Effet_secondaire {
effet_secondaire: string
description: string
code : string {key}
}
note right of Medicament
note left of Medicament
Si l'animal peut prendre
le médicament, espece_autoriser()
renvoit vrai. Faux sinon.
...
...
@@ -75,21 +75,29 @@ endnote
Medicament .. N2
Medicament <|- Effet_secondaire
note "........{XOR}........" as N3
Personnel <|-- Veterinaire
Personnel <|-- Assistant
Personnel "0..*" -- "1" Poste : possède >
Poste <|- (Veterinaire, Assistant) : xor
Assistant .. N3
N3 .. Veterinaire
Personne <|-- Personnel
Personne <|-- Client
Veterinaire "1" -- "*" Traitement : prescrit >
Veterinaire .. N1
N1 .. Traitement
Animal "1..*" -- "1" Client : possede <
Traitement "
1..
*" -- "1" Animal : prescrit à >
Traitement "*" -- "1" Animal : prescrit à >
Traitement "*" -- "*" Medicament : associé à >
Personnel "1..*" -- "1" Classe : spécialisé >
Classe "1" -- "1..*" Espece : appartient <
Espece "1..*" -- "1..*" Medicament : peut prendre >
Espece "1" -- "1..*" Animal : appartient <
Classe "1" *-- "1..*" Espece : appartient <
Espece "*" -- "*" Medicament : peut prendre >
Espece "1" *-- "*" Animal : appartient <
Medicament "*" *-- "*" Effet_secondaire : provoque <
@enduml
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment