diff --git a/Documents/Diagramme/MLD.plantuml b/Documents/Diagramme/MLD.plantuml new file mode 100644 index 00000000..3174b0f0 --- /dev/null +++ b/Documents/Diagramme/MLD.plantuml @@ -0,0 +1,125 @@ +@startuml +package MLD { + entity "Athlète" as athlete { + + ID_Athlète : int + -- + Nom : string + Prénom : string + Email : string + Sexe : string + Taille : float + Poids : float + Mot_de_passe : string + DateNaissance : Date + } + + entity "Amitié" as friendship { + + ID_Athlète1 : int + + ID_Athlète2 : int + -- + Début : Date + } + + entity "Notification" as notif { + + ID_Notif : int + -- + Message : text + Date : date + Statut : string + Type : string + Urgence : string + Athlete_ID : int + } + + entity "Coach" as coach { + + ID_Coach : int + -- + // attributs spécifiques au coach + + ID_Athlete : int + } + + entity "Statistique" as stats { + + ID_Statistique : int + -- + Poids : float + FC_moyenne : int + FC_max : int + Calories_brûlées_moy : float + + ID_Athlete : int + } + + entity "Entraînement" as training { + + ID_Entrainement : int + -- + Date : date + Description : text + // Exercices : string + Latitude : float + Longitude : float + Feedback : text + + ID_Coach : int + } + + entity "Participe" as takepart { + + ID_Athlete : int + + ID_Entrainement : int + -- + } + + entity "SourceDonnée" as source { + + ID_Source : int + -- + Type : string + Modèle : string + Précision : numeric + } + + entity "Activité" as activity { + + ID_Activité : int + -- + Type : string + Date : date + Heure_de_début : time + Heure_de_fin : time + Effort_Ressenti : int + Variabilité : float + Variance : float + Ecart-type : float + Moyenne : float + Maximum : int + Minimum : int + Temperature_moyenne : float + } + + entity "FréquenceCardiaque" as fc { + + ID_FC : int + -- + Altitude : float + Temps : time + Température : float + BPM : int + Longitude : float + Latitude : float + + ID_Activité : int + } + + entity "Effectue" as effectue { + + ID_Athlete : int + + ID_Source : int + + ID_Activity : int + -- + } +} + +athlete -- friendship +friendship -- athlete +notif -- athlete +coach -- athlete +stats -- athlete +takepart -- athlete +takepart -- training +effectue -- athlete +effectue -- source +effectue -- activity +activity -- fc +@enduml