Professional Documents
Culture Documents
BOOKING
SYSTEM
BSc (Hons) Information Systems
TABLE OF CONTENTS:
Introduction------------------------------------------------------3
Database Design------------------------------------------------4
Implementation Of Indexes------------------------------------5
Individual Contribution---------------------------------------7
2
INTRODUCTION:
The ADC hotel management system will focus mainly on the booking activities pertaining to the
hotel. The administrator will be able to add new bookings, modifying existing booking, delete
bookings, search for bookings and view all bookings.
In the context of adding new booking, the system shall be able to record bookingID, customerID,
roomID, roomPrice, no_of_people, checkIn, checkOut and shall be able to calculate the total
based on these information.
In the context of modifying information about existing booking, the system shall allow the user
to input a bookingID and the display all the information pertaining to that specific booking and
then shall allow the user to modify the data and it shall save it to database.
In the case of searching for bookings, the user shall be able to choose between either search by
bookingID or search by customerID. The user shall then input the bookingID or customerID
and then all the information pertaining to these shall be visible.
In the context of view all bookings, the user shall be able to view all information about a specific
booking by inputting only the bookingID.
The programming language for the interface for ADC hotel booking system will be JSP and the
database will be POSTGRES.
3
ENTITY RELATIONSHIP DIAGRAM
customer Booking
Has
DATABASE DESIGN
admin:
customer:
4
booking:
Implementation Of Indexes
Indexes would be used to find rows with specific column values quickly pertaining to the
searching functionality of the application to search for any specific customer or booking details.
5
2.Function AddCustomer()
This is the function used to insert new customer details in the database.
3.Function AddBooking()
This function is used to create a new booking for an existing customer.
4.Function DeleteRow()
This function is used to delete a row from customer and booking table after the customer checks
out .
6.Function GenerateBill ()
When a customer checks, his/her bill is in generated automatically by
calculated check-out date minus check-in date and getting multiplied it by daily
room charge plus number of people and the bill is saved in the booking table .
7.Function ModifyCustomer()
This is the function used to update customer details in the database.
8.Function ModifyBooking()
This function is used to create update booking details in the database.
9.Function ViewAll()
This function is used to view the details of all the customers who have a booking .
6
Use of appropriate triggers
Triggers would be used in booking insertion process so that it:
Individual contribution