diff --git a/docs/design/README.md b/docs/design/README.md index 10acec5..b4036de 100644 --- a/docs/design/README.md +++ b/docs/design/README.md @@ -27,6 +27,13 @@ entity Question.text <> entity Responce entity Responce.value <> +entity Link +entity Link.usageLimit +entity Link.responceLimit +entity Link.uses +entity Link.responces +entity Link.path + Account.username --* Account Account.password --* Account @@ -35,6 +42,12 @@ Survey.duration --* Survey Survey.isPaused --* Survey Survey.isNamed --* Survey +Link.usageLimit -u-* Link +Link.responceLimit -u-* Link +Link.uses --* Link +Link.responces --* Link +Link.path -u-* Link + Responce.value -u-* Responce Question.text -u-* Question @@ -43,6 +56,7 @@ Account "1,1" -- "0,*" Survey Survey "1,1" -- "0,*" Question Question "1,1" -r- "0,*" Responce Account "0,1" -r- "0,*" Responce +Link "0,*" -- "1,1" Survey @enduml