DBMS ServiceBased Application
DBMS ServiceBased Application
BSS10000 service_selection_id PK
category
OFFER
BSO10000 offer_id PK
offer_details
service_id FK
SCHEDULE_APPOINTMEN
BSS20000 Sschedule_app_id PK
user_id
selected_package_id FK
address
time_slot
payment_method
STAYS
BSS30000 stay_id PK
stay_name
location
category
price
rating
total_rooms
available_rooms
FLIGHT_HOTEL_PACKAGE
BSF10000 flight_hotel_package_id PK
departure_airport FK
date_time FK
travellers
flight_class
package_price
destination
PROPERTIES
BSP10000 property_id PK
owner_id FK
property_name
address
facilities
price_per_night
USER
BSU10000 user_id PK
name
email
phone
password_hash
DRIVERS
BSD10000 driver_id PK
name
phone
vehicle_id FK
rating
license_no
BOOKING_HISTORY
BSB10000 booking_history_id PK
user_id FK
ride_id FK
rental_id FK
booking_status
BOOKING_SECTION
BSB11000 booking_id PK
pickup_location
drop_location
phone_number
shifting_date
time_slot
price
BOOKING_SERVICES
BSB20000 booking_id FK
service_id FK
SERVICE_SELECTION
VARCHAR(10)
varchar(20)
OFFER
VARCHAR(10)
VARCHAR(100)
VARCHAR(10)
CHEDULE_APPOINTMENT
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
VARCHAR(100)
DATETIME
VARCHAR(10)
STAYS
VARCHAR(10)
varchar(20)
VARCHAR(60)
ENUM
DECIMAL(10,2)
FLOAT
INT
BOOLEAN
LIGHT_HOTEL_PACKAGES
VARCHAR(10)
VARCHAR(20)
DATETIME
INT
ENUM
DECIMAL(10,2)
VARCHAR(20)
PROPERTIES
VARCHAR(10)
VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
VARCHAR(100)
DECIMAL(10,2)
USER
VARCHAR(10)
varchar(20)
VARCHAR(60)
VARCHAR(15)
VARCHAR(100)
DRIVERS
VARCHAR(10)
VARCHAR(20)
VARCHAR(15)
VARCHAR(10)
FLOAT
VARCHAR(50)
BOOKING_HISTORY
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
ENUM
BOOKING_SECTION
VARCHAR(10)
varchar(20)
VARCHAR(60)
VARCHAR(15)
DATE
VARCHAR(50)
DECIMAL(10,2)
BOOKING_SERVICES
VARCHAR(10)
VARCHAR(10)
Unique identifier for each service selection record.
The category of the service selected (e.g., 'Cleaning', 'Delivery').
BSS50000 subcategory_id
service_selection_id
subcategory_name
MOS
BSM10000 most_booked_service_id
browser_service_id
service_name
BSC50000 cart_id
user_id
selected_package_id
total_price
discount_code
option_id
HOM
BSH10000 home_service_id
service_name
BSB30000 booking_id
user_id
selected_package_id
address
time_slot
payment_method
status
BSS40000 booking_id
user_id
stay_id
checkin_date
checkout_date
adults
children
total_price
payment_id
status
BSC40000 car_rent_id
car_type
pickup_location
rental_price
rental_company
rating
availability
price_per_day
BSC30000 currencies_id
currency_code
currency_name
BSR20000 ride_booking_id
user_id
pickup_location
drop_location
booking_time
ride_status
schedule_date
price
driver_id
payment_id
BSR10000 ride_fare_id
ride_id
base_fare
user_offer
final_fare
status
CU
BSC20000 customer_support_id
user_id
support_type
query
response
status
SE
BSS30000 service_id
service_name
description
BOOKING
BSB20000 booking_id
service_id
BSP20000 play_id
title
location
play_date
play_time
available_seats
CO
BSC10000 corporate_offer_id
company_name
offer_details
validity_date
SUB_CATEGORIES
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(20)
MOST_BOOKED_SERVICES
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(20)
CART
PK VARCHAR(10)
FK VARCHAR(10)
FK VARCHAR(10)
DECIMAL(10,2)
VARCHAR(50)
FK VARCHAR(10)
HOME_OFFICE_SERVICES
PK VARCHAR(10)
varchar(20)
BOOKING
PK VARCHAR(10)
VARCHAR(20)
FK VARCHAR(20)
VARCHAR(100)
DATETIME
VARCHAR(50)
ENUM
STAY_BOOKINGS
PK VARCHAR(10)
FK VARCHAR(10)
FK VARCHAR(10)
DATE
DATE
INT
INT
DECIMAL(10,2)
FK VARCHAR(10)
ENUM
CAR_RENTALS
PK VARCHAR(10)
FK ENUM
FK VARCHAR(10)
DECIMAL(10,2)
VARCHAR(50)
FLOAT
ENUM
DECIMAL(10,2)
CURRENCIES
PK VARCHAR(10)
VARCHAR(10)
VARCHAR(20)
RIDE_BOOKING
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(100)
VARCHAR(100)
TIMESTAMP
ENUM
DATE
DECIMAL(10,2)
FK VARCHAR(10)
FK VARCHAR(10)
RIDE_FARES
PK VARCHAR(10)
FK VARCHAR(10)
FK DECIMAL(10,2)
DECIMAL(10,2)
DECIMAL(10,2)
ENUM
CUSTOMER_SUPPORT
PK VARCHAR(10)
FK VARCHAR(10)
ENUM
VARCHAR(100)
VARCHAR(100)
ENUM
SERVICE_OVERVIEW
PK VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
BOOKING_VALUE_ADDED_SERVICES
FK VARCHAR(10)
FK VARCHAR(10)
USER
PLAYS
PK VARCHAR(10)
VARCHAR(20)
VARCHAR(50)
DATE
TIME
INT
CORPORATE_OFFERS
PK VARCHAR(10)
FK VARCHAR(20)
FK VARCHAR(100)
DATE
Unique identifier for each subcategory.
Refers to the service_selection_id from the SERVICE_SELECTION table.
The name of the subcategory (e.g., 'Basic Cleaning', 'Deep Cleaning').
BSP30000
BSC60000
BSS70000
BSF20000
BSC80000
BSP40000
BSR20000
BSR30000
BSV20000
BSB40000
BSC90000
BSM20000
BSS80000
BSG10000
SERVICES
service_id PK
subcategory_id FK
service_name
rating
desc
image
PACKAGE_SERVICE
package_id PK
package_name
subcategory_id FK
CART_ITEM
cart_item_id PK
cart_id FK
service_id FK
quantity
price
SERVICE_SELECTION
subcatservice_selection_PK
category
CART
FIGHTS
flight_id PK
airline FK
flight_number
departure_city
arrival_city
departure_time
arrival_time
stops
price
baggage_info
fare_rules
flight_type
CAR_RENTAL_BOOKINGS
booking_id PK
user_id FK
rental_id
pickup_location
dropoff_location
start_date
end_date
price
payment_id FK
status
PAYMENT
payment_id PK
user_id FK
payment_method
payment_status
transaction_id
cart_id fk
payment_date
amount
RENTALS
rental_id PK
user_id FK
vehicle_id FK
rental_duration
rental_price
rental_status
RIDE_INSURANCE
ride_insurance_id PK
ride_id FK
insurance_price
insurance_provider
VALUE_ADDED_SERVICES
service_id PK
service_name FK
details
BOOKING_OTHER_SERVICES
booking_id FK
service_id FK
CUSTOMER_TESTIMONIALS
customer_test_id PK
user_id FK
rating
video_url
review
booking_id
MOVIES
movie_id PK
title
genre
language
duration
release_date
status
SPORT_EVENTS
sport_event_id PK
title
sport_type
location
event_date
event_time
available_seats
GIFT_CARDS
gift_card_id PK
user_id FK
card_code
amount
expiry_date
PERSONAL CARE
CES
VARCHAR(10)
VARCHAR(10)
VARCHAR(20)
FLOAT
VARCHAR(100)
BLOB
SERVICE
VARCHAR(10)
VARCHAR(20)
VARCHAR(10)
TEM
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
INT
DECIMAL(!0,2)
LECTION
VARCHAR(10)
VARCHAR(10)
CART
TS
VARCHAR(10)
VARCHAR(50)
VARCHAR(50)
VARCHAR(50)
VARCHAR(50)
DATETIME
DATETIME
ENUM
DECIMAL(10,2)
VARCHAR(100)
VARCHAR(100)
ENUM
BOOKINGS
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
VARCHAR(100)
VARCHAR(100)
DATETIME
DATETIME
DECIMAL(10,2)
VARCHAR(10,2)
ENUM
ENT
VARCHAR(10)
VARCHAR(10)
ENUM
ENUM
VARCHAR(50)
VARCHAR(10)
DATE
DECIMAL(10,2)
INTERCIT
ALS
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
INT
DECIMAL(10,2)
ENUM
RANCE
VARCHAR(10)
VARCHAR(10)
DECIMAL(10,2)
VARCHAR(100)
HOME SHIFT
D_SERVICES
VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
ER_SERVICES
VARCHAR(10)
VARCHAR(10)
STIMONIALS
VARCHAR(10)
VARCHAR(10)
FLOAT
VARCHAR(100)
VARCHAR(100)
VARCHAR(10)
ES
VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
VARCHAR(100)
INT
DATE
ENUM
VENTS
VARCHAR(10)
VARCHAR(20)
VARCHAR(50)
VARCHAR(50)
DATE
TIME
INT
ARDS
VARCHAR(10)
VARCHAR(10)
VARCHAR(50)
DECIMAL(10,2)
DATE
PERSONAL CARE SERVICES
INTERCITY
BSS11000
BSP60000
BST10000
BSC90000
BSV40000
BSP80000
BSP50000
BSH20000
BSV30000
BSA10000
PAYMENT
USER
user_id PK
name
email
phone
password_hash
SERVICES
service_id PK
service_selection_id FK
service_name
rating
desc
image
price
PAYMENT
PRICE_ALERTS
price_alert_id PK
user_id FK
flight_id FK
alert_price
TAXIS
taxi_id PK
driver_name
vehicle_type
price_per_km
CART_T
cart_id PK
user_id FK
item_type
item_id
quantity
VEHICLES
vehicle_id PK
vehicle_type
price_per_km
availability_status
PAYMENT_S
payment_id PK
user_id FK
ride_id FK
rental_id FK
PAYMENT_HISTORY
history_id PK
payment_id FK
receipt_url
OTHER_SERVICES
service_id PK
service_name FK
details
VALUE_ADDED_SERVICES
value_added_service_id PK
service_name
details
SHOW_TIME
show_time_id PK
movie_id FK
theater_name
location
show_date
show_time
available_seats
ACTIVITIES
activity_id PK
title
activity_type
location
activity_date
activity_time
PAYMENT
VARCHAR(10)
varchar(20)
VARCHAR(60)
VARCHAR(15)
VARCHAR(100)
VARCHAR(10)
VARCHAR(10)
VARCHAR(20)
FLOAT
VARCHAR(100)
BLOB
DECIMAL
PAYMENT
TS
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
DECIMAL(10,2)
VARCHAR(10)
VARCHAR(50)
ENUM
DECIMAL(10,2)
CART_T
VARCHAR(10)
VARCHAR(10)
ENUM
INT
INT
VARCHAR(10)
ENUM
DECIMAL(10,2)
ENUM
S
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
TORY
VARCHAR(10)
VARCHAR(10)
VARCHAR(100)
ICES
VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
ERVICES
VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
ME
VARCHAR(10)
VARCHAR(10)
VARCHAR(50)
VARCHAR(50)
DATE
TIME
INT
S
VARCHAR(10)
VARCHAR(20)
ENUM
VARCHAR(50)
DATE
TIME
T
RATING
BSR40000 rating_id
user_id
service_id
rating
review
USER
TAXI_BOOKING
BBR0001 booking_id
user_id
taxi_id
pickup_location
dropoff_location
estimated_price
payment_id
status
CUSTOMER_SERVICE
BBR0001 customer_service_id
support_type
faq
contact_details
RIDE_VEHICLE
BBR0001 ride_vehicle_id
ride_id
vehicle_id
COUPONS
BBR0001 cupons_id
coupon_code
discount_percentage
expiry_date
STREMING
BSS1400 streming_id
title
genre
language
release_date
type
BSB50000 booking_id
user_id
type
reference_id
seats_booked
total_price
booking_status
SERVICE_CATEGORIES
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(30)
RATING
PK VARCHAR(10)
FK VARCHAR(10)
FK VARCHAR(10)
INT
VARCHAR(100)
USER
TAXI_BOOKING
PK VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
VARCHAR(100)
VARCHAR(100)
DECIMAL(!0,2)
FK VARCHAR(10)
ENUM
CUSTOMER_SERVICE
PK VARCHAR(10)
ENUM
VARCHAR(50)
VARCHAR(50)
RIDE_VEHICLE
PK VARCHAR(10)
FK VARCHAR(10)
FK VARCHAR(10)
COUPONS
PK VARCHAR(10)
VARCHAR(50)
DECIMAL(10,2)
DATE
STREMING
PK VARCHAR(10)
VARCHAR(20)
VARCHAR(100)
VARCHAR(40)
DATE
ENUM
BOOKINGS
PK VARCHAR(10)
FK VARCHAR(10)
ENUM
INT
INT
DECIMAL(10,2)
ENUM
Unique identifier for each service category.
Links the category to a specific service.
Name of the service category (e.g., Cleaning, Repair, Transport).
Unique identifier for each rating entry.
Identifies the user who provided the rating.
Links the rating to a specific service.
Rating given by the user (1 to 5 scale).
Optional user feedback or comments on the service.
BSS13000 option_id
service_id
option_name
price
ATTRACTIONS
BSA20000 attractin_id
attraction_name
location
category
event_time
price
ATTRACTION_BOOKINGS
BSA30000 booking_id
user_id
attraction_id
adults
children
price
payment_id
status
PAYMENTS
EVENTS
BSE10000 event_id
title
event_type
location
event_date
event_time
available_seats
OFFERS
BSO20000 offer_id
offer_name
discount_percentage
expiry_date
category_id
USER
SERVICE_OPTIONS
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(30)
DECIMAL(10,2)
ATTRACTIONS
PK VARCHAR(10)
VARCHAR(10)
VARCHAR(50)
ENUM
TIME
DECIMAL(10,2)
ATTRACTION_BOOKINGS
PK VARCHAR(10)
FK VARCHAR(10)
FK VARCHAR(10)
INT
INT
DECIMAL(10,2)
FK VARCHAR(10)
ENUM
PAYMENTS
EVENTS
PK VARCHAR(10)
VARCHAR(20)
ENUM
VARCHAR(40)
DATE
TIME
INT
OFFERS
PK VARCHAR(10)
VARCHAR(30)
DECIMAL(10,2)
DATE
FK VARCHAR(10)
Unique identifier for each service option.
Links the option to a specific service.
Name of the service option (e.g., "Basic Package", "Premium Package").
Price of the service option with two decimal precision.
PRICE_ALERTS
alert_id PK VARCHAR(10)
user_id FK VARCHAR(10)
flight_id FK VARCHAR(10)
target_price DECIMAL(10,2)
alert_status ENUM
Unique identifier for each coupon.
The unique code that users apply for a discount.
Discount percentage offered by the coupon.
The date after which the coupon is no longer valid.
Unique identifier for each price alert.
Identifies the user who set the alert.
Links the alert to a specific flight.
The price at which the user wants to be notified.
Status of the price alert.
PROFILE
BSP90000 profile_id PK VARCHAR(10)
full_name VARCHAR(50)
mobile_no VARCHAR(15)
email DECIMAL(10,2)
gender ENUM
dob DATE
profile_photo BLOB
SELF_DECLARATION
BSS15000 declaration_id PK VARCHAR(10)
profile_id FK VARCHAR(10)
is_checked BOOLEAN
ACCOUNT_VERIFICATION
BSA40000 verification_id PK VARCHAR(10)
profile_id FK VARCHAR(10)
status ENUM
JOBS
BSJ10000 job_id PK VARCHAR(10)
profile_id FK VARCHAR(10)
job_type VARCHAR(50)
work_status ENUM
search_query ENUM
filter_criteria ENUM
PRIMARY KEY
NOT NULL,UNIQUE
NOT NULL,UNIQUE
NOT NULL
NOT NULL
NOT NULL
PRIMARY KEY
FORIGN KEY(PROFILE)
NOT NULL
N
PRIMARY KEY
FORIGN KEY(PROFILE)
NOT NULL
PRIMARY KEY
FORIGN KEY(PROFILE)
NOT NULL
NOT NULL
NOT NULL
NOT NULL
Unique identifier for each profile.
Full name of the user.
Mobile number of the user, which must be unique and cannot be null.
Email of the user, which must be unique and cannot be null.
Gender of the user (e.g., 'Male', 'Female').
Date of birth of the user.
Profile photo of the user (optional).
pan_or_adhar
identity_proof
form_files
GUIDE
BSG20000 guide_id
profile_id
instructions_images
instructions_video
EXPERIENCE
BSE20000 experience_id
profile_id
years_experience
previous_work_org_name
previous_work_details
MONRY
BSM30000 money_id
profile_id
earnings
bank_transfer_status
wallet_balance
ONBORDING_DOCUMENTS
PK VARCHAR(10) PRIMARY KEY
FK VARCHAR(10) FORIGN KEY(PROFILE)
EXPERIENCE
PK VARCHAR(10) PRIMARY KEY
FK VARCHAR(10) FORIGN KEY(PROFILE)
INT NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(200) NOT NULL
MONRY
PK VARCHAR(10) PRIMARY KEY
FK VARCHAR(10) FORIGN KEY(PROFILE)
DECIMAL(10,2) NOT NULL
ENUM NOT NULL
DECIMAL(10,2) NOT NULL
Unique identifier for each document.
Refers to the profile_id from the PROFILE table.
BANK_DETAILS
BSB60000 bank_details_id PK VARCHAR(10) PRIMARY KEY
profile_id FK VARCHAR(10) FORIGN KEY(PROFILE)
bank_name VARCHAR(50) NOT NULL
account_no VARCHAR(50) NOT NULL , UNOQUE
branch_name VARCHAR(30) NOT NULL
ifsc_code VARCHAR(20) NOT NULL
upi_id VARCHAR(50) NOT NULL, UNIQUE
HOME
BSH30000 booking_id PK VARCHAR(10) PRIMARY KEY
profile_id FK VARCHAR(10) FORIGN KEY(PROFILE)
work_type VARCHAR(50) NOT NULL
num_orders INT NOT NULL
num_hours INT NOT NULL
confirmation BOOLEN NOT NULL
DATE DATE NOT NULL
TIME TIMESTAMP NOT NULL
Unique identifier for each address record.
Refers to the profile_id from the PROFILE table.
The current location (e.g., 'Home', 'Office') of the user.
The complete address of the user, which must be unique.
The first line of the address (e.g., street name).
The second line of the address (e.g., apartment number).
Postal code of the address.
The state of the address.
The city of the address.
USER_PLANS
BSU70000 user_plan_id PK VARCHAR(10)
user_id FK VARCHAR(10)
start_date DATE
end_date DATE
plan_id FK
SERVICE_CATEGOIES
BSS18000 category_id PK VARCHAR(10)
category_name VARCHAR(60)
BOOKING
BSB80000 booking_id PK VARCHAR(10)
user_id FK VARCHAR(10)
service_id FK VARCHAR(10)
status ENUM
PAYMENT_MODES
BSP11000 mode_id PK VARCHAR(10)
mode_name ENUM
REPORTS
BSR50000 report_id PK VARCHAR(10)
report_name VARCHAR(20)
report_type ENUM
generated_at TIMESTAMP
NOTIFICATIONS
BSN10000 notification_id PK VARCHAR(10)
user_id FK VARCHAR(10)
message VARCHAR(250)
type ENUM
sent_at TIMESTAMP
ACTIVITY_LOGS
BSA60000 log_id PK VARCHAR(10)
user_id FK VARCHAR(20)
action VARCHAR(100)
timestamp_log TIMESTAMP
USERS
PRIMARY KEY NOT NULL, UNIQUE
NOT NULL
NOT NULL, UNIQUE
NOT NULL, UNIQUE
FORIGN KEY(PROFILES) NOT NULL
USER_PLANS
PRIMARY KEY NOT NULL, UNIQUE
FORIGN KEY(USERS) NOT NULL
NOT NULL, UNIQUE
NOT NULL, UNIQUE
FORIGN KEY(SUBSCRIPTION_PLAN) NOT NULL
SERVICE_CATEGOIES
PRIMARY KEY NOT NULL, UNIQUE
NOT NULL
BOOKING
PRIMARY KEY NOT NULL, UNIQUE
FORIGN KEY(USERS) NOT NULL
FORIGN KEY(SERVICES) NOT NULL, UNIQUE
NOT NULL
PAYMENT_MODES
PRIMARY KEY NOT NULL, UNIQUE
NOT NULL
REPORTS
PRIMARY KEY NOT NULL, UNIQUE
NOT NULL
NOT NULL
NOT NULL
NOTIFICATIONS
PRIMARY KEY NOT NULL, UNIQUE
PRIMARY KEY(USERS) NOT NULL
NOT NULL
NOT NULL
NOT NULL
ACTIVITY_LOGS
PRIMARY KEY NOT NULL, UNIQUE
PRIMARY KEY(USERS) NOT NULL
NOT NULL
DEFAULT CURRENT_TIMESTAMP
Unique identifier for each user. BSP14000
The name of the user.
The email address of the user.
The user's password.
The ID linking the user to a profile.
SUBSCRIPTION_PLAN
plan_id PK VARCHAR(10) PRIMARY KEY
plan_name VARCHAR(50) NOT NULL
status BOOLEAN NOT NULL
S
SERVICES
service_id PK VARCHAR(10) PRIMARY KEY
service_name VARCHAR(50) NOT NULL
category_id VARCHAR(10) FIORIGN KEY(SERVICE_CATEGORIES)
PA
PAYMENTS
payment_id PK VARCHAR(10) PRIMARY KEY
user_id FK VARCHAR(10) FORIGN KEY(USERS)
booking_id FK VARCHAR(10) FORIGN KEY(BOOKINGS)
mode_id FK VARCHAR(10) FORIGN KEY(PAYMENT_MODES)
amount DECIMAL(10,2)
payment_status ENUM
R
REVENUE_TRACKING
revenue_id PK VARCHAR(10) PRIMARY KEY
month INT
year INT
total_revenue DECIMAL(10,2)
report_id FK VARCHAR(10) FORIGN KEY(REPORTS)
PERMISSIONS
permission_id PK VARCHAR(10) PRIMARY KEY
user_id VARCHAR(10) FORIGN KEY(USERS)
access_level ENUM
USER MANAGEMENT
SUBSCRIPTION PLAN
SERVICE MANAGEMENT
STATUS TRACKING
PAYMENT MANAGEMENT
NOTIFICATIONS
PLAN
EMENT
KING
GEMENT
SIGHTS
ONS
LOGS
SERVICE_ASSIGNMENTS
assignment_id PK VARCHAR(10) PRIMARY KEY
service_id FK VARCHAR(10) PRIMARY KEY(SERVICES)
user_id FK VARCHAR(10) PRIMARY KEY(USERS)
assignment_type ENUM
NOT NULL, UNIQUE Unique identifier for each authentication record.
NOT NULL Refers to the user_id from the USERS table.
NOT NULL Indicates whether two-factor authentication is enabled (true or false).
CITY
BSC12000 city_id PK VARCHAR(10)
city_name VARCHAR(20)
state_id FK VARCHAR(10)
NOT NULL, UNIQUE
NOT NULL
A unique identifier for each city, auto-incrementing for each new entry.
Name of the city, limited to 20 characters.
References state_id from the STATE table to associate the city with a state.
BUSINE
BSB90000 business_id
business_name
OWNER_DE
BSO4000 owner_id
user_id
mobile_no
email
address
owner_full_name
owner_mobile_no
owner_email
SERVICE_CAT
BSS23000 category_id
category_name
WORK_ST
BSW10000 status_id
work_id
status
SERVICE_CAT
CUSTOMER_LO
BSC13000 location_id
work_id
latitude
longitude
manual_address
map_link
HOTE
BSH4000 hotel_id
hotel_name
address
manual_address
state
city
map_link
ROOM
BSR80000 room_id
hotel_id
subcategory_id
room_name
price
availability_status
BUS_CATE
BSS11000 category_id
category_name
PAYME
BSP150000 payment_id
booking_id
booking_type
amount
payment_method
payment_status
STATE
STATE
STATE
EVENT
BSE30000 event_id
event_name
theater_id
date
time
price
MOVI
BSM40000 movie_id
subcategory_id
movie_name
theater_id
date
time
price
BUSINESS
PK VARCHAR(10)
varchar(20)
OWNER_DETAILS
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(20)
VARCHAR(20)
VARCHAR(20)
VARCHAR(20)
VARCHAR(15)
VARCHAR(20)
SERVICE_CATEGORY
PK VARCHAR(10)
VARCHAR(20)
WORK_STATUS
PK VARCHAR(10)
FK VARCHAR(10)
ENUM
SERVICE_CATEGORY
CUSTOMER_LOCATION
PK VARCHAR(10)
FK VARCHAR(10)
DECIMAL(10,2)
DECIMAL(10,2)
VARCHAR(100)
VARCHAR(500)
HOTEL
PK VARCHAR(10)
VARCHAR(20)
VARCHAR(20)
VARCHAR(20)
VARCHAR(20)
VARCHAR(20)
VARCHAR(20)
ROOMS
PK VARCHAR(10)
FK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(20)
DECIMAL(10,2)
ENUM
BUS_CATEGORY
PK VARCHAR(10)
VARCHAR(10)
PAYMENT
PK VARCHAR(10)
FK VARCHAR(10)
ENUM
DECIMAL(10,2)
ENUM
ENUM
STATE
STATE
STATE
EVENT
PK VARCHAR(10)
VARCHAR(20)
FK VARCHAR(20)
DATE
TIME
DECIMEL(10,2)
MOVIE
PK VARCHAR(10)
FK VARCHAR(10)
VARCHAR(20)
FK VARCHAR(10)
DATE
TIME
DECIMAL(10,2)
NOT NULL, UNIQUE
NOT NULL
NOT NULL
NOT NULL
BSB15000 business_id PK
business_name
business_field
contact_no
email
address
state
city
owner_full_name
owner_mobile_no
owner_email
user_id FK
owner_id FK
SERVICE_SUB_CATEGORY
BSS24000 subcategory_id PK
category_id FK
subcategory_name
EMPLOYEE
BSE40000 employee_id PK
employee_name
status
service_id FK
mobile_no
SERVICE_SUB_CATEGORY
WORK
BSW20000 work_id PK
customer_id FK
service_id FK
work_description
work_status
state_id FK
city_id FK
longitude
latitude
ROOM_CATEGORY
BSR9000 category_id PK
category_name
BOOKING
BSB14000 booking_id PK
hotel_id FK
room_id FK
customer_name
check_in
check_out
payment_status
BUS_SUB_CATEGORY
BSB13000 subcategory_id PK
category_id FK
subcategory_name
CITY
VEHICL_BOOKING
BSV20001 booking_id PK
vehicle_id FK
customer_name
pickup_point
pickup_state_id FK
pickup_city_id FK
drop_point
drop_state_id
drop_city_id FK
travel_date
travel_time
payment_status
CITY
HOUSE_SHIFTING_BOOKING
BSH50000 booking_idA PK
vehicle_id FK
customer_name
pickup_point
pickup_state_id FK
pickup_city_id FK
drop_point
drop_state_id
drop_city_id FK
travel_date
travel_time
payment_status
CITY
MOVIE_CATEGORY
BSM50000 category_id PK
category_name
BOOKING
BSB12000 booking_id PK
customer_name
theater_id FK
movie_id FK
event_id FK
booking_date
booking_time
pickup_point
drop_point
state_id FK
city_id FK
verification_status
payment_status
BUSINESS_DETAILS
SERVICE_SUB_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(20) NOT NULL
EMPLOYEE
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(20) NOT NULL
ENUM NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(15) NOT NULL, UNIQUE
SERVICE_SUB_CATEGORY
WORK
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(20)
VARCHAR(20) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
DECIMAL(10,8)
DECIMAL(10,8)
ROOM_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(20) NOT NULL
BOOKING
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(20) NOT NULL
DATETIME NOT NULL
DATETIME NOT NULL
ENUM NOT NULL
BUS_SUB_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL, UNIQUE
CITY
VEHICL_BOOKING
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
DATE NOT NULL
TIME NOT NULL
ENUM NOT NULL
CITY
HOUSE_SHIFTING_BOOKING
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
DATE NOT NULL
TIME NOT NULL
ENUM NOT NULL
CITY
MOVIE_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(20) NOT NULL
BOOKING
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(20) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
DATE NOT NULL
TIME NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
BOOLEAN NOT NULL
ENUM NOT NULL
REGISTER AS A BUSINESS
UNIQUE A unique identifier for each room category, automatically incrementing for each new entry.
Name of the room category, limited to 20 characters.
A unique identifier for each booking, automatically incrementing for each new entry.
References the hotel_id from the HOTEL table to associate a booking with a hotel.
References the room_id from the ROOM table to specify the booked room.
Name of the customer making the booking, limited to 20 characters.
Date and time of check-in.
Date and time of check-out.
Status of the payment: Pending, Completed, or Cancelled.
A unique identifier for each bus subcategory, automatically incrementing for each new entry.
References category_id from the BUS_CATEGORY table to associate subcategories with categories.
Name of the subcategory, limited to 10 characters.
INTERCITY
A unique identifier for each vehicle booking, automatically incrementing for each new entry.
References vehicle_id from the VEHICLES table to associate the booking with a specific vehicle.
Name of the customer booking the vehicle.
The location where the trip begins.
References state_id from the STATE table, indicating the pickup state.
References city_id from the CITY table, indicating the pickup city.
The destination location.
References state_id from the STATE table, indicating the drop state.
References city_id from the CITY table, indicating the drop city.
The scheduled date of the trip.
The scheduled time of departure.
Status of the payment: Pending, Completed, or Cancelled.
HOUSESHIFTING
A unique identifier for each house shifting booking, automatically incrementing for each new entry.
References vehicle_id from the VEHICLES table to associate the booking with a specific transport vehicle.
Name of the customer booking the house shifting service.
The location where the shifting service begins.
References state_id from the STATE table, indicating the pickup state.
References city_id from the CITY table, indicating the pickup city.
The destination where the shifting service ends.
References state_id from the STATE table, indicating the drop state.
References city_id from the CITY table, indicating the drop city.
The scheduled date of the shifting service.
The scheduled time of departure.
Status of the payment: Pending, Completed, or Cancelled.
TERMS_AND_FEES
BST30000 terms_id PK
business_id FK
terms_and_conditions
onboarding_fees
payment_options
digital_signature
SERVICES
BSS25000 service_id PK
subcategory_id FK
service_name
price
image
service_desc
rating
ASSIGNED_WORK
BSA70000 assignment_id PK
work_id FK
employee_id FK
status
SERVICES
EMPLOYEE
ROOM_SUB_CATEGORY
BSRR11000 subcategory_id PK
category_id FK
subcategory_name
BUSES
BSB16000 bus_id PK
subcategory_id FK
bus_name
price
availability_status
pickup_point
drop_point
travel_date
travel_time
state
city
map_link
VEHICLE_CATEGORY
BSV22000 category_id PK
category_name
PAYMENT
PAYMENT
VEHICLE_CATEGORY
PAYMENT
THEATER
BST20000 theater_id PK
theater_name
state_id
city_id
address
map_link
MOVIE_SUB_CATEGORY
BSM60000 subcategory_id PK
category_id FK
subcategory_name
PAYMENT
VERIFICATION_DETAILS
VARCHAR(10) NOT NULL, UNIQUE
varchar(20) NOT NULL, UNIQUE
BOOLEAN NOT NULL
BOOLEAN NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(20) NOT NULL
LONGBOLB NOT NULL
LONGBOLB NOT NULL
VARCHAR(10) NOT NULL
TERMS_AND_FEES
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(100)
DECIMAL(10,2) NOT NULL
VARCHAR(100) NOT NULL
BLOB NOT NULL
SERVICES
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(20) NOT NULL
DECIMAL(10,2) NOT NULL
BOLB NOT NULL
VARCHAR(100) NOT NULL
INT
ASSIGNED_WORK
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL, UNIQUE
ENUM NOT NULL
SERVICES
EMPLOYEE
ROOM_SUB_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(20) NOT NULL
BUSES
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(20) NOT NULL
DECIMAL(10,2) NOT NULL, CHECK (price >= 0)
ENUM NOT NULL
VARCHAR(50) NOT NULL
VARCHAR(50) NOT NULL
DATE NOT NULL
TIME NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(20) NOT NULL
VARCHAR(50)
VEHICLE_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
PAYMENT
PAYMENT
VEHICLE_CATEGORY
PAYMENT
THEATER
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(20) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(10) NOT NULL
VARCHAR(100) NOT NULL
VARCHAR(100) NOT NULL
MOVIE_SUB_CATEGORY
VARCHAR(10) NOT NULL, UNIQUE
VARCHAR(10) NOT NULL
VARCHAR(20) NOT NULL
PAYMENT
Unique identifier for verification details.
Owner's identification proof (e.g., Aadhar, PAN).
Indicates if the phone number is verified (TRUE/FALSE).
Indicates if the email is verified (TRUE/FALSE).
Proof of business registration (e.g., certificate).
Business address proof (e.g., utility bill).
Business GST Number.
ISO certification details, if available.
Image of the workplace.
Images or videos of workers.
Links to the BUSINESS_DETAILS table.
A unique identifier for each room subcategory, automatically incrementing for each new entry.
References category_id from the CATEGORY table to associate subcategories with categories.
Name of the subcategory, limited to 20 characters.
A unique identifier for each bus, automatically incrementing for each new entry.
References subcategory_id from the BUS_SUB_CATEGORY table to associate a bus with a specific subcategory.
Name of the bus, limited to 20 characters.
Ticket price for the bus trip.
Status of the bus availability.
Pickup location for the bus trip.
Drop-off location for the bus trip.
Date of travel.
Scheduled departure time.
State where the bus operates.
City where the bus operates.
A link to a map showing the bus route.
ASSIGNED_WORK
BSA80000 assignment_id PK
work_id FK
employee_id FK
assignment_status
assigned_time
BUSE_BOOKING
BSB17000 booking_id PK
bus_id FK
pickup_point
drop_point
travel_date
travel_time
payment_status
VEHICLE_SUB_CATEGORY
BSV24000 subcategory_id PK
category_id FK
subcategory_name
VEHICL
BSV24000 vehicle_id PK
subcategory_id FK
vehicle_name
price
availability_status
state_id FK
city_id FK
address
map_link
VEHICLE_SUB_CATEGORY
VEHICL
WORK_DETAILS
VARCHAR(10)
VARCHAR(10)
VARCHAR(15)
VARCHAR(50)
VARCHAR(50)
CUSTOMER
VARCHAR(10)Autoincremen
VARCHAR(20)
VARCHAR(15)
ASSIGNED_WORK
VARCHAR(10)
VARCHAR(10)
VARCHAR(10)
ENUM
TIMESTAMP
BUSE_BOOKING
VARCHAR(10)
VARCHAR(10)
VARCHAR(20)
VARCHAR(20)
DATE
TIME
ENUM
VEHICLE_SUB_CATEGORY
VARCHAR(10)
VARCHAR(10)
VARCHAR(50)
VEHICL
VARCHAR(10)
VARCHAR(10)
VARCHAR(50)
DECIMAL(10,2)
ENUM
VARCHAR(10)
VARCHAR(10)
VARCHAR(100)
VARCHAR(100)
VEHICLE_SUB_CATEGORY
VEHICL
Unique identifier for each work entry.
Name of the customer requesting the work.
Contact number of the customer.
A detailed description of the work required.
Address where the work needs to be done.
Unique identifier for each customer.
Full name of the customer.
Contact number of the customer.