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

master
Emre KARTAL 1 year ago
parent 1dfc84a0fc
commit 93ecf1ac35

@ -7,10 +7,10 @@ title Modèle - Diagramme de classes
package "Model" { package "Model" {
class User { class User {
+String id -id : String
+String username -username : String
+String email -email : String
+Int coins -coins : Int
} }
enum BetStatus{ enum BetStatus{
WAITING WAITING
@ -18,37 +18,37 @@ package "Model" {
FINISHED FINISHED
} }
abstract class Bet { abstract class Bet {
+String id -id : String
+String theme -theme : String
+String phrase -phrase : String
+Date endRegistration -endRegistration : Date
+Date endBet -endBet : Date
+Bool isPrivate -isPrivate : Bool
+BetStatus status -status : BetStatus
} }
class YesNoBet class YesNoBet
class CustomBet { class CustomBet {
+List<String> possibleResponses -possibleResponses : List<String>
} }
class MatchBet { class MatchBet {
+String nameTeam1 -nameTeam1 : String
+String nameTeam2 -nameTeam2 : String
} }
class BetDetail class BetDetail
class BetResult { class BetResult {
+Int? losings -losings : Int?
+Int? winnings -winnings : Int?
} }
class Participation { class Participation {
+String response -response : String
+Int stake -stake : Int
} }
class AnswerDetail { class AnswerDetail {
+String response -response : String
+Int totalParticipants -totalParticipants : Int
+Int totalStakes -totalStakes : Int
+Int highestStake -highestStake : Int
+Float odds -odds : Float
} }
Bet <|-- YesNoBet Bet <|-- YesNoBet

Loading…
Cancel
Save