1
0
Fork 0
compareware/compareware-erd.plantuml

48 lines
644 B
Plaintext
Raw Normal View History

2024-04-10 12:20:54 +00:00
@startuml compareware-erd
skinparam linetype ortho
hide circle
left to right direction
'!theme sandstone
!theme blueprint
entity User {
Id: Autoumber
--
2024-04-10 13:33:55 +00:00
(UNIQUE) Name: String
Pass: String
2024-04-10 12:20:54 +00:00
}
entity Item {
WikidataId: String
--
}
entity Review {
Id: Autoumber
--
(FK) AuthorId
2024-04-10 13:33:55 +00:00
Text: String
}
entity ItemTag {
Id: Autoumber
--
(INDEX) Key: String
Value: String
2024-04-10 12:20:54 +00:00
}
2024-04-10 13:33:55 +00:00
entity ReviewTag {
Id: Autoumber
--
(INDEX) Key: String
Value: String
}
2024-04-10 12:20:54 +00:00
User ||--o{ Review::AuthorId: Writes
2024-04-10 13:33:55 +00:00
Item ||--o{ ItemTag
Review ||--o{ ReviewTag
2024-04-10 12:20:54 +00:00
Item }|--o{ Review
User }|--|{ User: Trusts
@enduml