Poor communication: Manual hotel systems require staff and managers to record every time a room or service is booked by a customer.. want to manage roomsPre-conditions - Equipment that e
Trang 1UEF UNIVERSITY KHOA CÔNG NGHỆ THÔNG TIN
Final Report Software Engineering PROJECT 4:
Hotel Management
Giảng viên : Nguyễn Thị Thanh Trúc
Sinh viên thực hiện:
1 205052122 Lê Sanh Hoàng Tuấn
2 205052123 Lâm Thiên Anh
3 205051684 Nguyễn Hải Sang
4 205051789 Lại Tu Trung
Trang 2UEF UNIVERSITY 1
I Introduction 3
II Literature Review 5
1 Introduction to Hotel 5
2 Introduction to Online Booking 6
III Business Rules 7
2 System Function Analysis 7
IV Use Case Diagram 8
1 UC-1.0 8
2 UC-1.1 10
3 UC-1.2 11
V Class Diagram 13
VI Sequence Diagrams 14
2.Diagram Booking Invoice 15
3.Sequence Diagram Employee Management 16
VII Sources and methods of investigation 17
1 Source of investigation 17
2 Investigation method 17
3 Scope and limitations of the software 17
4 Request new software in the future 18
5 Work assignment 18
VIII DATABASE DESIGN 18
1 Job Specification: 18
1.1 Job Description of Application With Functions: 18
1.2 Create MS SQL SERVER database with database name "QLKhachSan" 19
1.3 Design the program system to: 19
2 Database Specification Diagram: 19
2.1 Customer data map: 20
1 Data diagram of the Rental – Booking Table 20
2.2 Room data map: 21
Trang 32.3 Data Map of Room Type: 21
2.4 Data Map of Invoices 22
2.5 Data Map of Account – User: 22
1 Data tables 23
X ERD 29
XI UI 29
1 Login Interface: 29
2 Main interface: 30
3 Customer Information Interface: 31
4 Payment Interface: 32
5 Invoice Interface: 33
1 Booking Interface 33
2 Room Management Interface: 34
8 Password Change Interface: 34
9 Statistical reporting interface of invoice list 35
10 Customer list statistics reporting interface: 35
We haven't finished this part yet 35
XII CONCLUSION 36
1 Result 36
1.1 Advantage 36
- Easy to organize and manage 36
- User-friendly interface, easy to understand and easy to operate 36
- Save a lot of costs 36
1.2 Defect 36
- Security is not high 36
- Only applicable to small-sized hotels 36
2 Software development direction 36
- Improve the security of the program 36
- Updating new functions to meet the needs of advanced management, meeting large-scale hotels 36
- Ensure 3 layer model 36
3 Conclude 36
Trang 4I Introduction
1 General Overview
Today's society is very developed, and Service is one of the fields with rapid growth in recent years in Vietnam in particular and the world in general Along with it is the evaluation of restaurants, hotels, companies, tourism groups that are built and established, and human needs also increase Management in motels
or hotels is becoming more and more difficult But that is the driving force that motivates programmers not to explore, so as to design suitable software to better serve work and life.
This project is based on the booking and payment of services requested by the customer The first activity is based on adding services to the system along with the proportion of services that the hotel has to increase choice This permission
is only given to administrators Any modifications made in the names of
services and rates can only be done by the administrator They also reserve the right to delete any item When customers register for the service and go to the payment counter or register to pay through the application.
This research aims to produce software to manage operations performed in hotels, store inventory details, keep customer records or services performed in a particular month/year The user will spend less time in the calculation and the registration and information management will be completed within seconds while the manual system will take the user to write it down, which is a long process and thus less paperwork The project is very user-friendly.
The system will display all items whose name starts with the letter selected by the user Customers can choose from among the displayed Finally, a separate invoice will be generated for each customer This will be saved in the database Any recurring records can be viewed at any time If stock is not available, the hotel will order and purchase from a specified supplier The amount will be paid
by deducting the total proceeds from the sale The administrator provides a unique username and password for each employee so they can log in.
Trang 52.
Statement of Problem
As a Computer Technology student, we had to go into the business room to learn some basic hotel management topics to enhance our intellectual understanding of the project we were working on
The factors that cause these difficulties are:
1 Time consuming: Manual systems are time consuming, as business owners have to track customer and item sales every day, and update the system manually at the end ofthe day
2 Poor communication: Manual hotel systems require staff and managers to record every time a room or service is booked by a customer Compared to the technical hotel system, the manual hotel system does not help with workplace communication
3 Actual count: Manual hotel system does not provide any number, as all numbers from hotel are obtained through actual guest count This is time consuming and can cost the business money, if employees have to come in to help outside of business hours
II Literature Review
1 Introduction to Hotel
Before looking into the history of the hotel industry, it is important to recognise what a hotel is A hotel is defined as an establishment providing accommodation, meals, and other services for
travellers and tourist.
A hotel is somewhere where one can sleep away from their home This could be for a holiday or for business purposes, or for convenience when travelling for any other reason such as a hospital appointment in a different area They are short-term lets ranging from one night to a few weeks.
On Catinat Street in the early 20th century, the first hotel in Vietnam was built and managed
by the French named Hôtel Laval (also known as Fave hotel located on Catinat - Dong Khoi street today)
It can be said that the French brought the hotel business to Vietnam and laid a solid
Trang 6interesting and unique gifts that the French have left to the three regions on the S-shaped strip
of Vietnam, not only because of the massive management process but also by the subtle, flexible, eye-catching features in design and enduring existence over time But in fact, Mr Vuong Dai was the one who laid the first "brick" to bring the hotel industry into the
Vietnamese market, and so far, people still respect Vuong Dai as the ancestor of real estate development services in Vietnam (including hotels and general office rental)
Laval Hotel is the first place where military and civilian officials from France who have just come to Saigon to work or set up a business come to temporarily reside before finding their own house According to Mr Arthur Delteil, a French pharmacologist, when he arrived in Saigon in 1882, the Fave Hotel consisted of 3 floors: the ground floor was the dining room with "panca" fans on the ceiling, the upper two floors were the rooms, Each room had
“robinet” water and a shower (considered a convenience at that time)
2 Introduction to Online Booking
Internet marketing has been around for a long time, cumulative events happening in online marketing are leading to where we are today, it has impacted the globe faster than any marketing revolution in history
Over the past decade or so, hotels have continued to invest significantly in expanding their Internet presence and expanding their advertising footprint
Internet marketing has had many positive impacts on the hospitality industry Internet marketing has given hotel operators the opportunity to create a positive image and reach more potential customers at a lower price
One example is PPC (Pay Per Click) advertising campaigns which are now widely used throughout the industry The main objective of PPC advertising appears in the
“Sponsored Ads” section of the major search engines when a potential customer searching for a hotel searches PPC ads typically cost hotels around $1 per click with many other marketing campaigns costing hotels billions of dollars Some hotel
operators have cited an average return of around 8:1 on branded properties from PPC advertising offsetting the effect of booking at lower rates with additional demand as a result advertise out PPC advertising links the consumer directly to the hotel website, eliminating the need for third-party booking sites Hotels may offer rooms at a lower rate than previously desired, but they don't have to pay high commissions when booking directly
3 Benefits of Online Booking
Trang 724/7 access: It allows customers to be able to book rooms or make other transactions
24 hours a day, year-round from almost any location For example, checking balances,making payments, obtaining travel tickets, and other information
More choices: Customers have a whole range of room types that they can choose
from and customize
Price comparison: Customers can consider the price of room types and from there
can make the right choice for them
III Business Rules
1 Systematic Business Analysis
The main business of the hotel includes aspects of room, inventory control and
services, the key to solving the problem is the hotel management system
Consulting plays a very important role in all hotels Before booking a room,
management and staff should check the goods and status of the room or service to understand the condition of the room To assess the level of quality and reputation.Room inspection and maintenance can also cause some problems if handled
improperly If the room is damaged or poor quality too much, it will lead to the
consumption of cleaning and replacement capital If the number of rooms is damaged,
it will lead to a shortage of rooms and the reputation will also go down
2 System Function Analysis
This system is mainly used in hotels, and the system's function is mainly to perform login, manage the number of guests, manage room supplies, manage accompanying services, manage staff and member management
Manage the number of guests can query information of incoming tenants and maintaingood information
Manage items in the room to be able to query existing or missing room information, record basic information of the room to add or maintain
Service manager can query records of registered services at any time Hotels can evaluate services based on registrations and reviews, determining which services to focus more on The manager can query an employee by employee management, such
as by employee id, name, gender, age, date of birth, home address and contact
information And you can add, edit, delete employees
After the employee logs in, the employee can query, add, edit, and delete members through the member management section Employee can query membership by
member id
Trang 8IV Use Case Diagram
1 UC-1.0
Use Case ID UC-1.0
Use Case Name Login
Description The user wants to log in to the application to use the service
from the application
Actor Hotel Owner, Management Staff
Trigger Hotel owners want to manage and view sales, Employees
Trang 9want to manage rooms
Pre-conditions - Equipment that employees use must be linked to the
database system to display information for each hotel room
- The account used to log in must be already created
- User's account must be authorized
- Hotel owners log in to view report parameters with full access to edit accounts
- Employees log in and only interact with the management screen
- The system displays detailed information about the rooms
in the hotel, whether the room is available or not or is it ready
to serve or not
Alternate: Alternate flow of interactions between actors and systems for successful use case execution
- User chooses to login with admin account (Hotel owner)
- User enters account and password then selects login
- The system switches to the operation mode for admin
- User chooses to log in with Staff account
- User enters account and password then selects login
- The system switches to operation mode for staff
Exception: Exception interaction flow between actors and thesystem for the use case to fail
- The system compares failed login data and displays a message
- User chooses to cancel login
Post-conditions - User successfully logged into the application
- The system will record and save activities as well as data
Trang 10changes during use
Business Rules - If the user enters the wrong account information more than
10 times, the system will lock the login for 30 minutes
- Employees will not be able to access the account management section
Non-Functional
Requirement
- Time out for bright screen under 120 seconds
- Lights up when there is a user action
2 UC-1.1
Use Case ID UC-1.1
Use Case Name Update
Description The user wants to change the data contained in the system
Actor(s) Hotel Owner, Management Staff
Trigger The user wants to update one or more objects in the system
Pre-conditions - Must have add edit delete function to be able to update
operation
- The device used must be linked to the database system to display information
- The hotel owner (admin) login to view the report parameters with full rights to edit the account
- Employees log in and only interact with the management screen
- The system displays detailed information of customers who have registered to rent a room
- The system to record guest rooms booked by staff interaction
- The system saves the data that the employee has changed for the selected guest room
Alternate: Alternate flow of interactions between actors and
Trang 11systems for successful use case execution.
- Admin can use Staff account to access, but some functions will be limited
- The system automatically records the data provided by the customer
Exception: Exception interaction flow between actors and thesystem for the use case to fail
- The system compares existing customer data and displays a message that this person has been hired
- The system reported an error and could not access system data to update
Post-conditions - User successfully updated customer data
- The system will record and save activities as well as datachanges during use
Business Rules - User cannot enter two same customer information into the
system
- Changed data cannot be duplicated with old data
Non-Functional
Requirement
- Time out for bright screen under 120 seconds
- Lights up when there is a user action
3 UC-1.2
Use Case ID UC-1.2
Use Case Name Room manager
Descriptiom Room information is managed through the above operation
on the computer and the data will be linked to the database
Actor Hotel Owner, Management Staff
Trigger Hotel owners want to manage rooms, Employees want to
manage rooms
Pre-conditions - The room that can be rented must be fully furnished and in
Trang 12a state of readiness
- The data of the room in the system must always be updated
in parallel with real time
- Users log in with an existing account and select the room rental function to manage the room
- The system displays detailed information about the rooms
in the hotel, whether the room is available or not or is it ready
- Access to each room in the system to see if it's ready or not
- Can save data manually immediately without having to waitfor the system
Exception: Exception interaction flow between actors and thesystem for the use case to fail
- Room data comparison system failed and can't display room
- User selects already occupied room to rent
- user selects room under maintenance to rent
Post-conditions - The room has been successfully rented and switched to
occupied mode
- Customer information has been saved after renting the room
- The system will record and save activities as well as data
Trang 13changes during use
Business Rules - A guest cannot rent two or more rooms if traveling alone
- Staff will not be able to change customer information after confirming room rental
- The data of the hotel rooms must always be updated by the system every day
Non-Functional
Requirement
- Time out for bright screen under 120 seconds
- Lights up when there is a user action
V Class Diagram
Trang 14VI Sequence Diagrams
Trang 161 Diagram Booking Invoice
Trang 17+ The process of entering and modifying information is difficult to erase, timeconsuming and expensive.
+ When superiors need information about the situation as well as room status,employees have to travel quite hard
Although only with a medium, medium and small scale, the owners ormanagers all have the desire to apply information technology in management.Stemming from that practical need, we have boldly built software with the mainfunction of room management to help managers update room information quickly, so
as not to miss opportunities for customers rent a hotel room
VII Sources and methods of investigation
1 Source of investigation
- From social needs learned from reality and through the Internet
- From the software that has been designed and put into the application ofdomestic and foreign
- From the experience of the person who built the software (You guys on theforum "C# and applications" especially the course video material on the Kteamyoutube channel)
2 Investigation method.
- Studying collected documents (specifications and steps to build software)
- Observe and analyze the collected information system
- Exploiting information from users about needs, thereby building functions forthe system
- Observe the interface between the software system and users, then shape tofind the best way to create user-friendly interfaces that are easy to use
3 Scope and limitations of the software
- Stemming from the actual situation, with the scope towards motels, small and medium-sized hotels, our software will well support the manager in the management
of the hotel
Trang 18- Due to the scope, the software cannot fully meet the necessary functions, management, and is not synchronized between functions
4 Request new software in the future
Our software will solve some of the above limitations, and it will partiallysupport the main tasks in a hotel while still ensuring the necessary management needs
1 Get quick and complete hotel information
2 Manage and log in to the software system to update information
3 Allows managers as well as customers to quickly find necessary information aboutthe hotel
4 Allowing customers to directly contribute their ideas to promote better service ofthe hotel
5 Quickly print reports and invoices for cables on and for customers
5 Work assignment
Nguyễn Tiến Dũng: Thiết kế database, Thiết kế giao diện, Làm báo cáo
Nguyễn Viết Hiệp: Thiết kế giao diện, Làm báo cáo
VIII DATABASE DESIGN
1 Job Specification:
1.1 Job Description of Application With Functions:
Room rental management: All registration information is managed based
on the guest's full name, number of rooms, arrival date, departure date and contact phone number
Management of check-in information: The hotel will manage informationsuch as check-in room number, full name of person checking in, date of arrival, time of arrival If you have booked a room in advance, the check-
in information must match the room registration information previously declared
Check-out management: When the tenant wants to check out, the
receptionist is responsible for checking the room they pay based on the check-in information and the services they use Also have to bill for everything they have to pay