1
0
Fork 0
edu-dis-labs-bodnar/docs/design/README.md

53 lines
945 B
Markdown
Raw Normal View History

2024-04-30 22:06:45 +03:00
# Проєктування бази даних
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
## BE модель
2021-08-30 18:54:57 +03:00
<center style="
border-radius:4px;
border: 1px solid #cfd7e6;
box-shadow: 0 1px 3px 0 rgba(89,105,129,.05), 0 1px 1px 0 rgba(0,0,0,.025);
padding: 1em;"
>
@startuml
2024-04-30 22:06:45 +03:00
entity Account
entity Account.username <<TEXT>>
entity Account.password <<TEXT>>
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
entity Survey
entity Survey.name <<TEXT>>
entity Survey.duration <<TEXT>>
entity Survey.isPaused <<BOOLEAN>>
entity Survey.isNamed <<BOOLEAN>>
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
entity Question
entity Question.text <<TEXT>>
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
entity Responce
entity Responce.value <<TEXT>>
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
Account.username --* Account
Account.password --* Account
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
Survey.name --* Survey
Survey.duration --* Survey
Survey.isPaused --* Survey
Survey.isNamed --* Survey
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
Responce.value -u-* Responce
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
Question.text -u-* Question
2021-08-30 18:54:57 +03:00
2024-04-30 22:06:45 +03:00
Account "1,1" -- "0,*" Survey
Survey "1,1" -- "0,*" Question
Question "1,1" -r- "0,*" Responce
Account "0,1" -r- "0,*" Responce
2021-08-30 18:54:57 +03:00
@enduml
</center>