Loading...
meta:
created_time int
updated_time int
deleted_time int
user:
user_id int
name string
email string
password string
last_login_time int
meta
car:
car_id int
owner_id int
car_type string ( different car may require different parking lot)
meta
parking_lot:
id int
location string
spots int
meta
parking_lot_spot
id int
parking_lot_id int
available bool
meta
parking_lot_support_cars:
id int
parking_lot_id int
support_car_types []string
meta
parking_event:
id int
parking_lot_id int
parking_spot_id int
transaction_id int
car_id int
user_id int
start_time int
end_time int
duration int
active bool
meta
transaction:
id int
user_id int
parking_event id
amount int
currency string
payment_id string ( third party service data)
meta