Mise à jour de 'Diagramme de classes du domaine (client)'

master
Arthur VALIN 1 year ago
parent af63ad9e8b
commit 1407553f75

@ -36,8 +36,11 @@ package "Model" {
} }
class BetDetail class BetDetail
class BetResult { class BetResult {
-losings : Int? -result : String
-winnings : Int? }
class BetResultDetail {
amount: Int
won: Boolean
} }
class Participation { class Participation {
-response : String -response : String
@ -57,15 +60,18 @@ package "Model" {
Bet --> "1" User : author Bet --> "1" User : author
Participation ..> "1" Bet : String betId Participation ..> "1" Bet : betId: String
Participation --> "1" User : user Participation --> "1" User : user
BetDetail --> "1" Bet : bet BetDetail --> "1" Bet : bet
BetDetail --> "*" Participation : participations BetDetail --> "*" Participation : participations
BetDetail --> "*" AnswerDetail : answers BetDetail --> "*" AnswerDetail : answers
BetResult --> "1" Bet : bet BetResult ..> "1" Bet : betId: String
BetResult --> "1" Participation : userParticipation
BetResultDetail --> "1" BetResult : result
BetResultDetail --> "1" Bet : bet
BetResultDetail --> "1" Participation : participation
} }

Loading…
Cancel
Save