Vous êtes sur la page 1sur 61

ESSIEN EDUABASI EMMANUEL

U0845731

TABLE OF CONTENTS INTRODUCTION SYSTEM REQUEST FEASIBILITY STUDY ANALYSIS OF THE SYSTEM PROPOSED TO BE SYSTEM USER REQUIREMENT SYSTEM REQUIREMENT USE-CASE SEQUENCE CLASS PACKAGE DIAGRAM DESIGN STRATEGY CONCLUSION REFRENCES PAGE 2-3 PAGE3-5 PAGE6-11 PAGE 12-13 PAGE 13-15 PAGE15-16 PAGE 16-19 PAGE 20-40 PAGE 41-57 PAGE 58 PAGE 59 PAGE60-61 PAGE 61 PAGE 62

A00286225

Page 1

ESSIEN EDUABASI EMMANUEL

U0845731

INTRODUCTION
This is an automated Hotel Management System that is aimed at reducing the workload of the reception staff, by easing the act of reservation, check in and check out. The system allows the Hotel Manager to make modifications including: update price of rooms, add rooms, and delete rooms, modify his account and post promotion campaign on the hotels website after logging into the hotel system using his ID on one of the hotel computers. Also the system allows any public user to search for price and availability of rooms from the hotel website. Once the user is registered as a customer in the website he or she can have access to the automated hotel management system and with that he/she can modify his/her account, make reservation, print reservation details, cancel booking(s) and browse his booking(s). There is a means for the customer to check in and check out through automated sub-system.

AIM:
To develop a computerized hotel management system that reduce the workload of the reception staff and provide a more effective way of making managing reservation, check-in check-out, amongst others.

OBJECTIVES OF THE SYSTEM

1. To facilitate communication between hotel and people out side 2. To eliminate unnecessary manual errors 3. To enable hotel manager make necessary modifications. 4. To permit the hotel manager to post promotion campaign on the website. 5. To allow the hotel manager to access the system.
A00286225 Page 2

ESSIEN EDUABASI EMMANUEL

U0845731

6. To allow the user to search for price and availability of rooms. 7. To allow the user to register an account from the hotel website together to become a customer. 8. To allow the customer to login by entering his email address and password. 9. To allow the customer and manager to modify their account details. 10. To allow the customer to make reservation. 11. Allow the customer to print his reservation 12. To allow the customer to check his/her reservation by browsing the system. 13. To allow the customer to cancel his/her booking. 14. To enable the customer to checking through the automatic check-in subsystem. 15. To enable the customer to check out through the automatic check-out sub system.

SYSTEM REQUEST

Project Sponsor: ABC Hotel Project Name: Automated Hotel Management System Business Needs: This project is designed mainly to reduce the workload of the reception staff and make reservation, check in and check out more effective and efficiently. Business Requirements: By using an automated system, it should allow the hotel manager to make modifications (update room price, add room and delete room), modify his account and post promotion campaign onto the hotel websites after he logs in using his ID. It should also allow the user to search for the availability and price of rooms from
A00286225 Page 3

ESSIEN EDUABASI EMMANUEL

U0845731

the hotel website and also register to become a customer. Customer should be able to his/her modify account details, make reservations, browse his/her bookings, cancel bookings, print reservation details check in and check out easily. The functionalities that the system should have are listed below: y y y y y y y y y y y y y y y y Manager log in by entering his ID Update room prices Add room(s) Delete room(s) Manager modify his account Post promotion campaigns Customer log in using email address and password Customer modifies his/her account Search for the availability and price of rooms Register as customers Make reservations Browse bookings Cancel bookings Print reservation details Check-in Check-out

Business Value: We expect ABC Hotel to have a more effective business. We expect the new system to be more flexible to the users. Our main goals are to reducing business loss, system errors, and improve customer satisfaction.

Tangible Values

A00286225

Page 4

ESSIEN EDUABASI EMMANUEL

U0845731

Increased profit as a result of new customers. Increased profit from existing customer. Reduction of utility cost. Reduced staff salaries due to little or no labor needed

Intangible Values
Communication between users/customers and the hotel will be improved Enhances business relationship Increases business efficiency and effectiveness Boosts level of global challenge

Constraints:
The hotel management considers this system as a strategic system. This system will add value to its business. This system is to be put in place within 4 months

FEASIBILITY STUDIES

TECHNICAL FEASIBILITY: Familiarity with the application: From our technical analysis, we found out that Familiarity with the system. With the available professional skills acquired by the project team consisting of specialized
A00286225 Page 5

ESSIEN EDUABASI EMMANUEL

U0845731

persons from different areas like IT programmer, analysis and designer, there will be less difficulties in developing the system provided resources are available. For the users within the organization there will be a workshop after the installation and for the public users there will be a help page in case of help needed. By this the risk regarding system familiarity is highly reduced. Familiarity with the technology: The technology behind the development of this system includes VB.net and SQL. Our project team has experienced developers in those areas, so there be few difficulties and relatively low risk.

Project size The development team consists of 4 people and the length of time to complete the project is not other than 5 months. The project size is relatively small which is associated with few risks. Compatibility The system will be compatible with the existing systems in the hotel such as the human resource system. The hotel system will rely on data contained in the HR system. Integrating the system with the companys existing technology is easy and therefore less risk. Hardware Requirements 4 laptops, with specifications below: y y y y
A00286225

Windows 7, 32bit OS 2.0 GHz CPU (intel core2duo recommended) 2GB Ram 80 GB hard drive
Page 6

ESSIEN EDUABASI EMMANUEL

U0845731

y y -

Mouse (optical mouse controls work the best) Ethernet network card (on network for multiple users)

Back up y y y y y CD-Rom read-write Four 8gb USB Memory stick (Kingston recommended) Zip Drive 100 Mb Tape back up One terabyte external hard drive (Seagate recommended)

Printers Scanner Cash drawers UPS

Software requirements: Visual studio 2008 MySQL server Bit defender security 2010

Network requirements Items Cable Network adapters Hub/switch Printers Minimum Requirement CAT 5 UTP Ethernet 100 baseT2 100MB Window compatible Recommended CAT 5 UTP Ethernet 100 base T2 1.0GB HD 2100

ORGANIZATIONAL FEASIBILTY:
A00286225 Page 7

ESSIEN EDUABASI EMMANUEL

U0845731

This feasibility explains how well the project is aligned with business goals. It aligns with the business goals because its objective is to satisfy the customer and make more profit. With the new system the customer has an easy way of making reservation browsing, bookings making payments, check in , check out in a more effective and efficient way.

ECONOMIC FEASIBILTY: This identifies the cost that will be covered to build the system, cost after its installation, tangible benefits and intangible benefits, usually for a period of time. The breakdown is as follows: DEVELOPMENT COST Project team salaries Training Hardware, software and network facilities Vendor installation Office space and equipment Other services OPERATIONAL COST Operational team salaries Software upgrade Software license fees Hardware repairs Hardware upgrades User training Communication charges

TANGIBLE BENEFITS Increased profit Reduction in staff salaries due to less number of staff

INTANGIBLE BENEFITS Improves communication between users, customers and the hotel. Enhances business relationships Increases business efficiency and effectiveness Boost level of global challenges Increases business recognition

A00286225

Page 8

ESSIEN EDUABASI EMMANUEL

U0845731

A00286225

Page 9

ESSIEN EDUABASI EMMANUEL

U0845731

Cost/Benefit analysis. All costs are in RM.

DEVELOPMENT COST Development labor Training Hardware, Software and network facilities Vendor installation Office space and equipment Other services TOTAL DEVELOPMENT COST OPERATIONAL COST Operational team salaries Software license fees Software upgrade Hardware Repairs Hardware upgrade User training Communication charges TOTAL OPERATIONAL COST TOTAL COST BENEFITS Increased Profit Reduction in staff salaries reduction in utility cost Total Benefits TOTAL BENEFIT TOTAL COST CUMULATIVE NET CASH
A00286225

2010 150,000 63,400 96, 500

2011 0 0 0

2012 0 0 0

Total 150,000 63,400 96,500

27,400 96,000 60,000 493,300

0 0 0 0

0 0 0 0

27,400 96,000 60,000 493,300

85,000 9,500 36,000 40,000 67,000 45,000 73,400 355,900 493,300 355,900

93,500 9,500 36,000 40,000 67,000 45,000 73,400 364,400 364,400

178,500 19,000 72,000 80,000 134,000 90,000 146800 720,300 1,213,600

550,000 35,000 86,500 671,500 (493,300) 315,600

583,000 35,000 86,500 704,500 340,100

1,133,000 70,000 173,000 1,376,000 162,400

(493,300)

177,700

162,400
Page 10

ESSIEN EDUABASI EMMANUEL

U0845731

FLOW RETURN ON INVESTMENT BREAK- POINT 13.38% (162,400/1,213,600) 1.52 years (costs are fully recovered in year 2; [340,100-162,400]/340,100 = .52)

A00286225

Page 11

ESSIEN EDUABASI EMMANUEL

U0845731

ANALYSIS STRATEGY
Analysis of the current system: The current system works in a complex way since most of the processes are done manually that is so much time consuming and prone to various costly mistakes. To make a reservation, customers have to call the reception staff to ask for the availability and price of rooms in the hotel. The reception staff then browses his register book where records of rooms are kept and then tells the customer the feedback. This really takes time and call credits are being wasted in the process. The customer then tells the reception staff which room(s) to be reserved for him/her and his period of stay. The reception staff then records the information in the reservation-book (hard cover notebook), information including; customer name, room number, contact number, period of stay (start date and end date) and type of room, all in the record book. Customers can alternatively go directly to the hotel to make reservation(s). When the customer comes to the hotel for check-in, he/she will provide the room number he booked to the attending receptionist. The staff will then check with the information from the reservation book. When the information is confirmed then the customer will be asked to show his IC for verification of his identity. When there is no problem, then the reception staff will ask the customer to make payments according his/her booking with addition fees in case of damages. The receptionist will then give the room key to the customer. When the customer is leaving the hotel, he goes to the check-out counter to return the room key. The staff then checks the room for any damages caused. The charges are calculated, if less than what he deposited, he will be given his change but if more than his deposit, he needs to pay for the extra fee. Hotel promotions are advertised through newspapers and televisions.

A00286225

Page 12

ESSIEN EDUABASI EMMANUEL

U0845731

Problem of the current system: There is too much paper work It is time consuming There is no back-up available Inefficiency and ineffectiveness of the system A lot of data redundancy Labor intensive

Improvements By using the automated system there will be les or no paperwork With the new system, it is easy for the customer to reservation where ever he/she is With the new system, the manager can post promotion via website The new system will provide back-up with effective security The new system improves speed and quality processing of information Documents are well secured The new system improves effectiveness and efficiency in business processes New system provides more convenient way of check-in and check-out

Analysis of proposed system This is an automated hotel management system that will be developed to serve the hotels business requirements more efficiently and effectively. The system consists of 3 actors mainly: Hotel manager, user and customer. The hotel manager is a person that will use the system to perform the following functions:
A00286225 Page 13

ESSIEN EDUABASI EMMANUEL

U0845731

He/she will be able to access the system by swiping his staff card on one of the hotel computers

He/she will have the ability to update the price of each room type in the hotel with the system

He/she will be able to add new rooms to the system He/she will be able to delete rooms from the system He/she will be able to post promotion campaigns on the hotel website He/she will be able to modify his account details

The user is a person that will have the following functions by using the system: He/she will be able to register an account with the hotel through the hotel website He/she will have the ability to search for the availability and price of rooms in the hotel The customer is a person that will use the system to perform the following functions: He/she will be able to log in to his account using the system He/she will be able to modify his account details He/she shall be able to search for available rooms and their prices He/she will have the ability to make reservations He/she will be able to browse his/her booking He/she can cancel his/her booking He/she will be able to print reservation He/she can easily check-in through the automatic check-in sub-system

A00286225

Page 14

ESSIEN EDUABASI EMMANUEL

U0845731

He/she can easily check-out through the automatic check-out sub-system

There is also an external system which is the gateway system that verifies payment and sends approval code to the hotel system and enables payment. There is also need of a printer device when a customer wants to prints his reservation details. The printer enables this function User requirements 1. The system should allow the hotel manager to login to his account by entering his ID. 2. The hotel manager should be able to use the system to update the price of each room type. 3. The system should allow the hotel manager to add new rooms available in the hotel to the system 4. The system should allow the hotel manager to delete rooms from the system 5. The system should provide the facility to allow the hotel manager to post promotions on the hotel website. 6. Users should be able to use the system to register an account with the hotel to become a customer through the hotel website. 7. A customer should be able to log into his/her account on the system by typing his/her email address and password. 8. The manager and customer should be able to use the system to modify their account information. 9. A user should be able to use the system to search for the price and availability of rooms in the hotel. 10. A customer should be able to make reservation with the system. 11. The system should allow the customer to browse his/her booking(s). 12. A customer should be able to cancel his/her booking using the system. 13. The system should allow the customer to print his reservation.

A00286225

Page 15

ESSIEN EDUABASI EMMANUEL

U0845731

14. The system should enable the customer to check-in through the automatic check-in sub-system. 15. The system should provide a customer with the ability to check-out through the automatic check-out subsystem.

System requirements  Functional requirements 1.1. 1.2. 1.3. 1.4. System displays log in confirmation message when the manager logs in. Special Algorithm shall be used to verify managers staff card. Encryption and Decryption Method shall be used to protect ID. System should temporarily blocks managers account after 3 failure of

login attempts. 1.5. 1.6. Session should expire if the manager is idle for 5minits. System should disable the password textbox when the manager ticks the

manager checkbox.

2.1. System should display a confirmation message when the manager updates prices of rooms.

2.2. System should display an error message for wrong price input

3.1.

4.1. System should display a message to confirm deletion of a room.

5.1.

6.1. System should generate a unique password for the customer after he/she registers.

A00286225

Page 16

ESSIEN EDUABASI EMMANUEL

U0845731

6.2. System should pick the first two letters of customers name, last 5 digits from his/her credit card number and his third letter from his name to make a unique

password.

7.1. Special algorithm shall be used to verify customer input. 7.2. Encryption and decryption method shall be implemented to protect passwords. 7.3. System should temporarily block customers account incase of 5 login failed attempts. 7.4. System should send passwords to customers email incase for password recovery.

8.1. System should display a message Save Changes? for customer when he clicks on the save button.

9.1. System should display message for exceptions such as no room available.

10.1. System should be able to display a confirmation message together with a unique booking ID. 10.2. System should generate password from randomly selecting characters from customers name and credit card number.

11.1. System should suggest customers booking ID in the Booking ID textbox from his active booking records when he/she is typing the booking ID 11.2 System should display list of active booking records when a customer clicks on the show booking button

12.1. System should display a message Are you Sure You Want to Cancel the Booking? when he clicks on the cancel booking option.

A00286225

Page 17

ESSIEN EDUABASI EMMANUEL

U0845731

14.1. Special algorithm shall be used to verify booking ID. 14.2. System should display room number and dispense the room key card to the customer after it confirms the booking ID.

15.1 Special algorithm shall be used to verify the room key card after the customer inserts the room key card into the checkout system to calculate charges. 15.2 System prints receipts for the customer.

 Non-functional requirements 1.1 Vb.net will be used to develop the system 1.2 Passwords will be represented as asterisk *

2.1 All prices shall be in Malaysian Ringgit (RM) 2.2 New prices shall appear in red colors 2.3 System shall display rooms from the least price to the most expensive

3.1 New added rooms names shall appear in a blue color for a period of 15days 3.2 System shall display new added rooms on hotel websites homepage for a period of 15 days

5.1 Promotions shall appear on the hotel websites homepage 5.2 Promotion shall appear in form of both pictures and text

6.1 Asterisk shall be used to identify important fields

8.1 Customers account will be made inactive after 30 days without access

9.1 System shall display searched results of rooms in the order: Room type, Start date, number of nights and persons.
A00286225 Page 18

ESSIEN EDUABASI EMMANUEL

U0845731

10.1 Booking records shall be cancelled after 7days without check-in by the system 10.2 System shall allow customer to make a booking starting from the current date by making the previous dates on the date time picker inactive.

11.1 System shall display list of active booking records in order starting from the closest dates to the farthest date 11.2 Active booking should appear in bullets

14.1 Check-in interface shall appear in black and white fonts

15.1 Check-out interface shall appear in blue and white fonts 15.2 Receipt shall include: Customer name, Room stayed in, period of time, credit card number, total charges, date and time of check-ou

UML Diagrams
A00286225 Page 19

ESSIEN EDUABASI EMMANUEL

U0845731

USECASE DIAGRAM

Hotel Management System

D l

r m i

<< x M k R

>>

rv i

C ck i m c i

ri

rv i

<< x

ck

A00286225

ckI

Page 20

% $ '&



C ck m c i

>>

<<include>

  

<< x

>>

 

  







<< x

>>

<<i cl

>>

ki

  

i Acc



 

# 

"! 

m r

c l

ki

 

   



 

rc

 
ric lM r


i

 

%) %0 ) ' ' 1

 

    (

ri

ESSIEN EDUABASI EMMANUEL

U0845731

USECASE SPECIFICATIONS

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT PRECONDITION POSTCONTION

Log in Hotel manager and customer Customer will use this function to access/login to his/her account Email address and password System displays their account page Customer should have a valid ID and password The customer will be able to use all functions related to his account type FLOW OF EVENTS

BASIC FLOW

Customer clicks on login button at the hotel systems homepage

System displays login page Customer keys in email address in the email textbox and password in the password textbox

Customer clicks login button System verifies input of the customers email and password such as: password length, empty string.

System confirms input System verifies customers email and password with Customer-Info table in the database

Database confirms. System displays log in successful message on a message box

ALTERNATIVE FLOW -

System displays customers account/homepage If the person logging in is the hotel manager, He/she clicks on the login button at the hotel systems homepage

A00286225

Page 21

ESSIEN EDUABASI EMMANUEL

U0845731

System displays login page Manager keys in his ID Manager checks the manager checkbox System disables the password textbox Manager clicks login button System verifies input System confirms System verifies manager ID from the manager-info table at the database

EXCEPTIONAL FLOW

Database confirms The system will display the hotel managers account page. The manager will be able to use the functions allocated to his account

Exp1: If invalid Input: email/ID or password field is empty, ID is invalid, Exp2: ID expired ID does not exist Error message appears Customer/manager re-enter input He/she clicks login button System verify input System should block customers account incase of 5 login failed attempts

FUNCTION ACTOR DESCRIPTION

Register User This function will enable the user to register an account in order to become a customer

A00286225

Page 22

ESSIEN EDUABASI EMMANUEL

U0845731

INPUT

Name, home address, phone number, email address, credit card information(number, expiry date and type)

OUTPUT

User becomes a registered customer System creates account for customer

PRECONDITION User should have valid input(email, credit card information, phone number) POSTCONTION BASIC FLOW He is able to use all the functions entitled to a customer The system generates a unique password for the customer FLOW OF EVENTS User clicks register button on the system homepage System displays registration form page User keys in his/her name, address, phone number, email address and credit card information. User clicks submit button System verifies input System confirms System verifies input from the customer info table at the database Database confirms System stores the customers information in the customer-info table in the database Database confirms information stored System generates a unique password for the customer System saves password in the customer-info table at the database ALTERNATIVE FLOW EXCEPTIONAL Exp 1 NIL System displays password to customer in a message box

A00286225

Page 23

ESSIEN EDUABASI EMMANUEL

U0845731

FLOW

If input is invalid: Error message appears User re-enters input User clicks submit button System verifies Exp 2

Email address already exist User need to enter another email

FUNCTION ACTOR DESCRIPTION

Update Price Hotel manager Hotel manager uses this function to update the listed price of each room type

INPUT OUTPUT

New Price figures Update form page Price of room(s) updated

PRECONDITION Manager should be logged in Room must exist POSTCONTION The manager is able to update the price of each room type FLOW OF EVENTS BASIC FLOW Manager clicks on update price button on his/her account homepage System displays price list form with all room types available He enters the new prices of each room type in the new-price textbox. He clicks on save changes button System verifies input

A00286225

Page 24

ESSIEN EDUABASI EMMANUEL

U0845731

ALTERNATIVE FLOW EXCEPTIONAL FLOW Nil

System confirms System saves new prices in the room table in the database. Database confirms information saved Price is updated

Exp 1: If the input is invalid: price is too high, wrong input Error message appears Manager re-enters price Manager clicks save changes button System verifies price

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT PRECONDITION POSTCONTION

Add Room Hotel manager Hotel manager adds new rooms to the system

Room type, room reference number, number of rooms New rooms added to the system Rooms to be added must exist The manager is able to add new rooms Availability of new rooms FLOW OF EVENTS

BASIC FLOW

Manager clicks on add-room button on his/her home page System displays add-new-room form Manager keys in the room type, room reference number and number of rooms

Manager clicks on submit button

A00286225

Page 25

ESSIEN EDUABASI EMMANUEL

U0845731

System verifies input System confirms System verifies input from the room table at the database Database confirms System saves new room information in the room table at the database

ALTERNATIVE FLOW EXCEPTIONAL FLOW -

System displays message room added successfully

Exp 1 If the input is invalid: reference number exists, ref. number must start with a letter Error message appears Manager re-enters input Manager clicks submit button System verifies input Exp 2 Room reference number exist Manager has to enter a new ref. no

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT

Delete Room Hotel Manager Hotel manager uses this function to delete rooms from the system Room type, room reference number Rooms will be deleted from the system

PRECONDITION Manager must be logged in Rooms must exist

A00286225

Page 26

ESSIEN EDUABASI EMMANUEL

U0845731

POSTCONTION

Rooms deleted Less number of rooms available FLOW OF EVENTS

BASIC FLOW

Manager clicks on delete-room button located on his/her home page

System displays delete form page Manager chooses the room type from the room type drop down list

Manager chooses room reference number from the ref. no drop down list

He clicks on delete button Systems checks input information from the room table at the database

ALTERNATIVE FLOW EXCEPTIONAL FLOW Nil Nil

Database confirms System deletes room from the room table at the database Database confirms room deleted

FUNCTION ACTOR DESCRIPTION

Post Promotion Hotel manager Hotel manager will use this function to post promotion campaigns

INPUT OUTPUT PRECONDITION

Room type, room price, start date, end date, name of promotion Hotel promotions advertised on the hotel website Valid dates, New less price

A00286225

Page 27

ESSIEN EDUABASI EMMANUEL

U0845731

POSTCONTION

New less price advertised Customer sees adverts of new promotion on the hotel website. FLOW OF EVENTS

BASIC FLOW

Manager clicks on post-promotion button on his/her homepage.

System displays promotion campaign form. Manager keys in input in the form. Manager clicks on the post button. System verifies input. System confirms input. System verifies input from the promotion table at the database

Database confirms System saves new promotion information in the promotion table at the database.

ALTERNATIVE FLOW EXCEPTIONAL FLOW Nil

System displays message Promotion Posted System displays promotion on the hotel websites homepage

Exp 1 If the input is invalid: start date and end date invalid, room price is more than old price Error message appears Manager re-enters input Manager clicks submit button System verifies input Exp 2 Promotion name already exist
Page 28

A00286225

ESSIEN EDUABASI EMMANUEL

U0845731

Manager needs to key in a new name

FUNCTION ACTOR DESCRIPTION

Modify Account Customer and Manager Customer uses this function to change the details of his/her account

INPUT

Name, home address, phone number, email address, credit card information(number, expiry date and type)

OUTPUT

System changes customer details

PRECONDITION Customer must log in POSTCONTION Customer account updated Database is updated FLOW OF EVENTS BASIC FLOW - Customer clicks on the modify account button on his/her homepage - System displays customers account details page - Customer makes changes - Customer clicks on save changes button - System verifies changes - System confirms - System verifies from customer-info table at the database - Database confirms - System updates customers details in the customer-info table at the database ALTERNATIVE FLOW - Manager clicks on the modify account button on his/her homepage - System displays Managers account details page - Manager makes changes - Manager clicks on save changes button
A00286225 Page 29

ESSIEN EDUABASI EMMANUEL

U0845731

- System verifies changes - System confirms - System verifies from manager-info table at the database - Database confirms - System updates managers details in the customer-info table at the database EXCEPTIONAL FLOW Exp 1 If the input is invalid: Error message appears customer re-enters input customer clicks save changes button System verifies input Exp 2 Input already exist

FUNCTION ACTOR DESCRIPTION

Make Reservation Customer This function enables the customer to make reservation on the hotel website

INPUT

Start date, end date, type of room, number of persons, number of rooms

OUTPUT

- Reservation details - System generates a unique booking ID

PRECONDITION The room must be available POSTCONTION


A00286225

Room is reserved for the customer


Page 30

ESSIEN EDUABASI EMMANUEL

U0845731

FLOW OF EVENTS BASIC FLOW Customer clicks on make reservation button on his/her homepage System displays room reservation page Customer keys in start date, end date, number of persons, number of rooms Customer selects type of room from the room type drop-down list Customer clicks on the submit button System verifies input System confirms System verifies from the reservation table at the database Database confirms System saves information in the reservation table at the database System generates Booking ID System stores booking ID in the reservation table at the database ALTERNATIVE FLOW EXCEPTIONAL FLOW Exp1: If the input is invalid: start date and end date invalid Error message appears Customer re-enters dates Customer clicks submit button System verifies input Exp 2: Room is not available: Customer has to change the input details
A00286225 Page 31

System display a confirmation message with the booking ID

Nil

ESSIEN EDUABASI EMMANUEL

U0845731

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT

Cancel booking Customer This function enables the customer to cancel his/her reservation Booking ID System cancel customers booking details

PRECONDITION Customer must have a valid booking ID POSTCONTION Reservation canceled More room will be available to other people FLOW OF EVENTS BASIC FLOW Customer clicks on cancel reservation button on customers home page System displays booking-record page Customer enters booking ID System verifies input System confirms System verifies from the reservation table at the database Database confirms record System displays active booking record on the booking-record page A00286225

Customer clicks on the cancel-button beside a record


Page 32

ESSIEN EDUABASI EMMANUEL

U0845731

System deletes record from the reservation table at the database

ALTERNATIVE FLOW EXCEPTIONAL FLOW Nil

Database confirms record deleted System displays a message reservation cancelled

EXP 1: If the input is invalid: booking ID is not complete, empty textbox Error message appears Customer re-enters input Customer clicks submit button System verifies input EXP 2: Booking ID does not exist

A00286225

Page 33

ESSIEN EDUABASI EMMANUEL

U0845731

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT

Print reservation Customer Enables the customer to print his reservation details Booking ID Hard copy of reservation

PRECONDITION Customer must have booking ID POSTCONTION Customer is able to view his/her reservation and print it FLOW OF EVENTS BASIC FLOW Customer clicks on print reservation button on customers home page System displays booking-record page Customer enters booking ID System verifies input System confirms System verifies input from the reservation table at the database Database confirms record System displays active booking record on the booking-record page ALTERNATIVE FLOW Customer clicks on the print-button beside a record System sends information to his/her external printer Printer confirms Printer prints hardcopy

ALT 1: ALT 2: When a customer browses his/her booking, he can print After making reservation, customer clicks print button on the same reservation page

A00286225

Page 34

ESSIEN EDUABASI EMMANUEL

U0845731

EXCEPTIONAL FLOW -

EXP 1: If the input is invalid: booking ID is not complete, empty textbox Error message appears Customer re-enters input Customer clicks submit button System verifies input EXP 2 Booking ID does not exist

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT

Browse Booking Customer customer will use this function to browse his/ her booking Nil System displays customers reservation

PRECONDITION Booking must exist POSTCONTION Customer is able to view his/her reservation FLOW OF EVENTS BASIC FLOW Customer clicks on Show booking button at his/her homepage System verifies from the reservation table at the database Database confirms record System displays list of active booking record on the bookingrecord page Customer clicks on the view details button beside a record System displays reservation details on the booking-details

A00286225

Page 35

ESSIEN EDUABASI EMMANUEL

U0845731

page

ALTERNATIVE FLOW EXCEPTIONAL FLOW

Nil

Exp 1: There may be no active booking. System displays a message showing no active records

FUNCTION ACTOR DESCRIPTION

Search User and Customer Enables the user and customer to search for the availability and price of rooms

INPUT OUTPUT PRECONDITION

Start date, number of nights, number of persons System displays list of available rooms types with their prices The hotel system must be available Valid input

POSTCONTION

User is able to view what he searched for FLOW OF EVENTS

BASIC FLOW

User clicks on the search room button on the hotel websites homepage

System displays the search form User selects start date from the date time picker User keys in number of night in the nights text box and number of people in the persons textbox

User clicks on the submit button

A00286225

Page 36

ESSIEN EDUABASI EMMANUEL

U0845731

System verifies input System confirms input System verifies input from the reservation table at the database

ALTERNATIVE FLOW EXCEPTIONAL FLOW 1. 2. Nil

Database confirms System displays list of available room types and their prices

If the input is invalid: start date invalid Error message appears User/Customer re-enters date User/Customer clicks submit button System verifies input Room is not available: User/Customer has to change the input details

FUNCTION ACTOR DESCRIPTION INPUT OUTPUT

Check In Customer Enables the customer to check-in when he comes to the hotel Booking ID, email, password System displays room number System dispenses room key card

PRECONDITION System must be available POSTCONTION Customer is able to check in FLOW OF EVENTS BASIC FLOW Customer clicks on check-in button from the from the hotel systems welcome page System displays a log in form

A00286225

Page 37

ESSIEN EDUABASI EMMANUEL

U0845731

User keys in his email and password in the provided textboxes

User clicks login button System verifies input of the customers email and password such as: password length, empty string.

System confirms input System verifies customers email and password with Customer-Info table in the database

Database confirms. System display a check-in form telling customer to enter his/her booking ID

Customer enters his/her booking ID in the booking ID textbox Customer clicks ok button System verifies ID System confirms System verifies booking ID from the reservation table at the database

Database confirms ID System displays reservation details and the room reference number

ALTERNATIVE FLOW

System dispenses room key card Customer takes the room key card

Reservation: System displays a log in form User keys in his email and password in the provided textboxes User clicks login button System verifies input of the customers email and password such as: password length, empty string. System confirms input
Page 38

A00286225

ESSIEN EDUABASI EMMANUEL

U0845731

System verifies customers email and password with Customer-Info table in the database

Database confirms. System displays check-in form Customer enters number of nights and number of persons System displays the available types of rooms and prices for the period of stay

Customer chooses room by selecting the radio-button beside each room type

Customer click submit button System verifies input System confirms System records reservation information at the reservation table at the database

System displays reservation details and room number on the reservation-detail page

EXCEPTIONAL FLOW 1.

System dispenses room key card If the input is invalid: Booking ID is not complete, wrong email and

password 2. Error message appears Customer re-enters dates Customer clicks submit button System verifies input Booking ID has expired: customer has to make new reservation 3. Rooms not available

FUNCTION ACTOR
A00286225

Check-out Customer
Page 39

ESSIEN EDUABASI EMMANUEL

U0845731

DESCRIPTION INPUT OUTPUT

Enables the customer to check-out of the hotel Room key card Receipt

PRECONDITION Room key card must be inserted into the check-out machine POSTCONTION System prints receipt for the customer Payment is deducted from customers credit card FLOW OF EVENTS BASIC FLOW Customer inserts room key card into the check-out machine System verifies from the reservation table at the database Database confirms System calculates customer charges System displays total charges on the check-out page System sends payment details and credit card information to an external payment gateway External gateway verifies information External gateway confirms by sending an approval code to the system ALTERNATIVE FLOW EXCEPTIONAL FLOW Money is not enough in the credit card: systems asks customer to pay cash over the counter on the incomplete payment form. System sends notification to the receptionist that the customer should pay at the counter Customer goes to pay at the counter Nil System prints receipt

A00286225

Page 40

ESSIEN EDUABASI EMMANUEL

U0845731

SEQUENCE DIAGRAMS Login sequence

clic s login button displa s


4 3

e s in email add ess and passwo d


2 2

e if input
2

database confi m
2

displa s/open

A00286225

E p1

e if

E p

8 7

2 2

custome

clic s login button

2 2

2 2

home page

login page

cutome info table

custome account page

Page 41

ESSIEN EDUABASI EMMANUEL

U0845731

Login Alt1

m n g m ng

in ID o

if ID onfi m

A00286225

C PA H I

U TS

FC

t m

D E @ HA A AI

B P @R

B H@ @R

@ HPH

FD

m n g

li

login

tton

ifi

t m i

wt

t o

in

Q@

C D H H@ A H I

@ H PH

DG

m ng

C PA H I

9 B E@ E @

GB H P@ @ A A

G B H E E @ A A

G 9 B H E@ E @

FD

G H E E

B
li login tton

ot l m n g

om

Log in

m n g info t l

C F @ A E EA B @ A A
m n g o t g

D @ A B @ A A

C @ A

C @ A @

@ A A

Page 42

ESSIEN EDUABASI EMMANUEL

U0845731

Add room sequence

manager

account home page

add new room form page

room table

clic s on add room button displa s


W V

e s in room t pe, room ref number,no of rooms

clic s on submit button


V

erif and confirm input


b X

erif with

e p1 error msge for wrong input

return confirmation a eroom details


W a `

confirms(succesfull added)

A00286225

p2

Page 43

ESSIEN EDUABASI EMMANUEL

U0845731

Delete room sequence

otel

er l c s elete room utton


e u t

n e ome e

Delete

oom t

Ds l
q

l c s elete utton ec
p xt s p r e u t

on rm

A00286225

uu

on rm t on recor

elete

Delete recor

w s

sd

w s

x uq u

c ooses room re erence num er rom t e re no ro


yw p w e w p

o n l st

x uq u q

w q

c ooses t e room t
p p

e rom t e room t

e ro

o n l st

e d

i q d

vd

i q p d i h d d sr v

le

sr

i h d d

gf

Page 44

ESSIEN EDUABASI EMMANUEL

U0845731

Post promotion Sequence

manager

manager account home page

promotion campaign form page

promotion tab e

hote website homepage

c ic on post promotion button disp a s

e in input

c ic s on post button

erif input

Verif E p1

E p2 return confirmation sa es information

promotion posted Disp a

A00286225

Page 45

ESSIEN EDUABASI EMMANUEL

U0845731

Update price sequence

ana er

c ic s update price utt n


isp a s

c ic s n sa e c an es utt n

c n ir s in r ati n sa ed

A00286225

e p

sa es ne price

enters ne price

eac r

eri

input

ana er acc unt epa e


price ist pa e

ta e

Page 46

ESSIEN EDUABASI EMMANUEL

U0845731

Register sequence

ic s register utt n

is

e s in in ut

erif in ut

Return c nfirm t i n

t re Inf rm ti n

nfirms inf rm t i n s e

Gener t e unique

ss

ss

A00286225

nfirm t i n( is

ss

r in

mess ge

Page 47

g e i f

zmq

w xo

m o

w m y on xoj

m o

m o

w m y on korn w

mj

w m y on

mp

erif

m o

m w o k

mp

h g fe

q j s rp

ic s

u mit utt n

n c nfirm in ut

rqo m

on m o

korn t

on

ku

ml kj m q s rp

stem me ge

Registr t i n f rm ge

ust mer-inf t e

ESSIEN EDUABASI EMMANUEL

U0845731

Modify account sequence

customer

customer account homepage

account detail page

customer info table

clicks on modify account button displays

make changes

clicks on save changes button

verify input Exp 2

Verify return confirmation

Exp1

update customer details Databaseconfirms

A00286225

Page 48

ESSIEN EDUABASI EMMANUEL

U0845731

Modify account Alt 1

: r t urn confir ation

A00286225

: a

infor ation

 ~

: clic

it utton

y in n

d t ail

| |

1: clic

odify account utton : i lay

rify and confir

|{ 

|{ |{

: Mana

in ut

rify

| |{

|{  |~ } |{

Mana

r o

Modify account a

Mana r-info ta l

Page 49

ESSIEN EDUABASI EMMANUEL

U0845731

Make reservation sequence

customer

customer acc home page

reservation page

reservation table

clicks make resvervation button displa s

ke in start and end date, no of person select t pe of room

clicks on submit button verif input erif

saves information confirm generate I

confirm ( displa booking I )

A00286225

saves booking I

1: Ivalid input

onfirm p2: ooms ...

Page 50

ESSIEN EDUABASI EMMANUEL

U0845731

Browse booking sequence

cus o er

c icks on s ow booking bu on

e no booking e is eri

c icks iew e i s

is

s reser

ion e i s

A00286225

is

s c i e booking recor s

b se con ir

cus o er cc o e ge

reser

ion be

booking recor ge

booking e i s ge

Page 51

ESSIEN EDUABASI EMMANUEL

U0845731

Cancel reservation sequence

Click cancel reservation button

isplay

nter booking I

erify

atabase confir s

isplay list of active bookings

Click cancel button

elete record

Confir s (sho s

essage record deleted)

A00286225

Page 52

erify and confir

Custo er

Custo er o epage

ooking record page

ookings

eservation able

ESSIEN EDUABASI EMMANUEL

U0845731

Print reservation

sto er

s on rint

tton

is a s

enters oo in

veri

on ir

veri ies oo in

on ir

is a s a tive oo in re or

s on rint

tton sen s in or ation

on ir ation

rint

A00286225

o e a e

oo in re or a e

reservation ta e

e terna rinter

eservation ar o

Page 53

ESSIEN EDUABASI EMMANUEL

U0845731

Search sequence

s er

c s Search

s a

Se ec S ar a e

c s Su

er

an

n r

n u

er

n u

n r a n

s a

a a a er

s an

h er r c es

A00286225

e s n nu

er

n h s nu

er

e e s es h e a e

Search a e

eser a n a e

esu s a e

Page 54


e C


C ni is i n kin e is n e


x 1
ei

 
x



kin C icks u n ei kin



e u n C ni i n is ne


ei n u


i n


e is e ss is


kin


ese


e n e

ESSIEN EDUABASI EMMANUEL

Check in sequence

in

Cus

Check in

i n e

Cus

c icks checkin u n

cus

Cus

e ke s in e

e c icks

in u n

e i in u

kin

 

A00286225
is ense

is ensin e ice

U0845731

Page 55

ESSIEN EDUABASI EMMANUEL

U0845731

Check-out sequence

: Customer

Check-out Machine

ReservationTable

CheckoutPage

External Payment Gateway

RecieptPrinter

InsertRoomKeyCard

VerifyInformation

Confrimation

Calculate Charges

DisplayTotalCharges

Sends Payment and CreditcardInformation

Verify Information

Confirmation(SendApproval Code)

PrintReciept

A00286225

Exp

Page 56

ESSIEN EDUABASI EMMANUEL

U0845731

CLASS DIAGRAM

(fr m )

1..n

1..n

Collects
1..n

room number

Login() 1 odify account() make reser ation() browse booking() check-in() check-out() 1 cancel booking() 1

Dispense
1 checkin machine 1 1..n Room Type Price Reference number 1..n Reser ation Start date 1 End date Number of persons Booking ID 1 number or rooms type of room 1..n

Collects Made by
1 1 Payment 1 m arges Ser i e arges

Managed by
1..n

Dispense key card()

Reciept

Print
1 checkout machine Print reciept()

A00286225

!

     

Date time Reciept ID Total price 1

prints
1

Approves
1 gateway Send appr al de()

 &

owns

name Home address Phone number email Password

owned by

Room

ey card

%  $

Customer

" 1

Card number Expiry ate Type

User name Type Email 1 ne number m e address User upati n

#  

Credit Card

nt

Manages

ogin() ddroom() 1 delete room() update pri e() post promotion( ... 1

0 "

egister() 1 sear () Register

ame Home ddress Phone umber email

0 ' % "

User

t el

anager



'

Posts
Promotion 1..n Name Start date end date Discounted price Room types

manages
1..n

promotes

Printer Print reser ation()

Page 57

ESSIEN EDUABASI EMMANUEL

U0845731

PACKAGE DIAGRAM
Payment Credit Card
(from )

System Users Account


(from Use Case View)

Card number Expiry Date Type Payment


(from Use Case View)

1 owns 1

Customer
(from Use Case View)

Room charges Service charges 1 Approves 1 gateway


(from Use Case View)

Made by mak es

name Home address Phone number email Password Login() Modify account() make reservation() browse booking() check-in() check-out() cancel booking() 1

1..n Modify 1 owned by

User name Type Email Phone number Home address User Occupation 1..n 1 Manages Hotel Manager
(from Use Case View)

1 Collects 1 1

Register

ID Name Home Address Phone Number email Login() Addroom() delete room() update price() post promotion() 1 1

Send approval Code() 1 Reciept


(from Use Case View)

1 User
(from Use Case View)

checkout machine
(from Use Case View)

Print

Print reciept()

Date time Reciept ID Total price Managed by

Register() search()

Collects

Room 1..n Reservation


(from Use Case View)

manages

1 1..n Room Key card


(from Use Case View)

prints

Start date End date Number of persons Booking ID number or rooms type of room 1

Posts

Printer
(from Use Case View)

room number 1

Print reservation() 1

Dispense

1..n 1..n 1 1 checkin machine


(from Use Case View)

1..n Promotion
(from Use Case View)

Room
(from Use Case View)

Dispense key card()

Type Price Reference number

1..n

promotes

1..n

Name Start date end date Discounted price Room types

A00286225

Page 58

ESSIEN EDUABASI EMMANUEL

U0845731

DESIGN STRATEGY

The design strategy we chose is custom development due to the nature of the business need of the system. The business need of the system is to reduce the workload of the reception staff and make reservation, check in and check out more effective and efficiently. It also enables the public users to register an account and search for price and availability of rooms. It allows the customer to make reservation, print, browse, check in and check out. The next reason is that the in-house experience is very high because we have well experienced project team; the task now is to develop a new system that will work best for the users. The system requirements are specific, making it difficult to find an existing or readymade system package to support it. We use this strategy to develop our in-house experience in handling the problems that may arise in the course of using it.

CLIENT SERVER ARCHITECTURE FOR ABC HOTEL MANAGEMENT SYSTEM

ABC Hotel system is using the Client Server architecture which shows the relationship between two computer programs in which one program is a client, which makes a service request to another program called server which provides service to the request. These mean that; whenever the user sends a request or input data into the system then, the server will work through the system and produce a result for the user which will be displayed on the screen for the user. From the diagram below the system has a database with three main tables, one for the public to allow public users to register an account, and search for price and availability of rooms and one for the customer to make reservation, check in and check out and the private one for the hotel manager to update prices of rooms and post promotions to the hotel website.

A00286225

Page 59

ESSIEN EDUABASI EMMANUEL

U0845731

CONCLUSION
This is an automated hotel management sytem, which is aimed at making workload easy for all the users of the system(receptionist, manager, public user and customer). The approach used in creating this system is object oriented approach,this approach was chosen because it is scalable,reusable, maintainable and above all it improves reliability and flexibility. The tools used when designing this system are rational rose(used for the design phase), microsoft visual studio(used in the implementation stage) and microsoft office 2007(used for the documentation).

A00286225

Page 60

ESSIEN EDUABASI EMMANUEL

U0845731

REFERENCES y y SOMMERVILLE, I.., 2004, software Engineering. 7th Ed, Addison Wesley CHARATAN, Q AND KANAS, A.., 2006, java in two semesters.2nd ED., McGrawHill

A00286225

Page 61

Vous aimerez peut-être aussi