forked from janek/compareware
42 lines
497 B
Plaintext
42 lines
497 B
Plaintext
|
@startuml compareware-erd
|
||
|
skinparam linetype ortho
|
||
|
hide circle
|
||
|
left to right direction
|
||
|
'!theme sandstone
|
||
|
!theme blueprint
|
||
|
|
||
|
entity User {
|
||
|
Id: Autoumber
|
||
|
--
|
||
|
Name
|
||
|
Pass
|
||
|
}
|
||
|
|
||
|
entity Tag {
|
||
|
Id: Autoumber
|
||
|
--
|
||
|
Key: String
|
||
|
Value: String
|
||
|
}
|
||
|
|
||
|
entity Item {
|
||
|
WikidataId: String
|
||
|
--
|
||
|
}
|
||
|
|
||
|
entity Review {
|
||
|
Id: Autoumber
|
||
|
--
|
||
|
(FK) AuthorId
|
||
|
Text
|
||
|
}
|
||
|
|
||
|
|
||
|
User ||--o{ Review::AuthorId: Writes
|
||
|
Item --o{ Tag
|
||
|
Review --o{ Tag
|
||
|
Item }|--o{ Review
|
||
|
User }|--|{ User: Trusts
|
||
|
|
||
|
@enduml
|