diff --git a/Diagramme-de-classes-du-domaine-%28client%29.md b/Diagramme-de-classes-du-domaine-%28client%29.md index fd4215f..94f97b9 100644 --- a/Diagramme-de-classes-du-domaine-%28client%29.md +++ b/Diagramme-de-classes-du-domaine-%28client%29.md @@ -36,8 +36,11 @@ package "Model" { } class BetDetail class BetResult { - -losings : Int? - -winnings : Int? + -result : String + } + class BetResultDetail { + amount: Int + won: Boolean } class Participation { -response : String @@ -57,15 +60,18 @@ package "Model" { Bet --> "1" User : author - Participation ..> "1" Bet : String betId + Participation ..> "1" Bet : betId: String Participation --> "1" User : user BetDetail --> "1" Bet : bet BetDetail --> "*" Participation : participations BetDetail --> "*" AnswerDetail : answers - BetResult --> "1" Bet : bet - BetResult --> "1" Participation : userParticipation + BetResult ..> "1" Bet : betId: String + + BetResultDetail --> "1" BetResult : result + BetResultDetail --> "1" Bet : bet + BetResultDetail --> "1" Participation : participation }