The document describes the schema of multiple database tables used for travel booking. There are tables for admins, amenities, billing, boarding points, bookings, buses, cancellations, companies, customers, flights, hotels, images, locations, ratings, rooms, room types, services, tour packages, itineraries, places, travel options, trains, and train types. Each table has columns specifying details like IDs, names, types, costs, statuses and other attributes.
The document describes the schema of multiple database tables used for travel booking. There are tables for admins, amenities, billing, boarding points, bookings, buses, cancellations, companies, customers, flights, hotels, images, locations, ratings, rooms, room types, services, tour packages, itineraries, places, travel options, trains, and train types. Each table has columns specifying details like IDs, names, types, costs, statuses and other attributes.
The document describes the schema of multiple database tables used for travel booking. There are tables for admins, amenities, billing, boarding points, bookings, buses, cancellations, companies, customers, flights, hotels, images, locations, ratings, rooms, room types, services, tour packages, itineraries, places, travel options, trains, and train types. Each table has columns specifying details like IDs, names, types, costs, statuses and other attributes.
The document describes the schema of multiple database tables used for travel booking. There are tables for admins, amenities, billing, boarding points, bookings, buses, cancellations, companies, customers, flights, hotels, images, locations, ratings, rooms, room types, services, tour packages, itineraries, places, travel options, trains, and train types. Each table has columns specifying details like IDs, names, types, costs, statuses and other attributes.
Download as DOCX, PDF, TXT or read online from Scribd
Download as docx, pdf, or txt
You are on page 1of 8
Database travel
Table Name: admin
Column Type Inde Description x adminid int(10) No adminnam varchar(25) No e loginid varchar(25) No password varchar(50) No status varchar(10) No
Table Name: amenities
Column Type Index Description amenitiesi int(10) No d busid int(10) No amenities varchar(25) No icon varchar(100 No ) status varchar(10) No
Table Name: billing
Column Type Inde Description x billingid int(10) No customerid int(10) No billingcost float(10,2) No tax float(10,2) No date date No payment_typ varchar(20) No e cardno varchar(25) No status varchar(20) No
Table Name: boardingpoints
Column Type Index Description boardingpointi int(10) No d busid int(10) No boardingpointno int(10) No slocation varchar(50) No dlocation varchar(50) No arrivaltime datetime No departuretime datetime No seatercost float(10,2) No sleepercost float(10,2) No status varchar(10) No
Table Name: booking
Column Type Inde Description x bookingid int(10) No billingid int(10) No bookingtype varchar(20) No ticketid int(10) No seatno varchar(25) No passengername varchar(25) No gender varchar(10) No contact varchar(15) No status varchar(10) No
Table Name: bus
Column Type Index Description busid int(10) No companyid int(10) No bustype varchar(25) No sleeperseats int(10) No seaterseats int(10) No status varchar(10) No
Table Name: cancellation
Column Type Inde Description x cancellation_id int(10) No billingid int(10) No refundamount float(10,2) No cancellationdate date No status varchar(10) No Table Name: company Column Type Inde Description x companyid int(10) No companytype varchar(20) No companynam varchar(25) No e companylogo varchar(100) No description text No status varchar(10) No
Table Name: customer
Column Type Inde Description x customerid int(10) No customernam varchar(25) No e dob date No gender varchar(10) No address varchar(500) No contact varchar(20) No mobile varchar(20) No state varchar(20) No country varchar(25) No pincode varchar(10) No emailid varchar(20) No loginid varchar(20) No password varchar(50) No status varchar(10) No
Table Name: flight
Column Type Index Description flightid int(10) No companyid int(10) No dlocationid int(10) No alocationid int(10) No duration varchar(25) No departtime datetime No arrivetime datetime No economyseats int(10) No businessseats int(10) No firstclassseats int(10) No premiumeconomyseat int(10) No s econ_tariff float(10,2) No business_tariff float(10,2) No firstclass_tariff float(10,2) No premium_tariff float(10,2) No description text No status varchar(10) No
Table Name: hotel
Column Type Index Description hoteid int(10) No companyid int(10) No locationid int(10) No hotelname varchar(25) No hoteladdress varchar(250) No pincode varchar(50) No landmark varchar(50) No hoteldescriptio text No n
Table Name: hotel_image
Column Type Index Description hotel_image_id int(10) No hotelid int(10) No hotel_image varchar(50) No hotel_image_descriptio text No n
Table Name: location
Column Type Inde Description x locationid int(10) No location varchar(25) No locationtyp varchar(25) No e locationtitle varchar(100) No description text No status varchar(10) No Table Name: rating Column Type Inde Description x ratingid int(10) No ratingtype varchar(25) No customerid int(10) No companyid int(10) No rating int(10) No commenttitl varchar(100) No e comments text No ratingdate date No status varchar(10) No
Table Name: room
Column Type Inde Description x roomid int(10) No roomno varchar(30) No roomtypei int(10) No d status varchar(10) No
Table Name: roomtype
Column Type Inde Description x roomtypei int(10) No d hoteid int(10) No roomtype varchar(50) No note text No roomtariff float(10,2) No status varchar(10) No
Table Name: room_booking
Column Type Index Description room_booking_i int(10) No d billingid int(10) No customerid int(10) No roomid int(10) No checkindate datetime No checkoutdate datetime No noofadults int(10) No noofchildren int(10) No status varchar(10 No )
Table Name: service
Column Type Inde Description x serviceid int(10) No hoteid int(10) No servicetyp varchar(50) No e servicetitle varchar(100) No description text No image varchar(100) No cost float(10,2) No tariff_type varchar(25) No unit varchar(25) No status varchar(10) No
Table Name: tourpackage
Column Type Inde Description x tour_package_i int(10) No d companyid int(10) No tourpackagetype varchar(25) No packagetitle varchar(100) No videolink varchar(100) No imagelink varchar(100) No overview text No inclusion text No no_of_days varchar(50) No minprice float(10,2) No
Table Name: tourpackage_itinerary
Column Type Index Description itineraryid int(10) No tour_package_id int(10) No day_no int(10) No itinerary_title varchar(100 No ) itinerary_description text No itinerary_image varchar(100 No )
Table Name: tourpackage_place
Column Type Index Description tourpackage_place_i int(10) No d tourpackage_id int(10) No about_place text No place_map text No contact varchar(25) No status varchar(10) No
Table Name: tourpackage_travel_options
Column Type Inde Description x travel_option_id int(10) No tour_package_id int(10) No travel_source_loc varchar(25) No travel_destination_lo varchar(25) No c travel_type varchar(25) No note text No
Table Name: train
Column Type Index Description trainid int(10) No trainname varchar(25) No traintype varchar(25) No sleeperseats int(10) No seaterseats int(10) No status varchar(25) No
Table Name: train_type
Column Type Index Description train_type_id int(10) No trainid int(10) No boardingpointn int(10) No o slocation varchar(50) No dlocation varchar(50) No arrivaltime datetime No departuretime datetime No seatercost float(10,2) No sleepercost float(10,2) No status varchar(10) No