|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|