Changes between Version 3 and Version 4 of ERModel


Ignore:
Timestamp:
12/11/25 00:32:39 (3 days ago)
Author:
213257
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ERModel

    v3 v4  
    1010
    1111* Candidate Keys:
    12 
    1312 * admin_id (Primary Key) - Artificially generated identifier
    1413
    1514* Attributes:
    16 
    1715 * admin_id (VARCHAR(36), required) - Automatically generated unique identifier for each admin. This attribute would be the primary key.
    1816 * name (VARCHAR(128), required) - Full name of the administrator. Must not be empty.
     
    2624
    2725* Candidate Keys:
    28 
    2926 * architect_id (Primary Key) - Artificially generated identifier
    3027
    3128* Attributes:
    32 
    3329 * architect_id (VARCHAR(36), required) - Automatically generated unique identifier for each architect. This attribute is the primary key.
    3430 * full_name (VARCHAR(128), required) - Architect's complete name or firm name. Must not be empty.
     
    4036
    4137* Candidate Keys:
    42 
    4338 * building_id (Primary Key) - Artificially generated identifier
    4439
    4540* Attributes:
    46 
    4741 * building_id (VARCHAR(36), required) - Automatically generated unique identifier for each building. This attribute is the primary key.
    4842 * name (VARCHAR(256), required) - Descriptive name for the building. Must not be empty.
     
    5549
    5650* Candidate Keys:
    57 
    5851 * floor_id (Primary Key) - Artificially generated identifier
    5952
    6053* Attributes:
    61 
    6254 * floor_id (VARCHAR(36), required) - Automatically generated unique identifier for each floor. This attribute is the primary key.
    6355 * floor_number (INTEGER, required, unique) - The numeric level of the floor within the building. Must be unique within a building.
     
    7062
    7163* Candidate Keys:
    72 
    7364 * unit_id (Primary Key) - Artificially generated identifier
    7465
    7566* Attributes:
    76 
    7767 * unit_id (VARCHAR(36), required) - Automatically generated unique identifier for each unit. This attribute is the primary key.
    7868 * unit_number (VARCHAR(64), required, unique) - Presentable identifier of the unit. Must be unique within a floor.
     
    9181
    9282* Candidate Keys:
    93 
    9483 * client_id (Primary Key) - Artificially generated identifier
    9584
    9685* Attributes:
    97 
    9886 * client_id (VARCHAR(36), required) - Automatically generated unique identifier for each client. This attribute is the primary key.
    9987 * name (VARCHAR(128), required) - The full name of the client as provided in inquiry or appointment forms. Must not be empty.
     
    10694
    10795* Candidate Keys:
    108 
    10996 * agent_id (Primary Key) - Artificially generated identifier
    11097
    11198* Attributes:
    112 
    11399 * agent_id (VARCHAR(36), required) - Automatically generated unique identifier for each agent. This entity is the primary key.
    114100 * name (VARCHAR(256), required) - Full name of the agent. Must not be empty.
     
    121107
    122108* Candidate Keys:
    123 
    124109 * inquiry_id (Primary Key) - Artificially generated identifier
    125110
    126111* Attributes:
    127 
    128112 * inquiry_id (VARCHAR(36), required) - Automatically generated unique identifier for each inquiry. This attribute is the primary key.
    129113 * message (TEXT, required) - The text content of the client's questions or detailed information that they request. Must not be empty.
     
    136120
    137121* Candidate Keys:
    138 
    139122 * appointment_id (Primary Key) - Artificially generated identifier
    140123
    141124* Attributes:
    142 
    143125 * appointment_id (VARCHAR(36), required) - Automatically generated unique identifier for each appointment. This attribute is the primary key.
    144126 * status (VARCHAR(32), required) - Current state of the appointment. Allowed values: "Scheduled", "Completed", "Cancelled". Default: "Scheduled".
     
    149131
    150132* Candidate Keys:
    151 
    152133 * timeslot_id (Primary Key) - Artificially generated identifier
    153134
    154135* Attributes:
    155 
    156136 * timeslot_id (VARCHAR(36), required) - Automatically generated unique identifier for each timeslot. This attribute is the primary key.
    157137 * date (DATE, required) - The calendar date for this timeslot. Format: DD-MM-YYYY. Must be today or in the future.