From a0cc1c51a769e4bf9d7d7347780aadf19a933dd0 Mon Sep 17 00:00:00 2001 From: Arthur VALIN Date: Wed, 7 Feb 2024 22:45:52 +0100 Subject: [PATCH] =?UTF-8?q?Ajouter=20'Mod=C3=A8le=20logique=20de=20donn?= =?UTF-8?q?=C3=A9es'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mod%C3%A8le-logique-de-donn%C3%A9es.md | 62 ++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Mod%C3%A8le-logique-de-donn%C3%A9es.md diff --git a/Mod%C3%A8le-logique-de-donn%C3%A9es.md b/Mod%C3%A8le-logique-de-donn%C3%A9es.md new file mode 100644 index 0000000..8b66094 --- /dev/null +++ b/Mod%C3%A8le-logique-de-donn%C3%A9es.md @@ -0,0 +1,62 @@ +```plantuml +@startuml + +title MLD + +object Bet { + id + theme + endRegistration + endBet + sentence + isPrivate + # createdBy + status + type +} + +object BetResponse { + # betId + response +} + +object User { + id + username + password + coins + email + lastGift +} + +object Participation { + id + # betId + # user + answer + stake +} + +object BetResult { + # betId + result +} + +object BetResultNotification { + # betId + # 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 +``` \ No newline at end of file