Customer Customerreservation Roomreservation: Indexes Indexes

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Customer

CustomerID INT CustomerReservation

FirstName VARCHAR(45) CustomerID INT


ReservationID INT Reservation RoomReservation
LastName VARCHAR(45)
ReservationID INT RoomID INT
Phone CHAR(10) RoomAmenity Amenity
Indexes StartDate DATE ReservationID INT
Email VARCHAR(45) AmernityID INT AmenityID INT
EndDate DATE Indexes
RoomID INT Name VARCHAR(45)
Indexes PromoCodeID INT
Indexes Indexes

Indexes
Guest Room Rate
GuestID INT RoomID INT RateType RateID INT
FirstName VARCHAR(45) RoomNumber INT RateID INT StartDate DATE
BirthDate DATE Floor INT TypeID INT EndDAte DATE
Bill Price DECIMAL(10,4)
LastName VARCHAR(45) Occupancy INT
ReservationID INT
ReservationID INT
PromoCode TaxRate DECIMAL(7… Indexes Indexes
Indexes
Indexes PromoCodeID INT Total DECIMAL(10,4) RoomAddOn
StartDate DATE NumberGuests INT RoomID INT
EndDate DATE NumberRooms INT AddOnID INT
RoomT… Type
DiscountPercent DECIMAL(2,2)
RoomID INT typeID INT
DiscountFlat DECIMAL(10,4) Indexes
Indexes TypeID INT Name VARCHAR(45)
Indexes
Indexes Indexes

BillLineItem
BillLineItemID INT
BillID INT
AddOn
ItemName VARCHA…
AddOnID INT
ItemPrice DECIMAL(…
StartDate DATE
Indexes
EndDate DATE

Name VARCHAR(45)
Price DECIMAL(10,4)

Indexes

You might also like