From 4d7b79ae59a87c971b164ed16613652d941f7827 Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Wed, 8 Nov 2023 14:48:26 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Documents/Diagramm?= =?UTF-8?q?e/MLD.plantuml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documents/Diagramme/MLD.plantuml | 212 +++++++++++++++---------------- 1 file changed, 100 insertions(+), 112 deletions(-) diff --git a/Documents/Diagramme/MLD.plantuml b/Documents/Diagramme/MLD.plantuml index 3174b0f0..f9b5058d 100644 --- a/Documents/Diagramme/MLD.plantuml +++ b/Documents/Diagramme/MLD.plantuml @@ -1,125 +1,113 @@ @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 - } +skinparam classAttributeIconSize 0 +package MLD{ +entity "Athlète" as athlete { + {static} idAthlete + nom + prénom + email + sexe + taille + poids + motDePasse + dateNaissance:Date +} - entity "Amitié" as friendship { - + ID_Athlète1 : int - + ID_Athlète2 : int - -- - Début : Date - } +entity "Amitié" as friendship{ +{static}# idAthlete1 +{static}# idAthlete2 +début +} - entity "Notification" as notif { - + ID_Notif : int - -- - Message : text - Date : date - Statut : string - Type : string - Urgence : string - Athlete_ID : int - } +entity "Notification" as notif { + {static} idNotif + message + date + statut + urgence + #athleteId +} - entity "Coach" as coach { - + ID_Coach : int - -- +entity "Coach" as coach { + {static} idCoach // 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 - } + #athleteId +} - entity "Entraînement" as training { - + ID_Entrainement : int - -- - Date : date - Description : text - // Exercices : string - Latitude : float - Longitude : float - Feedback : text - + ID_Coach : int - } +entity "Statistique" as stats { + {static} idStatistique + poids + fcMoyenne + fcMax + caloriesBrûléesMoy + date + #athleteId +} - entity "Participe" as takepart { - + ID_Athlete : int - + ID_Entrainement : int - -- - } +entity "Entraînement" as training { + {static} idEntrainement + date + description + // Exercices + latitude + longitude + feedback + #coachId +} - entity "SourceDonnée" as source { - + ID_Source : int - -- - Type : string - Modèle : string - Précision : numeric - } +entity "Participe" as takepart { + {static} #athleteId + {static} #entrainementId +} - 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 "SourceDonnée" as source { + {static} idSource + type + modèle + précision : numeric + #athleteId +} - entity "Effectue" as effectue { - + ID_Athlete : int - + ID_Source : int - + ID_Activity : int - -- - } +entity "Activité" as activity { + {static} idActivité + type + date + heureDeDébut + heureDeFin + effortRessent + variabilité + variance + ecartType + moyenne + maximum + minimum + temperatureMoyenne + #athleteId + #sourceId +} +entity "FréquenceCardiaque" as fc { + {static} idFc + altitude + temps : time + température + bpm + longitude:float + latitude + #activitéId } -athlete -- friendship -friendship -- athlete -notif -- athlete -coach -- athlete -stats -- athlete -takepart -- athlete -takepart -- training -effectue -- athlete -effectue -- source -effectue -- activity -activity -- fc -@enduml +} +activity --> athlete +activity --> source +activity <-- fc +coach --> athlete +athlete <-- source +stats --> athlete +takepart --> athlete +takepart --> training +friendship --> athlete +notif --> athlete +coach <-- training +athlete <-- friendship +@enduml \ No newline at end of file