Database Design for Parking Lot(Garage)
7.1 User Table
The User table stores information about registered user who engage with the parking garage system. This table include fields:
User_id: Unique identifier for every user.
Username: User’s username for identity.
Email_address: User’s e-mail for communication.
Password: Securely hashed user password.
License_plate: User’s automobile registration data.
Created_date: Registration date of the user.
7.2 Reservation Table
The Reservation table includes data about parking area reservations made by user.
Reservation_id: Unique identifier for each reservation.
User_id: Id of the user making the reservation.
Parking_space_id: Id of the reserved parking space.
Reservation_time: Date and time of the reservation.
Duration: Duration of the reservation (start and end time).
7.3 Parking Space Table
The Parking Space table stores information of each parking area in the garage. This table include fields like :
Parking_space_id: Unique identifier for every parking space.
Availability_status: Indicates whether the parking space is available or occupied.
Location: Physical location of the parking area in the garage.
Type: Type of parking space (e.g., regular, reserved).
Rate: Cost related to parking in this area.
7.4 Payment Table
The Payment table stores data of payments made by customers for parking services. This table include fields like :
Payment_id: Unique identifier for every charge transaction.
User_id: Id of the user payment detail.
Reservation_id: Id of the associated reservation (if applicable).
Amount: Amount paid by the user.
Payment_date: Date and time of the payment.
7.5 Feedback Table
The Feedback table stores feedback detail which provided by end users. This table include fields like :
Feedback_id: Unique identifier for each feedback.
User_id: Id of the user offering feedback.
Reservation_id: Id of the associated reservation.
Rating: Numeric score given by customers.
Comments: Additional comments or feedback from the consumer.
Designing Parking Lot (Garage) System | System Design
Parking garage plays an important role in today’s world, as the number of vehicles is increasing every day, so it has become a major concern to manage them. The parking garage provides the solution to this problem of limited space. It offers to book a Parking garage using any method whether online or offline.
In this article, we will explore all the various components involved in designing a Parking Garage.
Important Topics for Designing Parking Lot (Garage) System
- Requirements for designing Parking Lot(Garage)
- Capacity Estimation for Parking Lot(Garage)
- Usecase Diagram for Parking Lot(Garage)
- Architecture of Parking Lot(Garage)
- Low-Level Design (LLD) for Parking Lot(Garage)
- High-Level Design (HLD) for Parking Lot(Garage)
- Database Design for Parking Lot(Garage)
- API Used for Parking Lot(Garage)
- API Code Implementation for Parking Lot(Garage)
- Microservices Used for Parking Lot(Garage)
- Scalability for Parking Lot(Garage)
- Conclusion