Mise à jour de 'Documents/Diagramme/MLD.plantuml'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c4da236731
commit
4d7b79ae59
@ -1,125 +1,113 @@
|
|||||||
@startuml
|
@startuml
|
||||||
|
skinparam classAttributeIconSize 0
|
||||||
package MLD{
|
package MLD{
|
||||||
entity "Athlète" as athlete {
|
entity "Athlète" as athlete {
|
||||||
+ ID_Athlète : int
|
{static} idAthlete
|
||||||
--
|
nom
|
||||||
Nom : string
|
prénom
|
||||||
Prénom : string
|
email
|
||||||
Email : string
|
sexe
|
||||||
Sexe : string
|
taille
|
||||||
Taille : float
|
poids
|
||||||
Poids : float
|
motDePasse
|
||||||
Mot_de_passe : string
|
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 {
|
entity "Statistique" as stats {
|
||||||
+ ID_Statistique : int
|
{static} idStatistique
|
||||||
--
|
poids
|
||||||
Poids : float
|
fcMoyenne
|
||||||
FC_moyenne : int
|
fcMax
|
||||||
FC_max : int
|
caloriesBrûléesMoy
|
||||||
Calories_brûlées_moy : float
|
date
|
||||||
+ ID_Athlete : int
|
#athleteId
|
||||||
}
|
}
|
||||||
|
|
||||||
entity "Entraînement" as training {
|
entity "Entraînement" as training {
|
||||||
+ ID_Entrainement : int
|
{static} idEntrainement
|
||||||
--
|
date
|
||||||
Date : date
|
description
|
||||||
Description : text
|
// Exercices
|
||||||
// Exercices : string
|
latitude
|
||||||
Latitude : float
|
longitude
|
||||||
Longitude : float
|
feedback
|
||||||
Feedback : text
|
#coachId
|
||||||
+ ID_Coach : int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
entity "Participe" as takepart {
|
entity "Participe" as takepart {
|
||||||
+ ID_Athlete : int
|
{static} #athleteId
|
||||||
+ ID_Entrainement : int
|
{static} #entrainementId
|
||||||
--
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
entity "SourceDonnée" as source {
|
entity "SourceDonnée" as source {
|
||||||
+ ID_Source : int
|
{static} idSource
|
||||||
--
|
type
|
||||||
Type : string
|
modèle
|
||||||
Modèle : string
|
précision : numeric
|
||||||
Précision : numeric
|
#athleteId
|
||||||
}
|
}
|
||||||
|
|
||||||
entity "Activité" as activity {
|
entity "Activité" as activity {
|
||||||
+ ID_Activité : int
|
{static} idActivité
|
||||||
--
|
type
|
||||||
Type : string
|
date
|
||||||
Date : date
|
heureDeDébut
|
||||||
Heure_de_début : time
|
heureDeFin
|
||||||
Heure_de_fin : time
|
effortRessent
|
||||||
Effort_Ressenti : int
|
variabilité
|
||||||
Variabilité : float
|
variance
|
||||||
Variance : float
|
ecartType
|
||||||
Ecart-type : float
|
moyenne
|
||||||
Moyenne : float
|
maximum
|
||||||
Maximum : int
|
minimum
|
||||||
Minimum : int
|
temperatureMoyenne
|
||||||
Temperature_moyenne : float
|
#athleteId
|
||||||
|
#sourceId
|
||||||
}
|
}
|
||||||
|
|
||||||
entity "FréquenceCardiaque" as fc {
|
entity "FréquenceCardiaque" as fc {
|
||||||
+ ID_FC : int
|
{static} idFc
|
||||||
--
|
altitude
|
||||||
Altitude : float
|
temps : time
|
||||||
Temps : time
|
température
|
||||||
Température : float
|
bpm
|
||||||
BPM : int
|
longitude:float
|
||||||
Longitude : float
|
latitude
|
||||||
Latitude : float
|
#activitéId
|
||||||
+ ID_Activité : int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
entity "Effectue" as effectue {
|
|
||||||
+ ID_Athlete : int
|
|
||||||
+ ID_Source : int
|
|
||||||
+ ID_Activity : int
|
|
||||||
--
|
|
||||||
}
|
}
|
||||||
}
|
activity --> athlete
|
||||||
|
activity --> source
|
||||||
athlete -- friendship
|
activity <-- fc
|
||||||
friendship -- athlete
|
coach --> athlete
|
||||||
notif -- athlete
|
athlete <-- source
|
||||||
coach -- athlete
|
stats --> athlete
|
||||||
stats -- athlete
|
takepart --> athlete
|
||||||
takepart -- athlete
|
takepart --> training
|
||||||
takepart -- training
|
friendship --> athlete
|
||||||
effectue -- athlete
|
notif --> athlete
|
||||||
effectue -- source
|
coach <-- training
|
||||||
effectue -- activity
|
athlete <-- friendship
|
||||||
activity -- fc
|
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in new issue