The Image Shows An Entity-Relationship Diagram (ERD) For A Parking Management System
The Image Shows An Entity-Relationship Diagram (ERD) For A Parking Management System
Entities (Tables):
Customer Details:
Stores information about customers, including
their ID, name, address, and mobile number.
Vehicle Details:
Stores information about vehicles, including their registration number, make, model,
type, and the customer they belong to.
Parking Slot:
Stores information about parking slots, including their ID, area name, total slots,
remaining slots, and the vehicle parked in them.
Receipt:
Stores information about receipts, including their ID, the customer they belong to, the
parking slot they are associated with, the transaction ID, and the in and exit times.
Transaction Details:
Stores information about transactions, including their ID, the customer they belong to,
the transaction status, and the amount paid.
Relationships:
Customer Details - Owns - Vehicle Details:
A one-to-many relationship, where a customer can own multiple vehicles.
Key Attributes:
Primary Keys:
Unique identifiers for each entity (e.g., Customer ID, Vehicle Reg. No, Parking Slot ID,
Receipt ID, Transaction ID).
Foreign Keys:
Attributes used to establish relationships between tables (e.g., Customer ID in Vehicle
Details, Parking Slot ID in Receipt, etc.).
In summary:
Address VARCHAR
Mobile No VARCHAR
In Time DATETIME
Amount DECIMAL