A
arubikdoan
Hi friends,
I am designing a hotel reservation system for practice after studying by
myself some first chapter in the book Sam Access 2002 21 Days. I have
decided the tables and relationship and hope that I can get experienced
advices for you.
############
Table Guest:
First Name
Middle Name
Last Name
Gender
Address
City
Country
Phone
Mail
Identification Type
Identification Number
Identification Country
ID City
##############
Table Agent
Agent ID
Agent Name
Contact Name
Address
City
Phone
Fax
Mail
Commission
###############
Reservation Table
Reservation ID
Guest ID
Agent ID
Reservation Date
Arrival Date
Departure Date
Service ID
Service Use Date
Room Number
Confirmation
###############
Table Service
Service ID
Service Name
################
Table Reservation-Service (junction Table)
Service ID
Reservation ID
Service Date
Service Cost
################
Table Room Categories
Category ID
Category Name
Number of beds
Bath Availability
Air-Conditioner
Picture
################
Table Rooms
Room Number
Category ID
################
Table Room Price
Category ID
Season
Duration
Room Price
################
Please tell me if there is any illogic.
Another two questions:
Can I calculate the payment for each reservation based on the above
table relationships? Do I need to have 2 tables for two types of
customers: one for those who have confirmed and one for those who not
yet confirmed?
Thanks in advance,
Arubik Doan
I am designing a hotel reservation system for practice after studying by
myself some first chapter in the book Sam Access 2002 21 Days. I have
decided the tables and relationship and hope that I can get experienced
advices for you.
############
Table Guest:
First Name
Middle Name
Last Name
Gender
Address
City
Country
Phone
Identification Type
Identification Number
Identification Country
ID City
##############
Table Agent
Agent ID
Agent Name
Contact Name
Address
City
Phone
Fax
Commission
###############
Reservation Table
Reservation ID
Guest ID
Agent ID
Reservation Date
Arrival Date
Departure Date
Service ID
Service Use Date
Room Number
Confirmation
###############
Table Service
Service ID
Service Name
################
Table Reservation-Service (junction Table)
Service ID
Reservation ID
Service Date
Service Cost
################
Table Room Categories
Category ID
Category Name
Number of beds
Bath Availability
Air-Conditioner
Picture
################
Table Rooms
Room Number
Category ID
################
Table Room Price
Category ID
Season
Duration
Room Price
################
Please tell me if there is any illogic.
Another two questions:
Can I calculate the payment for each reservation based on the above
table relationships? Do I need to have 2 tables for two types of
customers: one for those who have confirmed and one for those who not
yet confirmed?
Thanks in advance,
Arubik Doan