From 338678bd7400a64fd4839551671774a1d5c7b342 Mon Sep 17 00:00:00 2001 From: alejeune Date: Wed, 16 Nov 2022 09:39:15 +0100 Subject: [PATCH] je sais plus --- BDD.md | 15 ++++++++ DClass.uml | 2 + DComposite.uml | 98 ++++++++++++++++++++++++++++++++++++++++++++++++ DDeploiement.uml | 1 + 4 files changed, 116 insertions(+) create mode 100644 BDD.md create mode 100644 DComposite.uml create mode 100644 DDeploiement.uml diff --git a/BDD.md b/BDD.md new file mode 100644 index 0000000..6a66bb3 --- /dev/null +++ b/BDD.md @@ -0,0 +1,15 @@ +# Tables stockees en local + +## 1 table pour stocker les n autres user +| id | username | ip | port | connected +|---|---|---|---|---| +| ... | ... | ... | ... |... | + + +## n tables pour stocker les conversations avec chaque utilisatur +| idMessage | User | texte | sender | date/time | dfgh | +|---|---|---|---|---|---| +| ... | ... | ... | ... | ... |... | + +# Table stockee sur l'IdServer +stockage de l'id courant (pas besoin de db) \ No newline at end of file diff --git a/DClass.uml b/DClass.uml index e2f7c6a..7b0e8e2 100644 --- a/DClass.uml +++ b/DClass.uml @@ -64,6 +64,8 @@ package Model <> { user : User body : String date : Date + sender : Boolean /'1 si c'est le User de l'app le sender, 0 sinon'/ + id : Int } class ThreadList{ diff --git a/DComposite.uml b/DComposite.uml new file mode 100644 index 0000000..0576c72 --- /dev/null +++ b/DComposite.uml @@ -0,0 +1,98 @@ +/' Faire des compositions, par exmple poour la vue Raph il comprend '/ + + +/' Remplacer les classes par des boites '/ +@startuml + +class PannelPrincipale { + +} + +class ListUsers { + +} + +class SelfProfil { + +} + +class Chat { + +} + +class Menu { + +} + +PannelPrincipale *-- ListUsers +PannelPrincipale *-- SelfProfil +PannelPrincipale *-- Chat +PannelPrincipale *-- Menu + +Class ButtonEditName { + +} + +Class Avatar { + +} + +Class UserName { + +} + +SelfProfil *-- ButtonEditName +SelfProfil *-- Avatar +SelfProfil *-- UserName + +class Status { + +} + +ListUsers *-- Avatar +ListUsers *-- UserName +ListUsers *-- Status + +class Message { + +} + +class WindowSendMessage { + +} + +Chat *-- Message +Chat *-- WindowSendMessage + +class Text { + +} + +class Time { + +} + +Message *-- Avatar +Message *-- Text +Message *-- User +Message *-- Time + +class SendMessage{ + +} + +class SendFile { + +} + +class SendIcon { + +} + +WindowSendMessage *-- SendMessage +WindowSendMessage *-- SendFile +WindowSendMessage *-- SendIcon + + + +@enduml \ No newline at end of file diff --git a/DDeploiement.uml b/DDeploiement.uml new file mode 100644 index 0000000..08a5be0 --- /dev/null +++ b/DDeploiement.uml @@ -0,0 +1 @@ +/' Faire des cubes et des liaisons entre les infrastructures '/ \ No newline at end of file