Skip to content

SayantanD99/System-Design-Parking-Lot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

System-Design-Parking-Lot

This repository contains a simplified version of a parking lot system. It's designed to manage a multi-storey parking lot and keep track of all the parking spots.

Design a Parking Lot

Requirements :

  • The parking lot should have multiple floors where customers can park their cars.
  • The system should support parking for different types of vehicles like car, truck, van, motorcycle, etc.
  • Each parking floor will have many parking slots depending on type of the vehicle.
  • The parking lot should have multiple entry and exit points.
  • Customers can collect a parking ticket from the entry points and can pay the parking fee at the exit points on their way out.
  • System should check for slots available before allocating to a customer.
  • Ticket will be generate at the entry gate.
  • As soon as ticket is generated slot will also be assigned.
  • System should have a record of Entry / Exit Time and Gate Number.
  • Once a customer pays and leaves, the slot used should be made available to book for other customers.
  • System should support multiple payment options like UPI, Net Banking, Cash.
  • Parking fee has to be dynamic.
  • Slot Picking Algorithm can be configurable.

Class Diagram :

Parking Lot Class Diagram