Changes between Version 3 and Version 4 of Conceptual Design – ER Diagram and Data Requirements
- Timestamp:
- 08/26/25 13:18:34 (7 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Conceptual Design – ER Diagram and Data Requirements
v3 v4 109 109 **''is_located_at''** – a relation which indicates that a restaurant is located at one location, and a location can have only 1 restaurant. 110 110 === 1:M === 111 * User → Address \\ 112 **''has''** – a relation which indicates that a user can have multiple addresses, and an address can belong to one user. 111 113 112 114 113 * Customer → Order \\ 115 114 **''has''** – a relation which indicates that a user can have multiple addresses, and an address can belong to one user. 116 115 === M:N === 116 * User ↔ User Adresses ↔ Address \\ 117 **Junction: ** User Adresses solves M:N of User and Address, by storing the composite key (user_id, address_id)\\ 118 119 **''has''** – relation between User and User Addresses where a user can have multiple addresses.\\ 120 121 **''belongs''** – relation between Address and User Addresses where an address can belong to multiple users.\\ 122 \\