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

53 lines
945 B
Markdown

# Проєктування бази даних
## BE модель
<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
entity Account
entity Account.username <<TEXT>>
entity Account.password <<TEXT>>
entity Survey
entity Survey.name <<TEXT>>
entity Survey.duration <<TEXT>>
entity Survey.isPaused <<BOOLEAN>>
entity Survey.isNamed <<BOOLEAN>>
entity Question
entity Question.text <<TEXT>>
entity Responce
entity Responce.value <<TEXT>>
Account.username --* Account
Account.password --* Account
Survey.name --* Survey
Survey.duration --* Survey
Survey.isPaused --* Survey
Survey.isNamed --* Survey
Responce.value -u-* Responce
Question.text -u-* Question
Account "1,1" -- "0,*" Survey
Survey "1,1" -- "0,*" Question
Question "1,1" -r- "0,*" Responce
Account "0,1" -r- "0,*" Responce
@enduml
</center>