database design for online bus ticket booking with extra features -


i trying build online bus ticket reservation system on package base, ticket includes other features ticket of site seeing places, bus ticket same passenger price other features may depends on passenger type(adult/child/senior ...). there tables other_feature,passenger_type,feature_type, confused how relate these reservation system please appreciated . in advance!

my table structure

table reservation_details

id
passenger_id
travel_detail_id
purchase_detail_id
reserved_date
seat_no
depature_date

table travel_details

id
bus_id
route_id
depature_time
arrival_time
fare
freq_detail_id

table routes

id
name
distance
from_city
to_city

table freq_details

id
sun
mon
tue
wed
thu
fri
sat


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -