Changes between Version 12 and Version 13 of Conceptual Design – ER Diagram and Data Requirements


Ignore:
Timestamp:
08/26/25 14:48:27 (7 days ago)
Author:
221531
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Conceptual Design – ER Diagram and Data Requirements

    v12 v13  
    11
    22== ER Diagram
    3 [[Image(ticket:2:ER_Diagram.jpg​)]]
     3[[Image(ticket:3:FFFINAL.jpg​)]]
    44
    55== Data Requirements
     
    173173    **''is_part_of''** – relation between Ingredient and Item Ingredient, where an ingredient can belong to multiple items.\\
    174174\\
     175* Item ↔ Item Category ↔ Category\\
     176    **Junction: ** Item Category solves M:N relation of Item and Category, by storing the composite key (category_id, item_id)\\
     177
     178    **''belongs''** – relation between Item and Item Category where an item can belong to multiple categories.\\
     179
     180    **''has''** – relation between Category and Item Category, where a category can have multiple items.\\
     181\\
     182* Restaurant ↔ Restaurant Category ↔ Category\\
     183    **Junction: ** Restaurant Category solves M:N relation of Restaurant and Category, by storing the composite key (category_id, restaurant_id)\\
     184
     185    **''belongs''** – relation between Restaurant and Restaurant Category where a restaurant can belong to multiple categories.\\
     186
     187    **''has''** – relation between Category and Restaurant Category, where a category can have multiple restaurants.\\
     188\\
    175189* Order ↔ Delivery Man ↔ Restaurant \\
    176190    **Junction**: A ternary relationship exists because an Order links the Restaurant where it was placed and a Delivery Man who delivers it.\\