parent
d0763bd901
commit
a0cc1c51a7
@ -0,0 +1,62 @@
|
|||||||
|
```plantuml
|
||||||
|
@startuml
|
||||||
|
|
||||||
|
title MLD
|
||||||
|
|
||||||
|
object Bet {
|
||||||
|
<u>id</u>
|
||||||
|
theme
|
||||||
|
endRegistration
|
||||||
|
endBet
|
||||||
|
sentence
|
||||||
|
isPrivate
|
||||||
|
<i>#</i> createdBy
|
||||||
|
status
|
||||||
|
type
|
||||||
|
}
|
||||||
|
|
||||||
|
object BetResponse {
|
||||||
|
<u># betId</u>
|
||||||
|
response
|
||||||
|
}
|
||||||
|
|
||||||
|
object User {
|
||||||
|
<u>id</u>
|
||||||
|
username
|
||||||
|
password
|
||||||
|
coins
|
||||||
|
email
|
||||||
|
lastGift
|
||||||
|
}
|
||||||
|
|
||||||
|
object Participation {
|
||||||
|
<u>id</u>
|
||||||
|
<i>#</i> betId
|
||||||
|
<i>#</i> user
|
||||||
|
answer
|
||||||
|
stake
|
||||||
|
}
|
||||||
|
|
||||||
|
object BetResult {
|
||||||
|
<u># betId</u>
|
||||||
|
result
|
||||||
|
}
|
||||||
|
|
||||||
|
object BetResultNotification {
|
||||||
|
<u># betId</u>
|
||||||
|
<i>#</i> user
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Bet "*" -- "1" BetResponse : responses
|
||||||
|
Bet "1" -- "*" User : creator
|
||||||
|
|
||||||
|
Participation "1" -- "*" User : author
|
||||||
|
Participation "1" -- "*" Bet : participateTo
|
||||||
|
|
||||||
|
BetResult "1" -- "1" Bet
|
||||||
|
BetResultNotification "1" -- "*" Bet
|
||||||
|
BetResultNotification "1" -- "*" User
|
||||||
|
|
||||||
|
@enduml
|
||||||
|
```
|
Loading…
Reference in new issue