Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction: This data model is designed to hold information relating to a hotel room booking system.
The facts define the requirements which the database must meet and should be agreed between the
database users and the database designer prior to physical creation.
Basic operations: A hotel needs a system that keeps track of its booking (future, current and achieved)
rooms and guests. A room can be a particular type and a particular price band. Room prices vary from a
room to room (depending on its type, available facilities, band etc.) and from a season to season
(depending on the time of the year)
Information required: A room booking can include more than one room and more than one customer.
The draft facts have been defined as: The entities required should be Family: Family head ssn, family
head name, address, ph. no, no of adults, no of children. Guests: Guest id, Fname, Lname, ph. no, email
id, address.
Customer: customer id, customer name, customer type, address, ph. no, email, room no.
Reservation: reservation id, customer id, room no, employee id, rate, check in date, check out date,
total charges, discount, amount paid.
Relational databases
customer Customer Customer Customer address Ph. no email Room no
id name type
reservation Reservation Customer Room Employee rate Check Check Total discount Amount
id id no id in out charges paid
date date
Customer id example:
C128R013b
Room no example:
013b
Reservation id example:
3548-12
Employee id example:
1278
Relationships
Forms
Title ___________ description ___________
Customer information:
Customer id Room no
Customer type
Customer address
Ph. No email
Reservation Information:
Res. id room no
Customer id employee id
Customer type
Rate
From To
Amount paid
Room Information:
Room no R. type
Reservation id
No of beds
Facilities
Employee Information:
Employee id
Employee name
Ph. no
Report