0% found this document useful (0 votes)
29 views1 page

Hotel Scheme

The document outlines the structure of various database tables related to a booking system, including feedback, bookings, payments, room types, guests, promotions, services, and employee roles. Each table contains specific fields such as IDs, dates, statuses, and other relevant attributes. The document also indicates the presence of indexes for optimizing database queries.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Hotel Scheme

The document outlines the structure of various database tables related to a booking system, including feedback, bookings, payments, room types, guests, promotions, services, and employee roles. Each table contains specific fields such as IDs, dates, statuses, and other relevant attributes. The document also indicates the presence of indexes for optimizing database queries.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

feedbacks systemchangelo…

FeedbackID INT LogID INT

FeedbackDate DA… TableName VARCHAR(100)

Comments TEXT ActionType VARCHAR(20)

Suggestions TEXT RecordID INT

RatingScore INT FieldName VARCHAR(100)

BookingID INT OldValue TEXT


Indexes NewValue TEXT

ChangedBy VARCHAR(100)

ChangeTime TIMESTAMP
bookings housekeepingtas… bookingpromotio… roominspections
Indexes
BookingID INT TaskID INT PromotionID INT InspectionID INT

BookingDate DATE AssignedDate DATE BookingID INT InspectionDate DATE

CheckinTime DATETIME Status VARCHAR(20) AppliedDate DATE OverallStatus VARCHAR(2…

CheckoutTime DATETIME EmployeeID INT Indexes Notes TEXT

NumGuests INT Indexes RoomID INT

BookingStatus VARCHAR(20) EmployeeID INT

RoomTotal INT TaskID INT

GuestID INT Indexes

Indexes
payments roominfos serviceusag… reports invoices
PaymentID INT RoomID INT UsageID INT ReportID INT InvoiceID INT

PaymentDate DATE RoomNumber VARCHAR(10) UsageDate DATE ReportType VARCHAR(50) InvoiceDate DATE

Amount INT Floor INT Quantity INT ReportName VARCHAR(100) RoomCharge INT

PaymentMethod VARCHAR(5… RoomStatus VARCHAR(20) TotalPrice INT GeneratedDate DATE ServiceCharge INT

InvoiceID INT RoomIsOccupied TINYINT(… BookingID INT PeriodStart DATE AmentityCharge INT
Indexes RoomTypeID INT ServiceID INT PeriodEnd DATE DiscountAmount INT
Indexes Indexes CreatedBy VARCHAR(100) InvoiceTotal INT

Content TEXT InvoiceStatus VARCHAR(2…

AttachmentLink VARCHAR(25… BookingID INT


roomtypes guests bookingdeta… employees
Indexes Indexes
RoomTypeID INT GuestID INT BookingDetailsID INT EmployeeID INT

TypeName VARCHAR(5… GuestName VARCHAR(10… PriceAtBooking INT EmployeeName VARCHAR(10…

BasePrice INT Gender VARCHAR(10) SpecialRequests TEXT Gender VARCHAR(10)

MaxOccupancy INT DateOfBirth DATE RoomID INT Email VARCHAR(100)

BedNum INT IdentityNum VARCHAR(20) BookingID INT Address VARCHAR(255)


Indexes PhoneNum VARCHAR(20) Indexes IsActive TINYINT(1)

Email VARCHAR(100) RoleID INT

Address VARCHAR(255) Indexes

Indexes
promotions services employeeroles
PromotionID INT ServiceID INT RoleID INT

PromoCode VARCHAR(20) ServiceName VARCHAR(10… RoleName VARCHAR(5…

StartDate DATE UnitPrice INT Indexes

EndDate DATE Indexes

Terms TEXT

DiscountValue INT

DiscountType VARCHAR(2…
Indexes

You might also like