diff --git a/Diagramme-de-classes-du-domaine-%28client%29.md b/Diagramme-de-classes-du-domaine-%28client%29.md index 6335930..fd4215f 100644 --- a/Diagramme-de-classes-du-domaine-%28client%29.md +++ b/Diagramme-de-classes-du-domaine-%28client%29.md @@ -7,10 +7,10 @@ title Modèle - Diagramme de classes package "Model" { class User { - +String id - +String username - +String email - +Int coins + -id : String + -username : String + -email : String + -coins : Int } enum BetStatus{ WAITING @@ -18,37 +18,37 @@ package "Model" { FINISHED } abstract class Bet { - +String id - +String theme - +String phrase - +Date endRegistration - +Date endBet - +Bool isPrivate - +BetStatus status + -id : String + -theme : String + -phrase : String + -endRegistration : Date + -endBet : Date + -isPrivate : Bool + -status : BetStatus } class YesNoBet class CustomBet { - +List possibleResponses + -possibleResponses : List } class MatchBet { - +String nameTeam1 - +String nameTeam2 + -nameTeam1 : String + -nameTeam2 : String } class BetDetail class BetResult { - +Int? losings - +Int? winnings + -losings : Int? + -winnings : Int? } class Participation { - +String response - +Int stake + -response : String + -stake : Int } class AnswerDetail { - +String response - +Int totalParticipants - +Int totalStakes - +Int highestStake - +Float odds + -response : String + -totalParticipants : Int + -totalStakes : Int + -highestStake : Int + -odds : Float } Bet <|-- YesNoBet