From 32afdd093c9625dfcc7655fc3d5c632a17827595 Mon Sep 17 00:00:00 2001 From: anperederi Date: Mon, 26 Feb 2024 18:21:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20MCD=20on=20the=20readme=20?= =?UTF-8?q?file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Documents/Diagramme/BDD/README_BDD.md | 98 +++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/Documents/Diagramme/BDD/README_BDD.md b/Documents/Diagramme/BDD/README_BDD.md index 5bc2be22..836e87e9 100644 --- a/Documents/Diagramme/BDD/README_BDD.md +++ b/Documents/Diagramme/BDD/README_BDD.md @@ -175,4 +175,102 @@ friendship --> athlete notif --> athlete athlete <-- friendship @enduml +``` + +```plantuml +@startuml +skinparam classAttributeIconSize 0 +package MCD{ +entity "Athlete" as athlete { + {static} idAthlete + username + nom + prenom + email + sexe + taille + poids + motDePasse + dateNaissance + isCoach +} + +entity "Notification" as notif { + {static} idNotif + message + date + statut + urgence + #athleteId +} + +entity "Statistique" as stats { + {static} idStatistique + poids + fcMoyenne + fcMax + caloriesBruleesMoy + date + #athleteId +} + +entity "Entrainement" as training { + {static} idEntrainement + date + description + latitude + longitude + feedback + #athleteId +} + +entity "SourceDonnee" as source { + {static} idSource + type + modele + precision + #athleteId +} + +entity "Activite" as activity { + {static} idActivité + type + date + heureDeDebut + heureDeFin + effortRessent + variabilite + variance + ecartType + moyenne + maximum + minimum + temperatureMoyenne + #athleteId + #sourceId +} + +entity "FréquenceCardiaque" as fc { + {static} idFc + altitude + temps : time + température + bpm + longitude + latitude + #activitéId +} + +} +activity "0..n" --- "1..1" athlete : réalise +activity "1..n" --- "1..1" source : possede +activity "1..1" --- "1..n" fc : enregistre +athlete "1..n" --- "0..1" source : possede +stats "0..n" --- "1..1" athlete : possede +training "0..n" --- "1..n" athlete : participe +training "0..n" --- "1..1" athlete : donne +athlete "0..n" --- "1..n" athlete : est ami +notif "0..n" --- "1..n" athlete : recoit +notif "0..n" --- "1..1" athlete : envoie +@enduml ``` \ No newline at end of file