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
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
}
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
Loading…
Cancel
Save