Professional Documents
Culture Documents
Institute of Technology
Title
Hotel Information Management System for
Ethio-Star Hotel
Submitted
January 2013
Bahirdar Ethiopia
Hotel Information Managment System
Title
Hotel Information Management System for
Ethio-Star Hotel
By
1. Behailu Kibret……………………………………142/02
2. Helawe Behailu……………………….…………415/02
3. Michael Tsegaw …………………………….….552/02
4. Selemon Seife……………………………………668/02
INFORMATION SYSTEM
June 2012
Bahirdar, Ethiopia
Declaration
The Project is our own and has not been presented for a degree in any other university and all
the sources of material used for the project/thesis have been duly acknowledged. (Name and
Signature up to the number of the project group members)
Name Signature
I certify that this project satisfies all the requirements as a project for the degree of Bachelor of Science.
------------------------------------- ---------------------------------------------
Name of program coordinator Signature
This is to certify that I have read this project and that in my opinion it is fully adequate, in scope and
quality, as a project for the degree of Bachelor of Science.
------------------------------------- ---------------------------------------------
Name of Advisor Signature
It is approved that this project has been written in compliance with the formatting rules laid down by
the school of the university.
Acknowledgement
Special thanks for our adviser Ato Abinew Ali for continuous support in every phase of
the project and who continuously provides us his valuable advice to prepare this project
document. Also thanks to the Ethio-star hotel workers who gives for us a correct
requirement for the system developed by our group members.
Our Appreciation also extends to our instructor’s who helps for us to develop this
project
Lastly, we would like to acknowledge all our friends for their morals, idea, materials and
financial support during the courses of the years.
Table of content
Content Page No
1. INTRODUCTION ............................................................................................................................................. 1
3. SYSTEM DESIGN........................................................................................................................................... 88
List of tables
Content Page No
List of Figures
Content Page No
Figure 1: Use case Diagram ......................................................................................................................... 11
Figure 2: Activity Diagram- Book reservation ............................................................................................. 36
Figure 3: Activity Diagram- Cancel reservation........................................................................................... 37
Figure 4: Activity Diagram- Update reservation ......................................................................................... 38
Figure 5: Activity Diagram- Search room .................................................................................................... 39
Figure 6: Activity Diagram- View hotel profile ............................................................................................ 40
Figure 7: Activity Diagram- Leave comment ............................................................................................... 41
Figure 8: Activity Diagram- Search customer information ......................................................................... 42
Figure 9: Activity Diagram- View comment ................................................................................................ 43
Figure 10: Activity Diagram- Login .............................................................................................................. 44
Figure 11: Activity Diagram- Logout............................................................................................................ 45
Figure 12: Activity Diagram- Permit leave .................................................................................................. 46
Figure 13: Activity Diagram- Generate report ............................................................................................ 47
Figure 14: Activity Diagram- Authorize payroll ........................................................................................... 48
Figure 15: Activity Diagram- Add room....................................................................................................... 49
Figure 16: Activity Diagram- Delete room .................................................................................................. 50
Figure 17: Activity Diagram- Update room ................................................................................................. 51
Figure 18: Activity Diagram- Add employee ............................................................................................... 52
Figure 19: Activity Diagram- Terminate employee ..................................................................................... 53
Figure 20: Activity Diagram- Update employee .......................................................................................... 54
Figure 21: Activity Diagram- Change hotel profile ...................................................................................... 55
Figure 22: Activity Diagram- Prepare payroll .............................................................................................. 56
Figure 23: Activity Diagram- Take attendance ............................................................................................ 57
Figure 24: Activity Diagram- View authorized payroll ................................................................................ 58
Figure 25: Activity Diagram- Register ......................................................................................................... 59
Figure 26: Sequence Diagram- Book reservation ....................................................................................... 60
Figure 27: Sequence Diagram- Cancel reservation ..................................................................................... 61
Figure 28: Sequence Diagram- Update reservation .................................................................................... 62
Figure 29: Sequence Diagram- Search room .............................................................................................. 63
Figure 30: Sequence Diagram- Visit Hotel .................................................................................................. 64
Figure 31: Sequence Diagram- Leave Comment ......................................................................................... 65
Figure 32: Sequence Diagram- Search customer information .................................................................... 66
Figure 33: Sequence Diagram- View comment........................................................................................... 68
Figure 34: Sequence Diagram- Login .......................................................................................................... 68
Figure 35: Sequence Diagram- Logout ........................................................................................................ 69
Figure 36: Sequence Diagram- Permit leave ............................................................................................... 71
Figure 37: Sequence Diagram- Generate report......................................................................................... 72
1. Introduction
Some business websites like (www.businessdictionary.com) defines hotel as the following:
Hotel is a commercial establishment providing, lodging, meals and other guest services. In
general, to be called a hotel, an establishment must have a minimum of six letting bedrooms, at
least three of which must have attached private bathroom facilities. Although hotels are
classified into 'Star' categories (1-Star to 5-Star), there is no standard method of assigning these
ratings, and compliance with customary requirements is voluntary. A US hotel with a certain
rating, for example, it may look very different from a European or Asian hotel with the same
rating, and would provide a different level of amenities, range of facilities, and quality of
service.
A Hotel Information Management System (HIMS) is an automated system for the hotel
management; it thus creates standards in hotels according to customer needs, satisfying their
general comfort.
Louw, D, (2006, may 10). Description with UML for a Hotel Reservation System. Retrieved from
Developed a hotel management system that can be used online. This system allows the guests
to do their booking online by them self. Some of tasks that the system can do are providing a
query for arriving date and the length of staying. Providing the number of on rooms, view all
available rooms and providing the user the ability to choose one or more of them, recording
kind of guests and how many going to be in the single room, providing the cost of booking,
asking the user if they want additional services; such as, dinner or breakfast, storing the guests
details; like, name, address and telephone, asking the user for confirmation, final confirmation
views with the detail of booking and the guests can review or cancel the booking.
Hotel Information Managment System
For more understanding to the system the author provided some figures with
explanation. The first figure shows the relationship between the end user and the web server
and how the user interfaces start.
The article has 3 Unified Modeling Languages use case diagram between the receptionist
and the hotel system. The first UML deals only with the computer’s action; the second a use
case that specifies separate human and computer actions; and the last is a task descriptions,
which do not separate human and computer actions. These UML diagram helps us to
understand the functional requirements a hotel management system.
1.2. Background
Ethio-star hotel was established in May 1995EC with a few staff members currently the hotel
has around 49 staff members. The hotel is 3 star hotel giving services in a way that users and
customers have proved. Currently the hotel has 77 bedrooms which are four types (single,
double, triple and family) with different prices. All the rooms have shower (both hot and cold),
mini fridge, wireless internet service, telephone in room dinning.
1.3. Objective
The project has both general and specific objectives here are the general objective and then
Specific objectives
• Design a new system that can overcome the problem of the current system
• Identify functional and non functional requirements for the new systems.
Bahirdar is one the fastest growing city in Ethiopia. Ethio-Star hotel is an organization that was
established in the area. People reserve hotels for their day to day activities, for this reason data
handling and record keeping for customers is very difficult today because, the hotel has kept
the data with paper records in filing cabinets so it can’t allow employee of the hotel to retrieve
customer information from the manual. Now Ethio-star hotel has its own website, customer
who is online can do only a specific action like view the hotel’s profile. It can’t allow customer
to book reservation online, cancel reservation online, update reservation online, leave
comment online and search room online.
The existing (manual) system of Ethio-star hotel has the following limitations
Existing System is manual management System
Records are managed manually so it is very hard to maintain the records
systematically
There is no data security in the present system, so any user can view and change the
data anyway.
Difficult to generate report
Storage problems (Update, Search, Delete, Edit), these are very time taking
No support in decision-making
Because Bahirdar city becomes very fast growing and a tourist destination city our
group would like to develop a new hotel information management system.
We would like to develop the new system in order to change and add value to
Bahirdar cities ICT Background.
After studying the existing system and identifying the limitations, we designed a new system
that can provide and ensure the following features:
Provide easy access to clients (customers) and employee information.
Satisfy customer’s needs and demands.
Ensure fast and accurate record keeping mechanisms.
Provide system simplicity, reliability, fast, user friendly and reliable work.
Provide very Secured data keeping (unauthorized users can’t access the system)
Make a system easy to modify the existing data and customer’s information (Search,
Update, Delete)
1.5. Methodology
Notepad ++
PHP (We use PHP language for the system development, and our system
(software) will be compatable on all hardware platforms such as windows & linux)
Macromedia Dreamweaver 2008
MySql server
Apache server
1.6. Scope
Although, design concepts, outputs and other components of the Project can be used for
different purpose, the implementation of this project is on Online reservation and human
resource management. The scope of the project mainly deals with providing online Book
reservation, Cancel reservation, Update reservation Information, and human resource parts like
add employee terminate employee and update employee and etc but our system does not
integrate with bank.
Chapter two
2.1. Introduction
The main reason for writing this system requirement specification (SRS) document is to find out
the problem of the existing system and then to propose the new system. The requirements that
specified below will describe the functions that the software is responsible and packages that it
should include. These requirements are used by the developers and should use for validating
the final delivered system. Any alternations shouldn’t be taken by the developers without the
real requirements gathered from the clients, so the developers are responsible and should
investigate with the requirements clearly.
Functional requirements describe the relations between the system and the user or the
environment. Here the ‘relations’ means the direct or indirect interactions between the user
and the system. Hence the system has the following stakeholders with different requirements
Customer
RQ1, The system allows Customers to reserve room.
RQ2, The system allows Customers to cancel reserved room.
RQ3, The system allows Customers to update reserved room.
RQ4, The system allows Customers to search for available room.
RQ5, The system allows Customers to leave comment as a feedback for hotel admin.
RQ6, The system allows Customers to Visit Hotel on the web site.
RQ7, The system allows Customers to register when they use for first time.
Manager
System Administrator
Receptionist
Payroll clerk
Casher
The hardware and software component of a computer system that is required to install and
use software efficiently. If your computer system does not meet the system requirements then
the software may not work correctly after installation. System requirements for operating
systems will be hardware components, while other application software will list both hardware
and operating system requirements.
Book Reservation
Cancle Reservation
Receptionist
Update Reservation
Customer
Search Room
Generate report
Update Room
Manager
Update Employee
Log Out
Add Employee
«uses»
Authorize Payroll
System Adminstrator
«uses»
Add Room
Log In
Take Attendance
View Authorized
Payroll
Casher
Basic course of
action User action System response
1. The user opens the ‘cancel 2. The system will display a
reservation’ page. ‘cancel reservation’ form
that helps the user to
3. The user enters the reserved choose the room to be
room’s information on the form. canceled.
11. The user will click save button. 9. The system will display a
form that contains the
14. End use case. selected reserved rooms’
information.
Alternative course of action 7. If the type of the room that the user looking for is not
found go back to steps 3, 4, and 5 of the basic course of
action.
Actor Customer
Description: The customer register online
Actor Customer
Description: The customer visits the hotel’s profiles on its official
website.
Precondition The customer should have internet access or connection.
Basic course of action
User action System response
1. The user opens a web 3. The browser displays the
browser. hotels profile on the webpage.
Actor Customer
Description: The customer leaves a comment on the hotel’s website for
the manager as a feedback.
Precondition The customer should visit the hotel first.
Alternative course of action 8. If the comment form didn’t fill properly go to step 3, 4, 5
and 6 of the basic course of action.
Actor Receptionist
Description: The receptionist searches the customer’s information that
reserves a room in the hotel.
Precondition A customer should reserve a room.
Actor Manager
Description: The manager will view comments sent from customers.
Alternative course of action 7. If the username and password are incorrect go to step 2,
3, 4 and 5 of the basic course of action.
Actor Manager
Description: The manager gives leave permission for the employees.
Actor Manager
Description: The manager views the payroll that the payroll clerk
prepares and authorizes it to the casher.
Precondition The payroll clerk should prepare a payroll.
Alternative course of action 6. If the payroll is not correct the system will send back the
payroll to the payroll clerk to make it correct.
Alternative course of action 7. If the form is not filled correctly go to step 3, 4 and 5 of
the basic course of action.
Alternative course of action 7. If the form is not filled correctly go to step 3, 4 and 5 of
the basic course of action.
11. The system admin will click 12. If all form fields filled
save button. correctly the system will display
a successful message.
14. End use case.
Alternative course of 7. If the employee is not found go back to steps 3, 4 and 5 of the
action basic course of action.
13. If form not filled correctly go to step 9, 10 and 11 of the basic
course of action.
Actor Casher
Description: The casher will view the authorized payroll by the manager
and pay employees their salary according to the payroll.
Precondition The manager should authorize the payroll.
Alternative course of action 4. If the manager didn’t send the payroll, the casher will
send a notification for the manager which says I didn’t get
any payroll for this month.
Book reservation
AD # 1
{Incorrect}
{Correct}
Reserved Succesfully
Cancel Reservation
AD # 2
{Notfound}
{Found}
Update reservation
AD # 3
{Notfound}
{found}
Search room
AD # 4
users enter the rooms information to check weather the room is avalible
{Notavaliable}
{avaliable}
The User enters the official hotel address on the browser address bar
Leave coment
AD # 6
{Not filled}
{Filled}
{Not found}
{found}
View comment
AD # 8
Log in
AD # 9
{Incorrect}
{Correct}
Log in successfully
Log out
AD # 10
Logout successfully
Permit leave
AD # 11
{Notfound}
{Found}
The adminstrator checks that the leave permission is avaliable for that employee
{Notavaliable} {Avaliable}
Genarate report
AD # 12
Authorize payroll
AD # 13
Add Room
AD # 14
The system checks that all the fields have filled properly
{Incorrect}
{Correct}
Delete room
AD # 15
{Notfound}
{Found}
Update room
AD # 16
{Notfound}
{Found}
Add Employee
AD # 17
The system checks that all the fields have filled properly
{Incorrect}
{Correct}
Terminate Employee
AD # 18
{Notfound}
{Found}
The adminstator specifies the reason for the termination then click the terminate button
Update employee
AD # 19
{Notfound}
{Found}
Prepare payroll
AD # 21
The accountant calculate the number of days an employee absented interms of money
The accountant substracted the penality birr from the monthly salary of the employee's
The accountans make the summetion of all the employee according to their penality of absent
The accountant prepares a report for a payroll that show the above salary calculation
Take attendance
AD # 22
Register
AD # 24
The system checks that all the fields have filled properly
{Incorrect}
{Correct}
Registered successfully
Book Reservation
SD # 1
Reervation Page<<UI>>
User<<Actor>> Home page<<UI>> Database
{If the user didn't fill [if not fielled] Display error()
a fieled, the user
will try again }
Cancel reservation
SD # 2
open()
{The user opens the
home page}
Search room()
{ The user searches the
room to be canceled on the
cancel reservation form}
Update reservation
SD # 3
open()
{The user opens the
home page}
Search room()
{ The user searches for
a room to be update its
resrvation information}
Search room
SD # 4
open()
{The user opens the
home page}
{If the room is found display [if not found] Try again()
the result on the search page}
Visit Hotelt()
SD # 5
Customerr<<Actor>> Web browser Web server
Open()
{the customer open the browser}
Leave Comment
SD # 6
Open ()
{The customer opens
the home page}
{If the customer fills the customer [if incorrect] Display errors()
in the form incorrectly the form
displays an error on the page
}
Receptionist<<Actor>>
Home page<<UI>> Search page <<UI>> Database
Open()
{ The receptionist will
open the search page}
View comment
SD # 8
System Adminstarator<
Actor>> Main menu<<UI>> Search page <<UI>> Database
Login()
{The System adminstrator will login
the main menu}
Login
SD # 9
Open ()
{The user opens
the login page}
Logout()
SD # 10 User<<Actor>> Logout Button Logout page <<UI>>
Click()
{ The user clicks the logout button}
Permit leave
SD # 11
Checks employee()
{The form will check the avaliability
of the employee in the database}
{ The manager will choose the reason Choose reason for leave()
why the employee leaves}
Generate report
SD # 12
open()
{The manager will opens the
home page}
Login()
{ The manager will login in to the report page}
Genarate Information()
{ The manager genarate information from a report}
Authrize payroll
SD # 13
Open()
{The manager opens the
home page}
Login()
{The manager will login in to
the payroll page}
{ The manager will checks [if the payroll correct] Send it to the Cahser()
the correctness of the
payroll and send it to the
casher if it is correct}
Add room
SD # 14
System Administrator
<<Actor>> Main menu<<UI>> Add room page<<UI>> Database
Open ()
{ The System administrator
will open the add room page.}
Delete Room
SD #15
Update room
SD # 16
System Adminstarator<
Actor>> Main menu<<UI>> Search page <<UI>> Database
Login()
{The System adminstrator will login
the main menu}
Add employee
SD # 17
Login ()
{The System administrator will
login to the main menu.}
Open ()
{ The System administrator
will open the add
employee page.}
Terminate Employee
SD # 18
Update employee
SD # 19
System Adminstarator<
Actor>> Main menu<<UI>> Search page <<UI>> Database
Login()
{The System adminstrator will login to
the main menu}
Open()
{ The System adminstrator open
the hope page file}
{The system adminstartor edit that file Edit (Chenge profile on it)
(chenge information of the hotel)}
Save chenges()
{ The System adminstrator save fro chenge}
Prepare Payroll
SD # 21
Payroll clerk<<Actor>
> Home page<<UI>> Payroll page <<UI>> Database
Open ()
{The Payroll clerk will opens the
home page}
Login ()
{ The Payroll clerk will login
to the Payroll page}
Take attendance
SD # 22
Login ()
{The Payroll clerk will login to
the system.}
Open ()
{ The Payroll clerk will open the
attendance page.}
View authorized
payroll
SD # 23
Register
SD # 24
Open ()
{The customer will opens the
register for membership page}
Flexibility:-
Scalability:-
Speed:-
Security:-
Our system gives direct input on how real users use the system.
Portability:-
Efficiency:-
Reliability:-
Reliability:-
Our system will work properly in specified environment and for given time
Our system will developed based on the collected requirements
Customer
User who needs service of the hotel through online hotel management information
system.
Receptionist:
is user of the system who gives service to the customer when the customer comes to
the hotel to find service
Manager
Direct user of the system that coordinates or manages employee of the hotel
System administrator
Direct User of the system that performs critical actions like add rooms, delete rooms,
update rooms for customers that are on the web who wants to use hotel.
Payroll clerk
User of the system who checks daily attendance and prepare reports
Casher
User of the system who pays monthly salary for employee based on the authorized
payroll
Chapter Three
3. System Design
A Deployment Diagram depicts how the deployable units of the system applications,
components, and data stores are assigned to various nodes, as well as how the nodes
communicate with each other and with devices. It’s useful both as a map of your system and as
a means for studying the load across your System.
Web browser
Mosila Firefox
Apache My SQL
Internet Explorer
Google Chrome
It is the architecture that determines the type of interactions that the components are going to
have. The architecture that this work uses is client/server based architecture. In this type of
architecture the server is responsible to receive a request from the client and respond to the
request, whereas the client is responsible to interact with that of the users of the system. The
server parts of this work are of two types. The first type is a web server, which is responsible to
receive browsers’ request through http protocol and responds accordingly. Whereas the second
type of server is a database server, which is responsible to provide the requested database
services to the web server. The database server is generally responsible for modification and
insertion of data to the database. It can only communicate with the web server. The client side
is a web browser which receives requests from the user of the system and responds to the
request by communicating with the web server. If the user has a request on data, the browser
passes the request to the web server then the web server pass the request to the database
server. Figure 1 shows the architecture of the system.
Class Diagram provides an overview of the target system by describing the objects and classes
inside the system and the relationships between them. It provides a wide variety of usages;
from modeling the domain-specific data structure to detailed design of the target system. With
the share model facilities, you can reuse your class model in the interaction diagram for
modeling the detailed design of the dynamic behavior. The Form Diagram allows you to
generate diagram automatically with user-defined scope.
Employee {Abstract}
-Name:String
-Kebele:String
-ID:Long{value>0} Accountant
-Salary:Float -Login, Logout -Status:Boolean
-Telephone:Int -Un:string
-Sex:Char 1 1 -Ps:String
-Age:Int
-Skill:String
+Login()
+Logout()
System Adminstrator
Manager Casher Payroll Clerk
+Add room()
+View Comment() +View authorize payroll() +Prepare payroll()
+Add employee() 1 1
+Permit leave() +Take attendance()
+Update room()
+Update empolyee() +Generate report() 1
+Terminate employee() +Authorize payroll()
1
+Delete room()
1 1
1
1..*
Comment 0..* -Take
1 -Prepare
-Sent time:Date
-View -Source:long{email} * 1 Attendance
-Body:String Payroll
-Taken at:Date
-Id:String -Status:Boolean
-View
-Status:Boolean
-Add,Delete,Update 1..*
Room
-Type:String 1 -Authorize
Reserver
-Number:Int 1..*
-Name:String
-Price:Float -ID:Long
-Maximum guest:Int -Search -Telephone:Int -Leave 1..*
Leave
+Borrow Book() -Sex:Char
+Return Book() -Reason:String
-Country:String -Permit
0..* -Employee Id:String
-City:String
-Duration:Date
1..77 +Resserve book()
+Leave comment()
+Update reservation()
+Search room()
+Cancel reservation()
-Book,Update,Cancel
1..*
Reservation
-Arrival date:Date
-Reserver Id:String
-Room No:int
-Duration:Date
-Departure date:Date 1..77
-Number of guest:int
-Customer id:long
Name
Age
FName
Sex
MName
Country
Telephone
CID
O
City
Name
Address
Taken At
Sex
System
Customer Book Receptionist Manage Payroll Clerk Take
Administrator r
Register
Register date
Authorize Attendance
Permit
Reserve
. Status
Membership RDate
Duration LEDate
Customer ID
DDate PDate
No of Guest
ADate
ADate
Duration Room
Payroll
Room No Max Guest
Body
Comment
3.4.2. Normalization
Normalization is the process of organizing data into tables in such a way that the results of
using the database are always unambiguous and as intended. Normalization may have the
effect of duplicating data within the database and often results in the creation of additional
tables. (While normalization tends to increase the duplication of data, it does not introduce
redundancy, which is unnecessary duplication.) Normalization is typically a refinement process
after the initial exercise of identifying the data objects that should be in the database,
identifying their relationships, and defining the tables required and the columns within each
table.
1. Mapping ‘customer’ entity
Customer
Employee_ID FName MName LName Salary DOB Age Kebele Office Mobile
Telephone phone
Attendance
Taken at Status
Payroll
Payroll ID Date
Leave
Room
Reservation
Comment
Leaves
Reserve
Book
Add
E-ID Room No
Permit
Authorize
Prepare
P.C.ID Payroll ID
Take
Un-Normalized Form
1. Customer
2. Employee
3. Attendance
Taken at Status
7/01/05 present
4. Payroll
P Id Date
P_001 2/5/05
5. Leave
6. Room
6. Reservation
5/5/05 14 2 9/5/05
8. Comment
9. Leaves
10. Reserve
11. Book
12. Add
E-ID Room No
EID_02 13
12
13. Permit
14. Authorize
15. Prepare
P.C.ID Payroll_ID
EID_08 Pay_roll_1
16. Take
EID_08 02/05/05
1. Customer
2. Employee
FName Employee_ID MName LName Salary DOB Age Kebele Office Mobile
Telephone phone
Hanna EID1 Molla Maru 3200 03/01/04 23 10 0528562341 0922544547
3. Attendance
Taken at Status
7/01/05 present
4. Payroll
P Id Date
P_001 2/5/05
5. Leave
6. Room
7. Reservation
5/5/05 14 2 9/5/05
8. Comment
9. Leaves
10. Reserve
11. Book
12. Add
E-ID Room No
EID_03 15
16
13. Permit
14. Authorize
15. Prepare
P.C.ID Payroll_ID
EID_08 Pay_roll_1
16. Take
EID_08 01/05/05
EID_08 02/05/05
1. Customer
2. Employee
Employee_ID FName MName LName Salary DOB Age Kebele Office Mobile
Telephone phone
EID1 Hanna Molla Maru 3200 03/01/04 23 10 0528562341 0922544547
3. Attendance
Taken at Status
7/01/05 Present
4. Payroll
P Id Date
P_001 2/5/05
5. Leave
6. Room
7. Reservation
5/5/05 14 2 9/5/05
8. Comment
9. Leaves
10. Reserve
11. Book
12. Add
E-ID Room No
EID_03 15
16
13. Permit
MID EMP_ID
EID_07 EID_017
14. Authorize
MID Payroll_ID
EID_07 Payroll_1
Payroll_ID At-date
Payroll_1 07/04/05
15. Prepare
P.C.ID Payroll_ID
EID_08 Pay_roll_1
16. Take
EID_08 01/05/05
EID_08 02/05/05
1. Customer
2. Employee
Employee_ID FName MName LName Salary DOB Age Kebele Office Mobile
Telephone phone
EID1 Hanna Molla Maru 3200 03/01/04 23 10 0528562341 0922544547
3. Attendance
Taken at Status
7/01/05 Present
4. Payroll
P_Id Date
P_001 2/5/05
5. Leave
6. Room
0 002
8. Reservation
8. Comment
9. Leaves
10. Reserve
11. Book
12. Add
E-ID Room No
EID_03 15
16
13. Permit
14. Authorize
P.C.ID Payroll_ID
EID_08 Pay_roll_1
16. Take
17. Membership
Customer_register ()
{
Insert firstName, lastName, Age, username, password and address on the registration Form;
Check form has filled correctly;
If (correct)
Display “successful registered message!”;
Else
Display “error message, and try again”;
}
Reserve_room ()
{
Choose room_type on the form;
If (found)
Display “result on the result box!”;
Reserve a room;
Else
Display “error message, and try again”;
}
Login ()
{
Insert username and password on the login form
Check the matching username and password
If (match)
Add_room ()
{
Insert floor_no, room_price, room_no and room_type on the add_room Form;
Check the form has filled correctly;
If (correct)
Display “successful room_added message”;
Else
Display “error message, and try again”;
}
Search_available_room ()
{
Insert room_no or room_type on the search_room Form;
Check availability of room_no or room_type;
If (available)
Display “the room information on the result box”;
Else
Display “No match found”;
}
Update_employee_information ()
{
Insert employee_id or employee_name on the update_employee Form;
Check availability of employee_id or employee_name;
If (available) {
Display “the employee’s information on the form”;
Edit the employee’s information on the form;
Save the information;
}
Else
Display “No match found”;
}
Permit_leave ()
{
Insert employee_name or employee_id on the search_employee Form;
Check availability of the employee_id or employee_name;
If (available)
Display “permission page for the employee to leave”;
Give a leave for the employee;
Else
Display “No match found”; }
3.7. Reference
http://www.liacs.nl/assets/abchelorscripties/2006-08JanneLouw.pdf.
http://www.itu.dk/~slauesen/Papers/IEEEtasks.pdf.
System analysis and design 2nd edition
Hotel reservation management system
3.8. Appendix
APPENDIX
lifeline Device
Actor component
Initial state
Decision Activation
message (return)
Note