From 9b538c7d8e5b66bcb6509428c5240fc5ecb9e351 Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Tue, 30 Apr 2024 22:06:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=B0=D0=B14:=20=D0=B4=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?=D0=B2=20BE-=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/design/README.md | 86 +++++++++++++------------------------------ 1 file changed, 26 insertions(+), 60 deletions(-) diff --git a/docs/design/README.md b/docs/design/README.md index 4d91190..10acec5 100644 --- a/docs/design/README.md +++ b/docs/design/README.md @@ -1,11 +1,6 @@ -# Проєктування системи +# Проєктування бази даних - -Вбудовування зображень діаграм здійснюється з використанням сервісу [plantuml.com](https://plantuml.com/). - -В markdown-файлі використовується опис діаграми - -```md +## BE модель
> +entity Survey.duration <> +entity Survey.isPaused <> +entity Survey.isNamed <> -participant Service +entity Question +entity Question.text <> -Service -> SR : register -SR -> SR -SR --> Service -... +entity Responce +entity Responce.value <> -SR -> Service: heartbeat -SR <-- Service: health -... +Account.username --* Account +Account.password --* Account -Client -> SR: find -Client <-- SR: service endpoint -Client -> Service: request -Client <-- Service: response +Survey.name --* Survey +Survey.duration --* Survey +Survey.isPaused --* Survey +Survey.isNamed --* Survey +Responce.value -u-* Responce +Question.text -u-* Question -@enduml - -
-``` - -яка буде відображена наступним чином - -
- -@startuml - - @startuml - -participant Client - -participant SR as "Service Registry" - -participant Service - -Service -> SR : register -SR -> SR -SR --> Service -... - -SR -> Service: heartbeat -SR <-- Service: health -... - -Client -> SR: find -Client <-- SR: service endpoint -Client -> Service: request -Client <-- Service: response - - +Account "1,1" -- "0,*" Survey +Survey "1,1" -- "0,*" Question +Question "1,1" -r- "0,*" Responce +Account "0,1" -r- "0,*" Responce @enduml