Changes between Version 3 and Version 4 of Conceptual Design – ER Diagram and Data Requirements


Ignore:
Timestamp:
08/26/25 13:18:34 (7 days ago)
Author:
221531
Comment:

--

Legend:

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

    v3 v4  
    109109    **''is_located_at''** – a relation which indicates that a restaurant is located at one location, and a location can have only 1 restaurant.
    110110=== 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
    113112
    114113* Customer → Order  \\
    115114    **''has''** – a relation which indicates that a user can have multiple addresses, and an address can belong to one user.
    116115=== 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\\