Loading docs/entity_relationship_diagram.png 0 → 100644 +21.7 KiB Loading image diff... docs/entity_relationship_diagram.puml 0 → 100644 +37 −0 Original line number Diff line number Diff line @startuml entity menu_item as "Menu Item" { * **ID**: int <<PK>> -- * name: str * description: str * price: int } entity customer as "Customer" { * **ID**: int <<PK>> -- * email: str * password_hash: bytes } entity order as "Order" { * **ID**: int <<PK>> -- * status: str * time_created: int * **customer_id**: int <<FK>> } entity restaurant as "Restaurant" { * **ID**: int <<PK>> -- * description: str } order }o--|{ menu_item customer ||--o{ order restaurant ||--o{ order restaurant ||--o{ menu_item @enduml docs/order_system.png→docs/use_case_diagram.png (53.9 KiB) File moved. View file Loading
docs/entity_relationship_diagram.puml 0 → 100644 +37 −0 Original line number Diff line number Diff line @startuml entity menu_item as "Menu Item" { * **ID**: int <<PK>> -- * name: str * description: str * price: int } entity customer as "Customer" { * **ID**: int <<PK>> -- * email: str * password_hash: bytes } entity order as "Order" { * **ID**: int <<PK>> -- * status: str * time_created: int * **customer_id**: int <<FK>> } entity restaurant as "Restaurant" { * **ID**: int <<PK>> -- * description: str } order }o--|{ menu_item customer ||--o{ order restaurant ||--o{ order restaurant ||--o{ menu_item @enduml