Final Report
Final Report
FPT UNIVERSITY
GFA22SE40
Phạm Thanh Đạt – SE140197
Nguyễn Công Thức – SE140198
Group Members Lê Huỳnh Hoàng Dương – SE140421
Cún Phương Long – SE140474
Đào Hồng Sơn – SE140276
Capstone Project
FA22SE04
code
1
Contents
Acknowledgement.................................................................................................................................6
Definition and Acronyms........................................................................................................................6
I. Project Introduction............................................................................................................................7
1. Overview........................................................................................................................................7
1.2.....................................................................................................Project Team 7
2. Product Background.......................................................................................................................7
3. Existing Systems.............................................................................................................................8
3.1...................................................................................................System name1 8
3.2...................................................................................................System name2 8
4. Business Opportunity.....................................................................................................................8
5. Software Product Vision.................................................................................................................8
6. Project Scope & Limitations...........................................................................................................8
6.1..................................................................................................Major Features 9
2.1..................................................................................................Project Process 16
2.3.....................................................................................................Training Plan 17
3. Project Deliverables.....................................................................................................................17
4. Responsibility Assignments..........................................................................................................18
5. Project Communications..............................................................................................................18
6. Configuration Management.........................................................................................................19
2
1. Product Overview.........................................................................................................................20
2. User Requirements......................................................................................................................21
2.1............................................................................................................. Actors 21
2.2.........................................................................................................Use Cases 21
3. Functional Requirements.............................................................................................................27
3.3.......................................................................................................Home page 45
3.5.....................................................................................................Event screen 55
3.6..............................................................................................Abstraction screen 56
3
3.26...........................................................................................List booking screen 82
3.35...............................................................................................View dashboard 92
4.2...............................................................................................Quality Attributes 95
5. Requirement Appendix................................................................................................................95
5.1...................................................................................................Business Rules 95
5.2.......................................................................................Common Requirements 99
4
2.2........................................................................................................Test Levels 127
3.3...........................................................................................................Check in 140
5
Acknowledgement
First of all, we would like to express our thanks and gratitude to our supervisor - Mr.Do Tan Nhan,
who always provided guidance to help us find the way to continue this project and has kept us
mentally strong, has helped us know what is called "never give up" and has helped us meet the
strongest version of ourselves this year.
We also want to thank our friends, brothers, and teachers who have helped us. Many times, when
we are lost, there are our friends, brothers, and teachers who always help us find the way out, as
well as spiritually supporting us. We are grateful for every meeting, every appointment at the library
to provide technical and business support for the project, for each constructive review session.
Thanks to Mr.Lam Huu Khanh Phuong for their suggestions for a better and more complete project.
Last but not least, we give our thanks to ourselves. People who have been very resilient through this
project, many times want to give up. But in the end, we are still here, 5 people are still working
together on this project till the end. We are very proud of ourselves for trying so relentlessly.
Whatever the outcome, I am Nguyen Cong Thuc, feel so lucky and proud to work with such a team.
Thanh Dat, Hoang Duong, Phuong Long and Hong Son, you guys are the reasons for me to continue
until now. Thanks everyone. Let's fight together till the end.
FE Feature
LI Limitation
UI User interface
US Usability
RE Reliability
PE Performance
BR Business Rule
6
I. Project Introduction
1. Overview
1.1 Project Information
Project name: Smart TV System for Hotel
Project code: FA22SE04
Group name: GFA22SE40
Software type: Web Application, Mobile Application
2. Product Background
The development of the Information Technology industry has changed the perception, as well as the
way services are performed in all industries. In which the hotel industry and hotel services are facing
changes and challenges. Currently, the hotel is gradually improving and upgrading its services to
bring the best experience to customers. One of the important issues that many hotels are interested
in and upgrading today is the experience of choosing and booking hotel services. The element of
richness and thoughtfulness of the service is not only reflected in the way of service, but also in the
experience of choosing and ordering the service. So now, to improve the customer experience,
hotels are very interested in this issue. For the traditional way to call the service is through the
phone that most hotels are using today. For this method, the drawback will be revealed when there
are many customers calling at the same time to order the service, then the customer will spend time
waiting for the receptionist to solve the needs of the calling customers before. At this time, if there
are 10 customers calling at the same time, the customer's waiting time will increase significantly,
greatly affecting the customer's experience with the hotel. In addition, when booking a room online,
customers have not been able to consult the services and book with the room. This is also an issue
that needs to be improved to improve the user experience. From the above issues, we have built an
App integrated into Smart_TV in every room of the hotel. Customers can consult and order key
services on TV in their rooms. Not only that, we also provide suggestions about events happening
nearby during the customer's stay and suggest delicious and famous places around the hotel to bring
customers can experience the typical dishes of that region. In addition, our App also supports
7
customers to review the services used and specific prices for each service as well as the total price
for all services. Thereby enhancing the experience and bringing goodwill to the hotel.
3. Existing Systems
Based on booking systems of big hotels such as Rex Hotel and Grand Hotel. We wanted to build a
system with a user-friendly interface and integrate bookings from smart TVs in addition to providing
more suggestions of places around. Thereby enhancing the experience as well as bringing
convenience to customers during their stay.
4. Business Opportunity
Our system will help current hotels solve problems that cause discomfort for customers when
consulting and booking hotel services. They will have to look at the traditional menu books and not
be able to tell if the service is still available or not. Not only that, at peak hours, customers may have
to wait for reception staff to receive and process services. From there, our app will solve the above
problems thoroughly. Customers can now order services directly from their smart TV. And the
service request will be transferred directly to the service department. Save time in service delivery as
well as solve the problem of the cost of the receptionist on duty and answering the phone since the
customer orders the service. At this time, the time from the time the customer orders the service to
the time the service is completed will be reduced. Thereby improving the customer experience and
at the same time reducing operating costs for the hotel.
8
customers can only order services from the smart TV in the room, we do not support the app
solution on their phone, so when not in the room, the customer still has to use the traditional
method to call the receptionist to order services.
FE-01: The function of displaying information about the hotel (homepage, general information,
outstanding services, contact, ...).
FE-02: Provide customers with information about nearby events that will take place during their stay
at the hotel.
FE-03: Provide customers with a list of places to eat and visit nearby the hotel.
FE-04: Provide customers with news of the hotel.
FE-05: Customer welcome screen (send greeting by customer name. Based on customer information
when they check-in).
FE-06: Display happy birthday to customers with a message on the welcome screen and play the
music to congratulate them (based on customer information when they check-in).
FE-07: Display function to notify customers (ex: when someone needs to contact they will send a
message to the front desk. The reception will record and transfer that information to the customer’s
smart TV).
FE-08: The function of using Turn down service (fast cleaning) the customer chooses a specific time,
the staff receives a notification and will clean the room at the time the customer chooses.
FE-09: Alarm function, customers can manually set the alarm directly or can contact the front desk
when the alarm is needed, then the system will alarm through smartTV.
FE-10: The function allows customers to order food and beverage services based on the hotel's
menu.
FE-11: The function of providing services to bring customers to the airport.
FE-12: View bill information for services used at the hotel.
FE-13: Direct payment function on smartTV (generating QR code according to the form of payment
that the customer chooses, customers can pay many times).
FE-14: The function allows customers request to perform check-out at the room (just press the
check-out button. At this time, the staff will receive a notification and will go to the room and
perform check-out for customers).
FE-15: The function allows customers to give feedback after using the hotel's services.
6.1.2. Booking Web Application
FE-01: Display the hotel’s introduction information (general information, rooms, services, events
going on around, promotions, maps, contact, ...).
FE-02: Display the information about nearby events that will take place during their stay at the hotel.
FE-03: Display information a list of places to eat and visit nearby the hotel.
FE-04: Display news about the hotel.
9
FE-05: Search room information to book: arrival and departure time, number of people.
FE-06: Provide booking information: number of rooms, room type, number of people (adults,
children), booking information, staying guest information, service requests when booking, and
choose a payment method, …
FE-07: Support online payment.
FE-08: View booked room information.
FE-09: Email notification function to customers when booking is successful and customers cancel a
booking.
6.1.3. Admin Web Application
FE-01: Function to declare general information about the hotels.
FE-02: Function room management: name, room type, description, utilities, the maximum number
(adults, children), photos,...
FE-03: Function to manage service information.
FE-04: Function to manage news.
FE-05: Function to manage abstraction.
FE-06: Welcome screen setting function. (Set the greeting displayed on the screen and the birthday
greeting and music that will play on the welcome screen).
FE-07: Declare special customer service requirements (Ex: Baby cot, quiet,...).
FE-08: Declare and assign user permissions.
FE-09: The function allows for performing check-in and check-out for customers.
FE-10: The function allows sending notifications to customers.
FE-11: The function of managing detailed information about the customer's profile: overview,
personal information, stay process, and service usage process.
FE-12: Floor plan display (The screen helps to see if the rooms have customers or not).
FE-13: The function to set alarm to smart TV.
FE-14: The function to manage airport pickup service.
FE-15: The function of managing and tracking customers' online bookings.
FE-16: The function cancels booking rooms at the request of the customer.
FE-17: The function allows management “Turn down” service requests by customers.
FE-18: The function to manage F&B (Food and Beverage) service.
FE-19: The screen to view feedback or customers.
FE-20: Declare the room price list.
FE-21: The function to set room daily price.
FE-22: Declare the room availability that is allowed to be booked by date.
10
FE-23: Dashboard statistics data of customers booking rooms, canceling rooms,
revenue, cancellation revenue, accumulated revenue, accumulated cancellation revenue, using
services by (day/month/year).
6.2 Limitations & Exclusions
LI-01: Our current limitation is that we have not been able to provide a quick solution for
customers who order remotely. To order the service must be through a smart TV, when ordering
remotely, you still have to use the traditional method of calling the reception.
LI-02: Do not manage hotel details, only make online reservations and functions on SmartTV (Only
show the function of check-in and check-out status of the room).
LI-03: Simulating check-in, out demo shows which room to change the state to attach (things
related to Smart-TV), when connecting to PMS, the check-in and check-out will be done on PMS.
3 Software Designing 35
11
4 Database 31
5 Implement
12
5.2.7 View booked room information Simple 1
13
5.3.27 Update room information Simple 2
14
5.3.56 View room price Simple 1
15
2. Management Approach
2.1 Project Process
The project is developed using the Scrum model which is an agile framework for developing,
delivering and maintaining products. Our team chooses this model for the following reasons:
● Because Scrum is suitable for small and medium-sized projects, it fits our team which
consists of 5 members well.
● For this project, each sprint spans 1 weeks and the duration of our product backlog is 12
sprints because we need to deliver the product quickly and the customer wants to review
the product every week.
● Flexible to requirement changes.
16
2.3 Training Plan
Training Area Participants When, Duration Waiver Criteria
Git, Github All member Week 1, 2 days Mandatory
Trello All member Week 2, 1 days Mandatory
Figma Tool Nguyễn Công Thức Week 2, 1 days Mandatory
Start UML, Draw IO Nguyễn Công Thức Week 2, 2 days Mandatory
Cún Phương Long, Phạm Week 2-3, 5
Java Spring Mandatory
Thanh Đạt days
Đào Hồng Sơn, Lê Huỳnh Week 2-3, 5
ReactJS Mandatory
Hoàng Dương days
Week 2-3, 7
Flutter Lê Huỳnh Hoàng Dương Mandatory
days
Cún Phương Long, Nguyễn Week 6-7, 7
IOT Mandatory
Công Thức days
3. Project Deliverables
# Deliverable Due Date Notes
Project Plan
1 05/09/2022 Overall project plan
document
2 SRS documents 26/09/2022 Software requirement specification
Architecture Design, Detailed design, Database,
3 Design documents 10/10/2022
UI design
Software Testing
4 24/10/2022 Testing Reports
Document
Architecture Design, Detailed design, Database,
5 Guides documents 07/11/2022
UI design
Smart TV
6 21/11/2022 Code, System test case
application
Web booking
7 28/11/2022 Code, System test case
application
Web admin
8 05/12/2022 Code, System test case
application
17
4. Responsibility Assignments
Duonglhhse140421
Thucncse140198
Longcpse140474
Sondhse140276
Datptse140197
Responsibility
5. Project Communications
When, Type, Tool,
Communication Item Who/ Target Purpose
Frequency Method(s)
Report task
progress
Every
Team Plan tasks for Google
Daily Meeting working
Member the day Meet
day
Discuss and
solve problems
Define what can The fine
be delivered in day of a
Google
Team the sprint new
Sprint planning Meet,
Member Determine how sprint:
Offline
that work will Monday
be achieved morning
Demo function
At the end
completed in
Supervisor of the
sprint
Sprint review and Team sprint: Offline
Describe the
Member Saturday
work they’ve
afternoon
done
18
6. Configuration Management
6.1 Document Management
Google Drive is used to manage project’s documents.
19
III. Software Requirement Specification
1. Product Overview
Our Smart TV Hotel Booking Service System offers a solution to replace the traditional service call
method by calling the service directly from the TV in each room to give customers the most complete
experience. In addition, we also provide a web booking room so that customers can book rooms
directly from the hotel's website. To be able to see more clearly the operation of the smart TV
system, we have built some functions to simulate the hotel's PMS system for the purpose of
performing check-in and check-out for customers. At this time, the guest's status will be recorded
and transferred to the smart TV system to perform related functions.
20
2. User Requirements
2.1Actors
# Actor Description
1 Guest Use web booking online to consult and view services.
Housekeeping
4 Perform housekeeping related functions.
staff
2.2Use Cases
2.2.1 Diagram(s)
21
22
2.2.2 Descriptions
ID Use Case Actors Use Case Description
01 View hotel information Guest View general information about the
hotel.
02 View room information Guest View room descriptions: Bed type,
area, direction…
03 View service Guest View all service details.
04 Search room Guest Enter the necessary information such
as arrival date, departure date,
number of people to find a room.
05 Booking room Guest Make a reservation.
06 View event around Guest View event around information.
07 View abtraction around Guest View abtraction around information.
08 View news Guest View hotel news.
09 View welcome screen Customer Welcome screen will greet customers
with information when customers
check-in.
23
10 View happy birthday screen Customer When the customer’s check-in date is
the customer’s birthday, the screen
will display happy birthday with
music.
11 View notification Customer The screen will display a notification
to customer when the receptionist
send a notification.
12 Booking service Customer Customers make a service booking
after viewing the service.
13 View bill Customer Bill will show information about
service that customers have used.
14 Make payment Customer Make payment for service used
directly on smart TV through QR code
payment method of Momo or Vnpay.
15 Feedback service Customer Give feedback about hotel
experience.
16 Set alarm Customer Set alarm in the TV.
17 Get email notification Customer After successful booking customers
will be receive email notifications
18 View booked room Customer View booked room information from
information email notifications.
19 Check-out at room Customer The function allows customers to
forward their check-out request at the
room to receptionist.
20 Cancel booking Customer For some reason, the customer
cannot come, so the customer will
cancel the booking.
20 Login Admin, Hotel staff will be login in to the
Hotel manager, system. At this time, the system will
Receptionist, assign permissions to each role.
Restaurant staff,
Housekeeping
staff.
21 Logout Admin, Hotel staff logout of the system.
Hotel manager,
Receptionist,
Restaurant staff,
Housekeeping
staff.
22 View profile Admin, Hotel staff view detail their
Hotel manager, information of personal profile.
Receptionist,
Restaurant staff,
Housekeeping
staff.
23 Edit profile Admin, Hotel staff edit personal information.
Hotel manager,
Receptionist,
Restaurant staff,
Housekeeping
staff.
24
24 Check-in Receptionist Confirm and fill in additional guest
information to check-in.
25 Check-out Receptionist Perform check-out for customers.
26 Send notification to customer Receptionist Send notification to smart TV in
customer room.
27 View customer information Receptionist View detail information related to
customer.
28 View stay process Receptionist View customer arrival and departure
date.
29 View service usage process Receptionist View all service that customers have
used.
30 View floor plan Receptionist View floor plan: customer at room
and notices about the service
requested by customer.
31 Set alarm to customer Receptionist Set alarm to one or more customer’s
room.
32 View request airport pick-up Receptionist View request airport pick-up
information
33 Confirm request airport pick- Receptionist Confirm customer’s airport pick-up
up request.
34 View list booking Receptionist View all booking room information.
35 Cancel booking room from Receptionist Make cancel booking when request by
customer’s request. the customer.
36 Get notification Restaurant staff, Receive notifications when customer
Housekeeping have service requests.
staff
37 View list service booked Restaurant staff, View list service requests of customer.
Housekeeping
staff
38 Select completed service Restaurant staff, Confirmation of completion when the
Housekeeping service has been completed for the
staff customer.
39 Declare hotel information Admin Declare general hotel information.
40 View hotel information Admin View general hotel information.
41 Update hotel information Admin Update general hotel information.
42 Delete hotel information Admin Delete general hotel information.
43 Declare room information Admin Declare the necessary information to
create a new room.
44 View room information Admin View list room information.
45 Update room information Admin Edit room information when there are
changes.
46 Delete room information Admin For unnecessary room, admin is
allowed to delete that room.
47 Create service Admin During the business process, it is
necessary to add some new services
to serve customers. Admin is allowed
to create a new service.
48 View service Admin View list service information.
49 Update service Admin For some reason the service needs to
25
edit the necessary information, the
admin is allowed to edit those
services.
50 Delete service Admin For unnecessary service, admin is
allowed to delete that room.
51 Create news Admin Create news related to the hotel and
events happening nearby hotel.
52 View news Admin View list news information.
53 Update news Admin For some reason the news needs to
edit the necessary information, the
admin is allowed to edit those.
54 Delete news Admin For unnecessary news, admin is
allowed to delete that news.
55 Create abstraction Admin Create new location to visit or eat
nearby hotels for customer reference.
56 View abstraction Admin View list abstrasction information.
57 Update abstraction Admin For some reason the abstraction
needs to edit the necessary
information, the admin is allowed to
edit those.
58 Delete abstraction Admin For unnecessary abstraction, admin is
allowed to delete that abstraction.
59 Declare welcome screen Admin Create a new greeting or happy
birthday message for the welcome
screen.
60 View welcome screen Admin View welcome screen information.
61 Update welcome screen Admin For some reason needs to edit the
welcome screen information, the
admin is allowed to edit those.
62 Delete welcome screen Admin For unnecessary information in
welcome screen, admin is allowed to
delete that information.
63 Create special service Admin Create a list of special services related
to booking needs.
64 View special service Admin View list special service information.
65 Update special service Admin For some reason the special service
needs to edit the necessary
information, the admin is allowed to
edit those.
66 Delete special service Admin For unnecessary special service,
admin is allowed to delete that special
service.
67 Create account Admin Admin create an account and assign
role permission for hotel staff.
68 View account Admin View list account information.
69 Update account Admin For some reason an account needs to
edit the necessary information, the
admin is allowed to edit those.
70 Delete account Admin For unnecessary account, admin is
allowed to delete that account.
26
71 View dashboard Admin, Hotel View statistics related to bookings,
manager service usage, revenue and
occupancy.
72 View feedback Hotel manager View customer rating statistics.
73 Declare room price Hotel manager Admin declare default rates for all
room types.
74 View room price Hotel manager Admin view list price of room type.
75 Update room price Hotel manager For some reason room price needs to
edit, the admin is allowed to edit
those.
76 Delete room price Hotel manager For unnecessary room price, admin is
allowed to delete that room price.
77 Set daily price Hotel manager Create daily price for each room type.
78 View daily price Hotel manager View list room price by date
79 Update daily price Hotel manager For some reason daily price needs to
edit, the admin is allowed to edit
those.
80 Delete daily price Hotel manager For unnecessary daily price, admin is
allowed to delete that price and price
will be default.
81 Declare room availability Hotel manager Declare the number of rooms
corresponding to the type of room
that can be booked in the day.
82 View room availability Hotel manager View list the number of room can
book by date.
83 Update room availability Hotel manager Update the number of room can book
by date.
84 Delete room availability Hotel manager Delete the number of rooms that can
book by date
3. Functional Requirements
3.1 System Functional Overview
3.1.1 Screens Flow
27
Smart TV
28
Web booking
29
Admin role
30
Hotel manager role
31
Receptionist role
32
F&B and Housekeeping staff role
33
14 View all
abstraction Abstraction View all abstraction information.
15 View
abstraction Abstraction
details details View abstraction details.
16 View all hotel
news News View all news information about hotel.
17 View news
details News details View news details.
18 View bill Bill View information of services used in bill.
19 Make payment Make bill payments through two forms of Momo and
for the bill Payment method VN pay.
20 Customer’s
feedback Feedback Overall rating of the service experience at the hotel.
34
Web booking
35
Admin role
36
Receptionist role
37
3.1.3 Screen Authorization
Guest Customer Receptionist F&B Housekeeping Admin Hotel
staff staff Manager
Screen
Welcome screen X
View welcome greeting X
Home page X
Service X
Food and Beverage X
Add to cart X
Booking service X
Make payment X
Airport pick-up X
Massage relax X
Turndown X
Set time to turn down X
Check out at room X
Pool X
Set alarm X
Set time to alarm X
Event X
View event details X
Abstraction X
View abstraction details X
News X
View news details X
Bill X
Choose payment X
method
Make payment X
Feedback X
Home page X
Enter the required
information to make a
booking room X
Room X
Room detail X
Enter the required
information to make a
booking this room X
List room X
Choose the room
suitable X
Choose additional service X
38
Confirm booking X
39
List service X
Add service X
Update service X
Delete service X
List abtraction X
Add abtraction X
Update abtraction X
Delete abtraction X
List news X
Add news X
Update news X
Delete news X
Welcome screen setting X
Manage room X
View list room X
Add room X
Update room X
Delete room X
Manage hotel X
information
View hotel information X
Declare hotel X
information
Update hotel X
information
Delete hotel X
information
Manage account X
View all account X
Add account X
Update account X
Delete account X
View feedback X
Set price X
View all room price X
Declare room price X
Update room price X
Delete room price X
Set price by date X
Set room availability X
booked by date
40
3.1.4 Non-Screen Functions
1 Get notification Send notification The system sends notification to hotel staff.
Get email The system will send an email to the customer when the
2 Send email
notification booking is successful.
41
Entities Description
# Entity Description
1 Hotel information Contains general information about the hotel.
2 Account Store information of hotel staff.
3 News Store news information of hotel.
Store information about restaurant and place to visit around the
4 Abstraction
hotel.
5 Service Store service information of hotel.
6 Service category Store service category information of hotel.
7 Order Store customer's bill information during the stay.
8 Order payment Store payment information of bills.
9 Payment method Store payment method information.
10 Customer Store customer information.
Customer stay
11 Store customer information stay in booking.
booking
12 Booking Store booking information.
13 Special utility Store special utility when booking.
14 Customer feedback Store all feedback of customer.
15 Feedback content Categories for customers to make feedback.
16 Room alarm Contains time information to make alarms for customers.
Store information about request service turndown and check out at
17 Request service
room.
18 Message Store message when receptionist send to customer.
19 Room Store room information.
20 Device Store smart TV information.
21 Room type Store room type information.
22 Utilities Store utilities of room information.
23 Room price Store room price information.
24 Image Store the path and type of the image.
42
3.2 Welcome screen
3.2.1 Welcome screen
Function trigger: The customer enters the room and turns on the power.
Actor: Customer
Function description: Customers see the greeting by name and customers can choose to go
to other pages in the app from this screen.
Screen layout:
Function Details: Information when customers check in will be saved and greetings will
be made according to the guest's name in the room.
Business rules: BR-17, BR-18.
43
3.2.2 Happy birthday screen
Function trigger: Check in date the same with customer birthday.
Actor: Customer
Function description: When the customer enters the room and turns on the power, when the
check-in date the same with the birthday, the welcome screen will display birthday greetings
and play music. Customers can choose to go to other pages in the app from this screen.
Screen layout:
Function Details: Customer's information including date of birth will be saved when
performing check-in, the system will check the date of birth with the current date, if the
same, the screen will automatically perform the happy birthday function.
Business rule: BR-19, BR-20.
44
3.3 Home page
3.3.1 Home page
Function trigger: Customers want to see an overview information of the hotel.
Actor: Customer
Function description: The overview screen helps customers see service information of the
hotel.
Screen layout:
Function Details: The customer visits the homepage from the welcome screen for the first
time. Then when you turn on the TV, the home screen will be opened first.
Business rule: BR-21.
45
3.4 Service screen
3.4.1 Service categories
Function trigger: Customers want to view all service.
Actor: Customer
Function description: The screen helps customers see all the services of the hotel.
Screen layout:
Function Details: Customers can open the service page from the welcome screen at the first
time or can open it from the homepage at other times. The screen shows all available
services.
Business rule: N/A
46
3.4.2 Food and Beverage screen
Function trigger: Customers want to view Food and Beverage service details.
Actor: Customer
Function description: Customers view food and beverage service details.
Screen layout:
Function Details: Customers view details of foods and drinks. You can make a service booking
from this screen, book a service by choosing food or drink, choosing quantity and then
adding it to your cart.
Business rule: BR-22, BR-23
47
3.4.3 Cart
Function trigger: Customers want to view and make an order.
Actor: Customer
Function description: After the customer add the food to the cart, the customer can proceed
to order from the cart.
Screen layout:
Function Details: Customers view the details of the ordered and perform to order. At this
time, the service request will be forwarded to the food and beverage staff. When the staff
change the status to “Done” service, the customer bill will be updated.
Business rule: BR-24, BR-25.
48
3.4.4 Turndown screen
Function trigger: Customers want to booking turndown service.
Actor: Customer
Function description: For some reason the customer wants to do a quick cleaning. When
receiving a service request, the staff will do it according to the hours selected by the
customer.
Screen layout:
Function Details: When the customer booking turndown service, it is necessary to enter the
time to perform service. At this time, the request will be transferred to the housekeeping
staff, after completing the service, the housekeeping staff will change the status to “Done”.
Business rule: BR-26, BR-27, BR-28.
49
3.4.5 Airport pick-up screen
Function trigger: Customers want to booking airport pick-up service.
Actor: Customer
Function description: Customers view information and book airport transfers from the hotel
to the airport
Screen layout:
Function Details: When customers book airport transfers this request will be forwarded to
the receptionist so that the receptionist can confirm with the customer a specific time and
location. Then perform service confirmation to update the bill.
Business rule: BR-29, BR-30, BR-31
50
3.4.6 Pool screen
Function trigger: Customers want to view pool service information.
Actor: Customer
Function description: Customers can view an overview of swimming pool service information.
Screen layout:
Function Details: Customers will see a description and specific operating time of the pool
service.
Business rule: N/A
51
3.4.7 Massage screen
Function trigger: Customers want to view massage service information.
Actor: Customer
Function description: Customers can view an overview of massage relax service information.
Screen layout:
Function Details: Customers will see a description, specific operating time and type of the
massage service.
Business rule: N/A
52
3.4.8 Check out at room
Function trigger: Customers want to check out at room.
Actor: Customer
Function description: Customers check out at the room by choosing the check out service on
smart TV.
Screen layout:
Function Details: When the customer booking check out at the room, it will be delivered to
the receptionist. At this time, the receptionist will see the request and perform the check
and carry out the procedure for you.
Business rule: N/A
53
3.4.9 Set alarm
Function trigger: Customers want to set alarm.
Actor: Customer
Function description: Customer choose time and set alarm on smart TV.
Screen layout:
Function Details: When the customer selects the time and sets the alarm on the TV, the
system will save and alarm at the time you have selected.
Business rule: BR-32, BR-33, BR-34, BR-35.
54
3.5 Event screen
3.5.1 Event screen
Function trigger: Customers want to view event.
Actor: Customer
Function description: Customers view information about all events and statuses: on going,
upcoming, already happening.
Screen layout:
Function Details: Customers will be able to see information about all events taking place near
the hotel, the system will be divided into three statuses "on going", "upcoming", "already
happening" for customers to keep track of.
Business rule: BR-36, BR-37, BR-38.
55
3.6 Abstraction screen
3.6.1 Abstraction screen
Function trigger: Customers want to view abstraction around hotel.
Actor: Customer
Function description: Customers view detailed information of locations around the hotel.
There is also a map display so customers can easily visualize the distance.
Screen layout:
Function Details: Customers see the detailed information of the location, the system will
provide an additional QR code for customers to scan from the phone and see the distance
details on the map.
Business rule: N/A
56
3.7 News screen
3.7.1 News screen
Function trigger: Customers want to view news about the hotel.
Actor: Customer
Function description: Customers view information about news related to the hotel.
Screen layout:
Function Details: Customers see all news related to the hotel and details such news as
promotions, new services, ...
Business rule: N/A.
57
3.8 Bill screen
3.8.1 Bill screen
Function trigger: Customers want to view bill.
Actor: Customer
Function description: Customers can view the bills and services used in a specific bill.
Customer can make payments directly on smart TV.
Screen layout:
Function Details: Customers can view details of bills and their status. Customers can make
bill payments directly on smart TV through 2 methods: Momo or VN pay. After choosing a
payment method, a QR code will be displayed for customers to scan to make payment.
Business rule: BR-39, BR-40, BR-41, BR-42.
58
3.9 Feedback screen
3.9.1 Feedback screen
Function trigger: Customers want to make feedback hotel.
Actor: Customer
Function description: Customers make feedback about services and room quality
assessments.
Screen layout:
Function Details: Customers make evaluations and submit, at this time the system will save
and make statistics.
Business rule: BR-43, BR-44.
59
3.10 Home screen (Web booking)
3.10.1 Home screen
Function trigger: Guest want to view general information as well as hotel recommendations
and reservations.
Actor: Guest
Function description: Guest will see the hotel's introductory information. In addition,
customers can make bookings from the homepage.
Screen layout:
Function Details: Guest will view the hotel's overview and enter the necessary information
such as arrival, departure, number of people and number of rooms to be able to see the list
of suitable rooms and make reservations.
Business rule: BR-45.
60
3.11 List room (Web booking)
3.11.1 List room
Function trigger: Guest want to view a list of rooms that match your accommodation
information.
Actor: Guest
Function description: After the guest has entered all information such as arrival date,
departure date, number of people and number of rooms, the system will give a list of rooms
that match the customer's requirements.
Screen layout:
Function Details: The room list includes all room types that match the information you
provide. You can view room details before choosing a room.
Business rule: BR-46, BR-47.
61
3.12 Additional service screen (Web booking)
3.12.1 Additional service
Function trigger: Guest want to choose additional service for a booking.
Actor: Guest
Function description: After the guest has selected a suitable room, the next step will be to
choose additional services.
Screen layout:
Function Details: Guest will choose additional services along with special requests on this
page, when completing the booking, these additional will be transferred with the booking.
Business rule: BR-48, BR-49.
62
3.13 Confirm booking screen (Web booking)
3.13.1 Confirm booking
Function trigger: Guest want to view and confirm their booking.
Actor: Guest
Function description: Guest review their booking information and choose a payment method
for their booking.
Screen layout:
Function Details: Guest view full information about booking and proceed to choose payment
methods. There are two forms of payment: post payment and online payment with Momo
and VNpay.
Business rule: BR-50, BR-51, BR-52.
63
3.14 Booking successful screen (Web booking)
3.14.1 Booking successful
Function trigger: Guest want to view booking successful information.
Actor: Guest
Function description: Guest will see booking information and successful booking notification.
Screen layout:
Function Details: Guest will see the information of the booking and notify the booking has
been successful. At the same time, you will receive an email notifying you of successful
booking.
Business rule: BR-53.
64
3.15 Introduction screen (Web booking)
3.15.1 Introduction page
Function trigger: Guest want to view the hotel introduce information.
Actor: Guest
Function description: Guest will see all the detailed information about the hotel.
Screen layout:
Function Details: Guest view information about the hotel's introduction, utilities, and
customer reviews. Give guests an overview of the hotel.
Business rule: N/A
65
3.16 Room screen (Web booking)
3.16.1 Room screen
Function trigger: Guest want to view all room information.
Actor: Guest
Function description: Guest will see all room type and detail of each room type information.
Screen layout:
Function Details: Guest can view the details of each room type and can choose a specific
room type to book from this page.
Business rule: N/A
66
3.16.2 Room details screen
Function trigger: Guest want to view details room information.
Actor: Guest
Function description: Guest will see all information of specific room type.
Screen layout:
Function Details: Guest will see general information, utilities and actual pictures of the room.
Guest can enter the necessary information to make a booking room.
Business rule: BR-54, BR-55.
67
3.17 Service screen (Web booking)
3.17.1 Service screen
Function trigger: Guest want to view service information.
Actor: Guest
Function description: Guest can view all service categories of hotel.
Screen layout:
Function Details: Guests will see an overview along with a short description of all the services
the hotel has available.
Business rule: N/A
68
3.17.2 Service details
Function trigger: Guest want to view details service information.
Actor: Guest
Function description: Guest can view details service categories of hotel.
Screen layout:
Function Details: Guest will see a detailed description of the service as well as all information
such as service hours and some basic menus for Food and beverage services.
Business rule: N/A.
69
3.18 News screen (Web booking)
3.18.1 News screen
Function trigger: Guest want to view hotel news.
Actor: Guest
Function description: Guest will see an overview of news related to the hotel.
Screen layout:
Function Details: Guest will see information about news related to the hotel: promotional
news, nearby places, events around the hotel. Guest can view detail of news.
Business rule: BR-56.
70
3.18.2 News details
Function trigger: Guest want to view news details.
Actor: Guest
Function description: Guest will see details information of news.
Screen layout:
Function Details: Detailed information about news as well as events and nearby places will
be described specifically for guest to see and refer to.
Business rule: N/A
71
3.19 Contact screen (Web booking)
3.19.1 Contact screen
Function trigger: Guest want to view hotel contact.
Actor: Guest
Function description: Guest will see contact information of hotel.
Screen layout:
Function Details: Contact information includes information about the hotel's address, email
and phone number, and hotel comments via email.
Business rule: N/A
72
3.20 Cancel screen (Web booking)
3.20.1 Cancel screen
Function trigger: Customer want to cancel booking room.
Actor: Guest
Function description: For some reason, the customer wants to cancel the booking, the
system will provide a page where the customer can fill in the necessary information and
cancel the booking.
Screen layout:
Function Details: When cancel a booking, the customer needs to provide the necessary
information, then the system will record the request and transfer it to the receptionist for
cancellation.
Business rule: BR-57.
73
3.21 Login screen
3.21.1 Login screen
Function trigger: Hotel staff want to login to the system.
Actor: Admin, Hotel manager, Receptionist, Food and beverage staff, Housekeeping staff.
Function description: Hotel staff enter username and password to be able to log into the
system.
Screen layout:
Function Details: Hotel staff log into the system by entering username and password
provided from hotel. The system verifies the user’s identity and confirms whether they are
allowed to access or not.
Business rule: BR-01, BR-02, BR-03, BR-04, BR-05.
3.22 Logout screen
3.22.1 Logout screen
Function trigger: Hotel staff want to logout of the system.
Actor: Admin, Hotel manager, Receptionist, Food and beverage staff, Housekeeping staff.
Function description: Hotel staff click logout and confirm to logout of the system.
Screen layout:
74
Function Details: Hotel staff log out of the system to change another account.
Business rule: BR-08.
75
3.23 View profile screen
3.23.1 View profile screen
Function trigger: Hotel staff want to view their profile.
Actor: Admin, Hotel manager, Receptionist, Food and beverage staff, Housekeeping staff.
Function description: Hotel staff will see their personal information and can edit personal
information.
Screen layout:
Function Details: Employees will view personal details including username, full name,
gender, phone number, avatar and date of birth.
Business rule: N/A
3.24 Edit profile screen
3.24.1 Edit profile screen
Function trigger: Hotel staff want to edit profile.
Actor: Admin, Hotel manager, Receptionist, Food and beverage staff, Housekeeping staff.
Function description: For some reason the hotel staff wants to change personal information,
this function will be used.
76
Screen layout:
Function Details: The customer will edit some specified information to serve the user's
personal needs.
Business rule: BR-06, BR-07
77
3.25 Floor plan screen
3.25.1 Floor plan screen
Function trigger: Hotel staff want to view floor plan screen.
Actor: Receptionist, Food and beverage staff, Housekeeping staff.
Function description: The floor plan screen will show the hotel staff an overview of the room
layout. Includes room type, room number, and an action number on each room. For each
role, the floor plan screen will display different information.
Screen layout:
Function Details: Hotel staff, based on the room map, can view availability and guest rooms,
and view service requests from rooms through the types of messages displayed on each
room.
Business rule: BR-58, BR-59, BR-60.
3.25.2 Request service details popup
Function trigger: Hotel staff want to view details request service.
Actor: Food and beverage staff, Housekeeping staff.
Function description: Food and beverage staff, Housekeeping staff can view the details
service requests that customers book from smart TV and change the status of service
request.
Screen layout:
78
Function Details: The service status of the service can be viewed and changed while it is in
progress or done.
Business rule: BR-61, BR-62.
Function Details: The service status of the service can be viewed and changed while it is in
progress or done.
Business rule: BR-61, BR-62.
79
3.25.4 List service used by room popup
Function trigger: Receptionist want to view list service used by room.
Actor: Receptionist.
Function description: Receptionist view list service used by room from floor plan screen.
Screen layout:
Function Details: Reception view and can perform airport transfer confirmation action at this
screen.
Business rule: BR-63.
80
3.25.5 Send notification popup
Function trigger: Receptionist want to send notification to specific room.
Actor: Receptionist.
Function description: Receptionist view send notification to customer room.
Screen layout:
Function Details: The receptionist selects a specific room on the floor plan screen, selects the
action to send the notification, then enters the message you want to send to and press send.
Business rule: BR-64.
81
Function Details: Reception performs the creation of a new booking room for retail guests
from the floor plan screen through the action of creating a new reservation. When creating a
new reservation, it is necessary to enter all customer information.
Business rule: BR-65.
82
Function Details: The booking list will be displayed by filters so that the front desk can
perform operations related to the check-in or check-out of guests. There are tabs all
booking, arrival of the day, departure of the day, staying at.
Business rule: BR-66, BR-67, BR-68, BR-69.
3.26.2 Check in screen
Function trigger: Receptionist want to perform check-in for customer.
Actor: Receptionist.
Function description: The front desk performs check-in for customers from the booking list
whose arrival date at the booking coincides with the current date.
Screen layout:
Function Details: When performing check-in, the front desk needs to select a room and fill in
the customer's information and select guests to stay in that room.
Business rule: BR-70, BR-71, BR-72.
83
3.27 List customer screen
3.27.1
List customer screen
Function trigger: Receptionist want to view list customer.
Actor: Receptionist.
Function description: The system will display a list of all customers who have stayed and are
staying at the hotel.
Screen layout:
Function Details: The system will give a list of customers according to the filter selected by
the reception such as from date to date, guest name, reservation code, room type.
Business rule: BR-73.
84
3.27.2 Customer details screen
Function trigger: Receptionist want to view customer details .
Actor: Receptionist.
Function description: The receptionist will see the customer details information.
Screen layout:
Function Details: Customer details information include general information such as dates to
departures, guests staying, room price and services used along with the status of those
services.
Business rule: BR-74.
3.28 List service screen
3.28.1 List service screen
Function trigger: Admin want to view list service.
Actor: Admin.
Function description: Admin can view the list of available services of the hotel and can filter
by service type to see each type of service specifically.
Screen layout:
85
Function Details: When viewing the service admin can perform actions such as adding new,
editing service information, hiding services and deleting services if not needed.
Business rule: BR-75, BR-76.
Function Details: When viewing list abstraction admin can perform actions such as adding
new, editing abstraction information, hiding or deleting abstraction if not needed.
Business rule: BR-78, BR-79.
86
3.30 List news screen
3.30.1 List news screen
Function trigger: Admin want to view list news.
Actor: Admin.
Function description: Admin can view the list news of hotel.
Screen layout:
Function Details: When viewing list news, admin can perform actions such as adding new,
editing abstraction information, hiding or deleting abstraction if not needed.
Business rule: BR-80, BR-37, BR-38, BR-81, BR-82.
87
3.31 Setting welcome screen
3.31.1 Setting welcome screen
Function trigger: Admin want to setting welcome screen.
Actor: Admin.
Function description: Admin can edit all information of welcome screen.
Screen layout:
Function Details: Admin adjusts the information related to the welcome screen, customers
will see this screen when turning on the power of the room.
Business rule: BR-83, BR-84, BR-85.
88
3.32 View list room screen
3.32.1 View list room screen
Function trigger: Admin want to view list all room of hotel.
Actor: Admin.
Function description: Admin can view and edit room information.
Screen layout:
Function Details: Admin can add new rooms and edit room information such as: room
number, room type, max person, description and picture.
Business rule: BR-86, BR-87, BR-88.
89
3.33 View hotel information
3.33.1 View hotel information
Function trigger: Admin want to view hotel information.
Actor: Admin.
Function description: Admin view all hotel information.
Screen layout:
90
3.34 Manage account hotel staff
3.34.1 Manage account screen
Function trigger: Admin want to view and edit account.
Actor: Admin.
Function description: Admin view all account of hotel staff and perform inactive or delete
account.
Screen layout:
Function Details: Admin can add new account with a specific role, username, password and
can perform edit actions, inactive or delete account from system.
Business rule: BR-91, BR-92, BR-93, BR-94.
91
3.35 View dashboard
3.35.1 View dashboard
Function trigger: Admin and hotel manager want to view dashboard.
Actor: Admin, Hotel manager.
Function description: Dashboard will be parameters describing the statistics of the frequency
of using the hotel's services and rooms and a few other parameters.
Screen layout:
Function Details: The parameters of the dashboard will have filters by day, week, month to
be able to see in detail the general parameters of how often customers use the service as
well as book rooms.
Business rule: BR-95, BR-96, BR-97, BR-98.
92
3.36 Manage room price
3.36.1 Manage room price
Function trigger: Hotel manager want to view dashboard.
Actor: Hotel manager.
Function description: Hotel manager configures price for each room type.
Screen layout:
Function Details: Hotel manager will view a list of room types along with prices and can
perform price updates for the room.
Business rule: BR-99.
93
3.37 Manage daily price and room availability booked by date screen.
3.37.1 Manage daily price and room availability booked by date screen.
Function trigger: Hotel manager want to set price and number of room availability can
booked by date.
Actor: Hotel manager.
Function description: Hotel manager sets the daily price for each room type and sets the
number of rooms for the room type that can be booked on that day.
Screen layout:
Function Details: Hotel manager sets the price by day by selecting the specific time you want
to set and the type of room you want to set the system will display the room and date. Now
the hotel manager will enter the price and enter the number of rooms that can be booked
that day.
94
4. Non-Functional Requirements
4.1 External Interfaces
UI-1: The user interfaces must be simple, friendly.
US-2: The web booking hotel for guest should be easy to use and have an eye-catching user
interface.
US-3: The web application for the hotel staff should require no more than one day of training to be
used.
US-4: Hotel staff are not required to have technical knowledge before using.
4.2.2 Reliability
RE-1: The likelihood of the system failure is less than 5%.
minute.
4.2.3 Performance
PER-1: Response time is equal to or less than 30 seconds for each request.
5. Requirement Appendix
5.1 Business Rules
ID Rule Definition
BR-01 Login information must not be empty and be verified through the system.
BR-02 There are 2 statuses of user account:
- Active
- Inactive
BR-03 The default status of user account is Active.
BR-04 Accounts with status “Inactive” cannot login to the system.
BR-05 Username must be unique.
BR-06 Username cannot be update.
BR-07 User can upload, edit avatars, first name, middle name, last name, phone number,
password and DOB.
BR-08 The system does not logout the user from the web application when the user is no longer
active on the web.
BR-09 The avatar file must be image file format.
BR-10 The avatar maximum file size must be 4MB.
BR-11 Only admin can change the user status “Active” or “Inactive”.
BR-12 Only admin can update user role.
BR-13 Admin cannot change the status “Active” or “Inactive” of the same admin role.
95
BR-14 Admin cannot change roles for their own account.
BR-15 There are 5 roles:
- Receptionist
- Food and beverage (F&B) staff
- Housekeeping staff
- Hotel manager
- Admin
BR-16 When logged out successfully, the system will redirect to the login page.
BR-17 When the welcome screen displays the greeting will display the main customer name.
The name of the main customer will be chosen by the reception at check-in.
BR-18 The welcome screen is displayed only once when the customer enters the room and
turns on the power for the first time.
BR-19 When the happy birthday screen displays congratulations, it will be displayed according
to the information of the main customer. When checking in, the main customer will be
selected by the receptionist.
BR-20 The happy birthday screen is displayed only once when the customer enters the room
and turns on the power for the first time.
BR-21 From the first time onwards, when opening the TV app, the first home screen will be
displayed.
BR-22 The cart icon only appears when you have added the service to the cart.
BR-23 Customers will see which food and beverage are the best sellers of the hotel.
BR-24 Customers can edit the quantity of the service in the cart.
BR-25 When the customer edits the number of services in the cart to zero, the save button will
change to delete.
BR-26 When ordering the turndown service, the customer will have to choose the time to
perform the service. The selected time must be within the working hours from 8:00 AM
to 20:00 PM.
BR-27 When making a booking turn down service, the customer is only set time from the
current time to 20:00 PM
BR-28 When the cleaning service's working hours are over, the booking button will become
temporarily closed.
BR-29 When booking the airport pick-up service at smart TV, the default will be a one-way
transfer from the hotel to the airport.
BR-30 When airport pick-up service have booked at web booking room then the smart TV will
be tick on airport pick-up service corresponding at the time of booking room.
BR-31 When airport pick-up service have booked at web booking room then customer cannot
book again in smart TV.
BR-32 The customers can set multiple alarms with different hours.
BR-33 The customer can edit alarms that customers set.
BR-34 The customer cannot edit the alarm that the receptionist set for the customer.
BR-35 The receptionist can set an alarm to the customer's room when requested by the
customer.
BR-36 The event has a total of three states: On going, upcoming, already happening.
BR-37 The system will automatically update the status "on going", "upcoming", "already
happening" based on the current date.
BR-38 "On going" status when current date coincides with event time, "upcoming" status when
event date is not yet current date, "already happening" status when event date past
96
present day.
BR-39 Bill has two status: paid and unpaid.
BR-40 When choosing a service and perform an order, the system will generate an bill for the
services ordered.
BR-41 The bill will be displayed on the smart TV when the hotel staff serving the service ordered
by the customer confirms that it has been completed.
BR-42 Customers can choose to pay all bills with unpaid status or choose to pay each bill.
BR-43 Customer can submit multiple feedback during their stay.
BR-44 Feedback after sending must wait 10 minutes to continue sending another feedback.
BR-45 When entering information to find a room, only from today onwards.
BR-46 The room list will include rooms that can accommodate the number of people equal to or
greater than the number of guests entered by the customer.
BR-47 When the customer selects multiple rooms, the customer will select the appropriate
rooms in turn on the room list page.
BR-48 When booking the airport transfer service at the booking website, the default will be
two-way.
BR-49 When choosing more than one room and choose the additional service, it will come with
all the rooms that the customer chooses.
BR-50 After confirming, guest need to tick the box that already read the terms to be able to
complete the reservation.
BR-51 Customers need to fill in their information before completing the booking.
BR-52 Email address information, confirm email and guest full name are required to enter.
BR-53 Email notification of successful booking will be sent to the customer via the email the
customer entered when filling in the booking information.
BR-54 When choosing to book or view a room in a specific room type, the system will show the
first room type you choose and include suggestions for other room types.
BR-55 To book a room, you need to fill in the necessary information such as arrival date,
departure date, number of adults and children.
BR-56 When guest choose news, the promotion page tab will show first.
BR-57 To cancel a booking, you need to enter your booking email and reservation number.
BR-58 Floor plan has two states: empty and have guest.
BR-59 Reception can perform viewing guest information, send notices, check out for guests and
view notices of services that the room uses in a specific room in the floor plan.
BR-60 Food and beverage staff, housekeeping staff view notification and the service status of
each room when customer request service.
BR-61 Service has 3 status: waiting for progressing, in progress, done.
BR-62 Only hotel staff serving their services have the right to change the service status.
BR-63 Only the receptionist can perform the function of confirming the airport pickup service of
the customer
BR-64 The message sent in words cannot be more than 500 characters.
BR-65 When creating a new booking for a single guest, the front desk needs to fill in all the
require information and must not add more people than the maximum number of people
for that room type.
BR-66 In all booking tab:
- if the arrival date in the booking is the same as the current date system will display
check in button.
97
- if the date of departure in the booking coincides with the current date system will
display check out button.
- if the arrival date in the booking is not yet the current date system will display cancel
button.
BR-67 In arrival day tab:
- System will display all booking whose arrival date coincides with the current date the
action shown now is check in.
BR-68 In departure day tab:
- System will display all booking whose departure date coincides with the current date
the action shown now is check out.
BR-69 In staying at tab:
- If the departure date of the booking coincides with the current date system the
action is check out.
BR-70 When choosing a room for a guest's booking, the system will filter out available rooms
and corresponding to the room type of the booked guest, the reception will select the
room number and perform check-in for the guest.
BR-71 The customer selected by the receptionist as the primary customer will be shown the
name along with the room on the floor plan screen and default selected the first
customer.
BR-72 When adding customer, the number of customer added does not exceed the maximum
number of guests specified by the room type.
BR-73 In the customer list, there is an action to view guest details.
BR-74 On the customer detail page, the front desk will see more services that the customer has
used along with the paid or unpaid status.
BR-75 Only admin have the permission to edit service.
BR-76 Admin has the permission to edit the service name, picture, price, description and change
the hidden or visible status of the service.
BR-78 Only admin have the permission to edit abstraction.
BR-79 Admin has the permission to edit the abstraction name, picture, open and close time,
longtitude, latitude, address, description and change the hidden or visible status of the
service..
BR-80 News has 2 types: events or promotions. For each type of admin, you can adjust different
information.
BR-81 Only admin have the permission to edit news.
BR-82 Admin has the permission to edit the news name, picture, tick information, detail
information, address, description, start date, end date, start time, end time and change
the hidden or visible status of the service.
BR-83 The welcome screen will set 2 statuses display: welcome and happy birthday.
BR-84 Only admin have the permission to edit welcome screen.
BR-85 Admin can edit greeting, birthday greeting, happy birthday music and wish to customer.
BR-86 Only admin have the permission to edit room information.
BR-87 Admin can edit room information such as: room number, room type, max person,
description and picture.
BR-88 Admin can add from 1 to 5 describing the room.
BR-89 Only admin have the permission to edit hotel information.
BR-90 Admin can edit hotel short name, hotel full name, phone number, address, email,
website, check in and check out time, total room.
BR-91 Only admin have permission to add account to the system.
98
BR-92 Admin add account with username, password and role.
BR-93 Admin can perform inactive or delete account from system.
BR-94 Each account can only be assigned to a specific role.
BR-95 Dashboard will have information: Number of rooms booked today, revenue, accumulated
revenue, canceled today, accumulated cancellation merchants, arrival rooms of the day,
departure rooms of the day, rooms with guests, the number of guests currently live.
Room capacity diagram, revenue by transaction type, feedback of customer.
BR-96 Accumulated revenue is the revenue from the beginning of the month to the current time
in that month.
BR-97 Room capacity = (the number of rooms have customer / by the total number of rooms) x
100
BR-98 Revenue of all types of transactions will be displayed as the upper part of a pie chart:
there are two main types of transactions: room and service.
BR-99 Only hotel manager have permission to edit price of room type.
BR-100 Only hotel manage have permission to manage daily price and number of room can book
by date.
BR-101 Filter from day to day max is only 1 week.
BR-102 Only one room type can be selected at a time of set price.
BR-103 When you click apply, the price changes only on the interface screen and has a red
underline to show that it has not been saved.
BR-104 The number of rooms that can be booked plus the number of rooms currently booked at
a particular date must be less than or equal to the total number of rooms of that room
type.
BR-105 When you click save, the new price will be saved along with the number of rooms that
can be booked.
5.2 Common Requirements
N/A
99
5.3 Application Messages List
Smart TV application
100
Cảm ơn quý khách đã sử
dụng dịch vụ của chúng tôi
12 MSG12 Popup message Send feedback Đánh giá của bạn đã được
ghi nhận
Xin cảm ơn những đóng góp
của quý khách
13 MSG13 Popup message Wait for minutes to send Xin quý khách đợi 10 phút
feedback again sau để thực hiện đánh giá.
Xin cảm ơn những đóng góp
của quý khách
14 MSG14 Popup message Order service turndown lower Thời gian đặt phải sau thời
curren time gian hiện tại
Xin quý khách thử lại sau.
15 MSG15 Popup message When customer click booking Quý khách đã yêu cầu dịch
service turndown after vụ trước đó.
booking this service successful. Nhân viên sẽ sớm hoàn tất
công việc dọn phòng.
16 MSG16 Popup message When the customer has set Báo thức chưa được thực
the time but has not selected hiện.
"Bật" and press "Đặt báo thức" Xin hãy chọn chế độ bật báo
thức.
Web booking
101
Xin lỗi về sự bất tiện này
4 MSG04 Pop-up Customer does not click accept Bạn cần phải chấp nhận
message policy chính sách để tiếp tục
5 MSG05 Pop-up Email and email confirm is not Email không trùng khớp
message valid
6 MSG06 Pop-up Customer information is empty Cho chúng tôi biết thông tin
message về bạn.
7 MSG07 Pop-up Phone is not valid Vui lòng kiểm tra lại số điện
message thoại
Web admin
4 MSG04 Popup Check out fail because Booking Thao tác thất bại
Message not pay order yet. chưa thanh toán dịch vụ
102
IV. Software Design Description
1. System Design
1.1 System Architecture
No Name Description
The component receives the request from the web and smart TV
application. It handles business logic, database queries, and
3 Back-end
external systems. Then return data as a response to the web and
smart TV application.
6 Momo API The component receive payment method request with order
103
code then Momo will return payUrl and generate QR code. After
scanning the QR code and confirming the payment, Momo will
process and return the results to the back-end.
The back end receives customer information from front end and
then validates to make sure that the booking is assigned for the
8 Mail service
customer or not. Finally, the mail service will send the customer
information about their booking.
104
1.2 Package Diagram
1.2.1 Backend Package Diagram
105
1.2.2 Web Application Package Diagram
106
1.2.3 Smart TV Application Package Diagram
107
108
109
2. Database Design
No Table Description
01 Abstraction - Primary Keys: id – Integer – Not null
- Foreign Keys: hotel_id – Integer – Not null
- address – varchar(255)
- close_time – varchar(255)
- description – varchar(255)
- name – varchar(255)
- open_time – varchar(255)
- longtitude – double – Not null
- latidute – double – Not null
02 Booking - Primary Key: id – Integer – Not null
- actual_arrival_date – Varchar(255)
- actual_departure_date - Varchar(255)
- arrival_date – Varchar(255)
- confirmation_no – Integer – Not null
- create_by – Varchar(255)
- create_date – Varchar(255)
- departure_date – Varchar(255)
- last_modify_by – Varchar(255)
- num_of_adult – Integer – Not null
- num_of_children – Integer – Not null
- room_payment – Varchar(255)
110
- special_note – Varchar(255)
- status – Varchar(255)
- total_amount – Double – Not null
- update_data – Varchar(255)
- Foreign Keys: customer_id – Integer
- Foreign Keys: hotel_id – Integer
- Foreign Keys: room_id – Integer
- Foreign Keys: room_type_id – Integer
03 Customer - Primary Key: id – Integer – Not null
- birth_date – Varchar(255)
- create_by – Varchar(255)
- create_data – Varchar(255)
- email – Varchar(255)
- first_name – Varchar(255)
- gender – Integer – Not null
- id_no – Integer – Not null
- last_modify_by – Varchar(255)
- last_name – Varchar(255)
- middle_name – Varchar(255)
- passport_number – Integer - Not null
- phone_number – Varchar(255)
- update_data – Varchar(255)
111
- check_out_time – Varchar(255)
- create_by – Varchar(255)
- create_date – Varchar(255)
- desciption – Varchar(255)
- email – Varchar(255)
- full_name – Varchar(255)
- last_modify_by – Varchar(255)
- latitude – Varchar(255)
- longitude – Varchar(255)
- phone_number – Varchar(255)
- short_name – Varchar(255)
- status – Bit(1) – Not null
- total_area – Integer – Not null
- total_room – Integer – Not null
- update_date – Varchar(255)
- website – Varchar(255)
112
- date_time – Varchar(255)
- payment_amount – Double – Not null
- Foreign Key: payment_method_id – Integer
113
- default_occupancy – Integer – Not null
- description – Varchar(255)
- is_active – Bit(1) – Not null
- max_adult – Integer – Not null
- max_occupancy – Integer – Not null
- name – Varchar(255)
- max_children – Integer – Not null
- default_price – Double – Not null
- bed_type – Varchar(255)
- default_booking_room – Integer – Not null
- code – Integer
- num_of_room – integer – Not null
114
- last_name – Varchar(255)
- middle_name – Varchar(255)
- password – Varchar(255)
- phone_number – Varchar(255)
- user_role – Varchar(255)
- username – Varchar(255)
- Foreign Key: hotel_id – Integer
3. Detailed Design
3.1 Class Diagram
3.1.1 Class Diagram
115
Hotel
Image
116
Account
News
Abstraction
117
Device
Room
Room Type
118
Room price
Utilities
Message
Request Service
Booking
119
Property Name Data Type Access Modifier Description
id long Public Id of Booking
confirm booking in
confirmation_no integer Public
same customer booking
Date customer booking
arrival_date string Public
arrival
Date customer booking
departure_date string Public
departure
Date customer actual
actual_arrival_date string Public
arrival
Date customer actual
actual_departure_date string Public
departure
Number of adults
num_of_adults integer Public
booking
Number of children
num_of_children integer Public
booking
Total payment of
room_payment string Public
booking
Special note of
special_note string Public
customer booking
Status of booking like
status string Public check in, check out, no
show, cancel
Total amount for
total_amount double Public
booking
update_date string Public Date update data
create_by string Public Person create data
create_date string Public Date create data
The last person modify
last_modify_by string Public
data
Customer Feedback
Feedback content
Special Request
120
Property Name Data Type Access Modifier Description
id long Public Id of Special Request
special_utility_id long Public Id of Speical Utility
Special_Utility
Customer
Service Category
121
Service category is food
isFandB boolean Public
and beverage
Service category can
isOrder boolean Public
book service
Description of service
description string Public
category
Service
Order
Order Detail
122
Order Payment
Payment Method
123
3.2.2 Booking Service Food and Beverage
124
3.2.4 Booking Service Turn Down
3.2.5 Check In
125
3.2.6 Check Out
126
V.Software Testing Documentation
1. Scope of Testing
2. Test Strategy
2.1 Testing Types
There are a few types of testing that are applied in Hyper system:
Testing Level: System Test, User Acceptance Test
Testing Type: Functional Testing, User Interface Testing
2.2 Test Levels
Stage of test
Type of test
Unit Integration System Acceptance
Function Testing X X
User Interface Testing X X
2.3 Supporting Tools
N/A
3. Test Plan
3.1 Human Resources
Worker Role Specific Responsibility
Phạm Thanh Đạt Leader Planning, do testing
Cún Phương Long Member Planning, do testing
Đào Hồng Sơn Member Planning, do testing
Nguyễn Công Thức Member Planning, do testing, verify
testing
Lê Huỳnh Hoàng Dương Member Planning, do testing, verify
testing
127
3.2 Test Environment
1/ Web Browser (Chrome version: 103.0.5060.134) 2/
Smart TV Android Sony
128
VI. Release Package & User Guides
1. Deliverable Package
Source Codes and Documents
No. Items Sub-Items Type Version
Code Package
Database
Documents
2. Installation Guides
2.1 System Requirements
2.1.1 Hardware Requirements
Web Applications
PC Minimum Recommended
129
SmartTV Application
3. User Manual
3.1 Overview
We provide a web application to be able to book rooms and a smart TV system to serve during your
stay at the hotel. Finally, the web admin system to manage and handle requests from smart TVs.
Detailed instructions on how to use it are described below.
130
3.2 Booking Room
131
4
2 Select the number of rooms and the number of adults and children Required
132
1
133
3
134
1
135
3
2 Select utilities
136
1
137
4
138
No. Step Note
139
3.3 Check in
140
3
141
8
142
3.4 Booking service on Smart TV.
143
3
144
5
145
7
146
9
10
147
11
10 Processing notice
11 Successful notice
148
3.5 Confirm request service
149
3
150
No. Step Note
2 View list request service and click “Xem chi tiết” Required
151
3
152
5
153
7
154