Mise à jour de 'Documents/Diagramme/MLD.plantuml'
continuous-integration/drone/push Build is passing Details

Issue_027_Framework
David D'ALMEIDA 1 year ago
parent c4da236731
commit 4d7b79ae59

@ -1,125 +1,113 @@
@startuml @startuml
package MLD { skinparam classAttributeIconSize 0
entity "Athlète" as athlete { package MLD{
+ ID_Athlète : int entity "Athlète" as athlete {
-- {static} idAthlete
Nom : string nom
Prénom : string prénom
Email : string email
Sexe : string sexe
Taille : float taille
Poids : float poids
Mot_de_passe : string motDePasse
DateNaissance : Date dateNaissance:Date
} }
entity "Amitié" as friendship { entity "Amitié" as friendship{
+ ID_Athlète1 : int {static}# idAthlete1
+ ID_Athlète2 : int {static}# idAthlete2
-- début
Début : Date }
}
entity "Notification" as notif { entity "Notification" as notif {
+ ID_Notif : int {static} idNotif
-- message
Message : text date
Date : date statut
Statut : string urgence
Type : string #athleteId
Urgence : string }
Athlete_ID : int
}
entity "Coach" as coach { entity "Coach" as coach {
+ ID_Coach : int {static} idCoach
--
// attributs spécifiques au coach // attributs spécifiques au coach
+ ID_Athlete : int #athleteId
} }
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 { entity "Statistique" as stats {
+ ID_Entrainement : int {static} idStatistique
-- poids
Date : date fcMoyenne
Description : text fcMax
// Exercices : string caloriesBrûléesMoy
Latitude : float date
Longitude : float #athleteId
Feedback : text }
+ ID_Coach : int
}
entity "Participe" as takepart { entity "Entraînement" as training {
+ ID_Athlete : int {static} idEntrainement
+ ID_Entrainement : int date
-- description
} // Exercices
latitude
longitude
feedback
#coachId
}
entity "SourceDonnée" as source { entity "Participe" as takepart {
+ ID_Source : int {static} #athleteId
-- {static} #entrainementId
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 { entity "SourceDonnée" as source {
+ ID_FC : int {static} idSource
-- type
Altitude : float modèle
Temps : time précision : numeric
Température : float #athleteId
BPM : int }
Longitude : float
Latitude : float
+ ID_Activité : int
}
entity "Effectue" as effectue { entity "Activité" as activity {
+ ID_Athlete : int {static} idActivité
+ ID_Source : int type
+ ID_Activity : int 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 activity --> athlete
notif -- athlete activity --> source
coach -- athlete activity <-- fc
stats -- athlete coach --> athlete
takepart -- athlete athlete <-- source
takepart -- training stats --> athlete
effectue -- athlete takepart --> athlete
effectue -- source takepart --> training
effectue -- activity friendship --> athlete
activity -- fc notif --> athlete
coach <-- training
athlete <-- friendship
@enduml @enduml
Loading…
Cancel
Save