0% found this document useful (0 votes)
107 views64 pages

Report3 - Software Requirement Specification

The document provides a software requirement specification for an online hotel booking application called F-Travel. It outlines the user requirements including different actor roles, use cases, and use case descriptions. It also describes the functional requirements covering various services and non-functional requirements related to interfaces and quality attributes. Requirements are organized into sections for product overview, user requirements, functional requirements, non-functional requirements, and appendices.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views64 pages

Report3 - Software Requirement Specification

The document provides a software requirement specification for an online hotel booking application called F-Travel. It outlines the user requirements including different actor roles, use cases, and use case descriptions. It also describes the functional requirements covering various services and non-functional requirements related to interfaces and quality attributes. Requirements are organized into sections for product overview, user requirements, functional requirements, non-functional requirements, and appendices.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 64

CAPSTONE PROJECT REPORT

Report 3 – Software Requirement


Specification

– Da Nang, Jan 2022 –

1 | Page
Table of Contents
I. Record of Changes 3
II. Software Requirement Specification 4
1. Product Overview 4
2. User Requirements 4
2.1 Actors 4
2.2 Use Cases 5
3. Functional Requirements 9
3.1 System Functional Overview 9
3.2 Identity Service 16
3.3 Facilities Management Service 20
3.4 Invoice Service 42
3.5 Booking Service 50
3.6 Other 59
4. Non-Functional Requirements 61
4.1 External Interfaces 61
4.2 Quality Attributes 62
5. Requirement Appendix 63
5.1 Business Rules 63
5.2 Common Requirements 64
5.3 Application Messages List 65

2 | Page
I. Record of Changes
Date A In Change
* charge Description
M,
D

*A - Added M - Modified D - Deleted

3 | Page
II. Software Requirement Specification
1. Product Overview
F-Travel is a web application that provides online booking services. Thereby, accommodation
providers can offer their booking products and services. At the same time customers can use to
make reservations. F-Travel is an intermediary that connects suppliers with customers. Besides,
users can easily search for hotels that suit their needs.

In addition, the website also provides a feature to find the current location of events and hotels
nearby

2. User Requirements
2.1 Actors
# Actor Description
The person who operates and oversees the entire system and has
1 SystemAdmin
several roles in terms of system management of F-Travel

People subscribe to the system to rent hotels, manage private rooms


2 Hotel owner
and pay bills.

3 Hotel manager Manager of hotel rooms, reservations and transactions in the hotel

A common name for all the roles after they have already login into the
4 User website. They use the system to find rooms, request to booking, view
bills and make payments.

5 Guest People who use F-Travel without login into the system

2.2 Use Cases


2.2.1 Diagram(s)

Figure 1.1 Profile subsystem use case

4 | Page
Figure 1.2 Hotel Management  subsystem use case

5 | Page
Figure 1.3 Booking subsystem use case

Figure 1.4 Activities Management subsystem use case

6 | Page
2.2.2 Descriptions

ID Use Case Actors Use Case Description

UC-01 Register Guest Guest registers to become F-Travel.User


User, Hotel manager, F-Travel.User or Hotel manager/Hotel
UC-02 Login
Hotel owner owner logins to use F-Travel
User, Hotel manager, F-Travel.User or Hotel manager/Hotel
UC-03 Logout
Hotel owner owner logouts to use F-Travel
User, Hotel manager, F-Travel.User or Hotel manager/Hotel
UC-04 View profile
Hotel owner owner can see their account profile
User, Hotel manager, F-Travel.User or Hotel manager/Hotel
UC-05 Edit profile
Hotel owner owner can update their account profile
F-Travel.User or Hotel manager/Hotel
User, Hotel manager,
UC-06 Forgot password owner can reset their account incase
Hotel owner
forgot password
F-Travel.User or Hotel manager/Hotel
User, Hotel manager,
UC-07 Change password owner can change their password when
Hotel owner
they login into F-Travel account
Hotel manager or Hotel owner can add
Add hotel Hotel manager, Hotel
UC-08 others hotel managers to manage hotels
manager owner
and rooms
View hotel Hotel manager, Hotel Hotel manager or Hotel owner can see
UC-09
managers owner the list hotel managers
Update hotel Hotel manager, Hotel Hotel manager, Hotel owner can disable
UC-10
managers owner or enable hotel managers
View detail hotel Hotel manager, Hotel Hotel manager, Hotel owner can view
UC-11
managers owner detail of hotel managers
Hotel manager, Hotel Hotel manager, Hotel owner can update
UC-12 Update room
owner room status
Hotel manager, Hotel Hotel manager, Hotel owner can add
UC-13 Add room
owner room
Register hotel
UC-14 owner Hotel owner Hotel owner registers to become hotel
membership owner membership
Register/Update Hotel owner can register/update their
UC-15 Hotel owner
hotel hotel in F-Travel
Accept/reject System Administrator can accept or
UC-16 System Administrator
hotel reject hotel from hotel owner
View list System Administrator can see the list of
UC-17 System Administrator
registered hotel registered hotel
System Administrator can ban the hotel
UC-18 Banning hotel System Administrator
if they do not follow the rules

UC-19 View list hotel User, Guest Everyone can see the list searched hotel

7 | Page
UC-20 Search hotel User, Guest Everyone can see search hotel
UC-21 Filter hotel User, Guest Everyone can see filter hotel

UC-22 Sort hotel User, Guest Everyone can see sort hotel

UC-23 View hotel detail User, Guest Everyone can see the detail of hotel

UC-24 View room detail User, Guest Everyone can see the detail of room

UC-25 Booking User User can booking the room

UC-26 Make payments User User can make payments to have room
User can give rating after using the
UC-27 Rating User
room
UC-28 Cancel booking User User can cancel booking room
Hotel manager, Hotel Hotel manager, Hotel owner can
UC-29 Confirm booking
owner confirm booking room for user
if the user cancels the reservation, the
UC-30 Refund System Administrator System Administrator will refund the
previous reservation
Report abuse
UC-31 User User can report abuse contents
contents
Hotel manager, Hotel Hotel manager, Hotel owner can see the
UC-32 View list booking
owner list of booking
View business System Administrator can see business
UC-33 System Administrator
dashboard dashboard
Moderate System Administrator can moderate
UC-34 System Administrator
comments comments of user
System Administrator can process
UC-35 Process report System Administrator
report for abuse contents
Request for System Administrator can request for
UC-36 System Administrator
payment of debt payment of debt
System Administrator can confirm
UC-37 Confirm payment System Administrator
payment from hotel
Create/Update
System Administrator can create and
UC-38 activies System Administrator
update activities in time or location
(time/location)
UC-39 View activites User User can see the activities

8 | Page
3. Functional Requirements
3.1 System Functional Overview
3.1.1 Screens Flow

9 | Page
10 | Page
3.1.2 Screen Descriptions

# Feature Screen Description


Provide user the form to login using their email/username
1 Login Login
and password
The button that activates the 3rd party External
2 Login by Gmail Login Authentication form to log into the system using the
Identity for that party
Feature for users to register a new account with an email
3 Register Login / Register
address
View Static Main page to advertisement and quick recommends some
4 Home
Information services for user, help them easy to start
Personal
5 Profile Identifying information of any individual
information
Edit user A page for users where they can edit their profile
6 Profile
details (password, name, gender, date of birth,…)
List of booked
7 Customer List the lists that the user has set
rooms

The section for user typing their comment and leave


8 Room Reviews Customer
rating points

9 List of hotels Customer User can see the list of searched hotels

10 Hotel details Customer User can see more information of hotel hotel

11 Book room Customer Users can book their favorite room

Customers review the booking room that can be paid in


12 Payment Customer
the form of vn pay or cash

13 List of hotels Hotel Owner Hotel owners can view their hotel listings

Register new
14 Hotel Owner A page for hotel owners to create new hotels
hotel
Update hotel
15 Hotel Owner Hotel owners can change their hotel information
information
Room book A page showing all customer booking requests made by
16 Hotel Owner
request list the owner
System
17 System admin Detailed list of hotels (verified, pending, disabled)
manager
List hotel is
A feature to approve a request and accept new bookings
18 waiting for System admin
from hotel owners
approval

11 | Page
# Feature Screen Description
List Hotel is
19 System admin List of hotel activities approved by system admin
active
List Hotel is
20 System admin The list hotel is disabled by the system admin
not working

21 List of events System admin Manage the list of events

System Admin can add, read, edit, delete event


22 CRUD event System admin
information
List Hotel Get the current location list the surrounding areas of the
23 System admin
Surroundings hotel
CRUD System Admin can add, read, edit, delete, areas around
24 System admin
Surroundings the hotel
List comment
25 System admin System admin deletes bad customer comments
report

26 Dash board System admin Manage revenue information of F-travel

27 Report System admin

Entities Description

# Entity Description

1 Role Contains role information, which indicates which permission user can
perform

2 User Contains user information

3 Hotel Contains hostel information

4 Room Type Identifies room type

5 Payment Contains cost information for payment

6 Request Contains information requested by the user

7 Feedback Contains comment and feedback from user

3.1.3 Screen Authorization

Screen Guest User Hotel Admin Admin


Owner hotel system

1. Login x x x x x

2. Login by Gmail x x x x x

12 | Page
3. Register x x x x x

4. Header / Footer / Navbar x x x x x

5. About us x x x x x

6. View list promine places x x x x x

7. Search / Filter x x x x x

8. View user details x x x x

9. Edit user details x x x x

10. Change password x x x x

11. View detail hotel x x x x x

12. Request booking x x

13. View detail room x x x x x

14. List hotel x x x x x

15. View payment page x x

16. List approved hotel x x

17. Manage room x x

18. Add room x x

19. New hotel registration x x

20. Request booking x x

21. List Hotel is active x x

22. List hotel is waiting for approval x x

23. System manager x

24. List Hotel is not working x

25. Details hotel approve admin system x

26. List Hotel is not working x

27. List event x

28. Update event x

29. List of reported comments x

13 | Page
3.1.4 Non-Screen Functions

# Feature System Function Description

1 Logout Logout Logout the current user session in the system

3.1.5 Entity Relationship Diagram

3.2 Identity Service


3.2.1 Register
• Function trigger: Click the sign up button in the top right corner of the screen.
• Function description: provide a page for guest register to the System
• Screen layout :

14 | Page
• Function details:
1. Information of user .
1.1 Tên:
Textbox enter “Tên”.
Data Validation maxlength 200 characters, input required.
1.2 Email hoặc sđt:
Textbox enter “Email hoặc sđt”.
Data Validation maxlength 200 characters, input required.
1.3 Mật khẩu:
Textbox enter “Mật khẩu”.
Data Validation maxlength 200 characters, input required.
1.4 Nhập lại mật khẩu:
Textbox enter “Nhập lại mật khẩu”.
Data Validation maxlength 200 characters, input required.
2. Đăng kí ngay

15 | Page
Button to make registration
Event: When full information is entered, it will be enabled, if it is missing, it will be
disabled.
3. Google.
Button register by Google.
Event: Sign up with google account.
3.2.2 Login / Login by mail
• Function trigger: Click the sign in button in the top right corner of the screen.
• Function description: provide a page for user to login to System
• Screen :

• Function details:
1. Email hoặc sđt
Textbox enter “Email hoặc sđt”.
Data Validation maxlength 200 characters, input required.
2. Mật khẩu
Textbox enter “Mật khẩu”.

16 | Page
Data Validation maxlength 200 characters, input required.
3. Đăng nhập
Button to login.
Event: When entering the correct Email or phone number and password, it will
enable, if it is wrong, it will report "Wrong account or password".
4. Đăng kí tại đây
Link to the account registration page.
Event: Clicking on the link will take you to the account registration page.
5. Quên mật khẩu?
Link to the Forgot password page.
Event: Clicking on the link will take you to the forgot password page.
6. Google
Button login by google.
Event: Login with google account.

3.2.3 Logout
• Function trigger: Click the log out button in the user section.
• Function description: provide a page for user to logout System
• Screen :

17 | Page
• Function details:
1. Lịch sử
Button history.
Event: Clicking will take you to the booking history page.
2. Hồ sơ
Button my profile
Event: Clicking will take you to the my profile page.
3. Đăng xuất
Button log out
Event: Log out the user from the system
3.3 Facilities Management Service
3.3.1 View hotel list
• Function trigger: Select the place you want to go and press search.
• Description of function: provide a page for guests or users to click search to view hotels
on the system.
• Screen layout:

18 | Page
1. Screen:

19 | Page
• Function details:
1. Ảnh và tên khách sạn
Link to redirect to hotel details page.
2. Đặt ngay
Button to redirect to hotel details page.
3. Note
Text to view note.
4. Mô tả khách sạn
Text to view hotel description.
5. Đánh giá
Text to view rating.
6. Giá tiền
Text to view price.
7. Tìm
+ Textbox enter “Điểm đến”.
Data Validation: maxlength 200 characters, input required.

20 | Page
+ Ngày nhận - trả phòng
DD-MM-YYYY to check-in and check-out.

+ Giá tối thiểu mỗi đêm & Giá tối đa mỗi đêm
Control to the maximum value and maximum value.
+ Người lớn
Textbox enter “Người lớn”.
Data Validation: maxlength 200 characters.
+ Trẻ em
Textbox enter “Trẻ em”.
Data Validation: maxlength 200 characters.
+ Phòng
Textbox enter “Phòng”.
Data Validation: maxlength 200 characters.
+ Tìm kiếm
Button “Tìm kiếm”
8. Đà Nẵng: tìm thấy 929 chỗ nghỉ
+ Đà Nẵng
Text to view “Điểm đến”.
+ “929”
Text to view number of hotels found.
9. Xếp hạng theo sao
Checkbox to choose rating of hotel.
2. Screen

• Function details:
+ Pagination
Contains 10 hotels per page (10 of n).

21 | Page
3.3.2 Home

• Function trigger: The home page will be displayed first when entering the website or
clicking on the F-Travel logo.
• Function description: Provides a page where users can search for hotels, view “các địa
điểm nổi bật”, “Gợi ý những sự kiện xung quanh đây” , “Khách sạn gần đây”.
• Screen layout:

22 | Page
3.3.2.1 Search & “Các địa điểm nổi bật”

23 | Page
• Function details:

24 | Page
1. F-Travel
Logo F-Travel to reload home page.
2. Background
Text view slogan & image background.
3. Điểm đến
Select to choose a “Điểm đến”.
Data Validation: 63 provinces of Vietnam.
4. Ngày nhận - Ngày trả
Control to choose “Ngày nhận - Ngày trả”.
5. Khách
Select to choose a number of people and rooms.
6. Tìm kiếm
Button to search hotel.
Event: List the hotels the customer searched for.
7. Ảnh và tên địa điểm
Text view “tên địa điểm” & image.
List hotels available in that area.
3.3.2.2 Gợi ý những sự kiện xung quanh đây & Khách sạn gần đây & About us

25 | Page
• Function details:
1. Event photo
Link to redirect to detail event page.
2. Hotel photo
Link to redirect to detail hotel page.
3. Hotel name
Link to redirect to detail hotel page.

26 | Page
4. To the left - To the right
Button to control the list of hotels around.
5. About us
Text to view About us.

3.3.3 View hotel detail


• Function trigger: Click the hotel photo or name.
• Description of the function: Provide a page for users where they can view more
detailed information about the hotel, room list, guest reviews and hotel properties.
• Screen layout:

27 | Page
28 | Page
3.3.3.1 View hotel detail
• Function trigger: Click the hotel photo or name.
• Description of the function: provide a page for the user where they can see more
details about the hotel
• Screen layout:

• Function details:
1. Điểm đến
Textbox enter “Điểm đến”.
Data Validation: maxlength 200 characters, input required.
2. Ngày nhận - trả phòng
DD-MM-YYYY to check-in and check-out.
3.
+ Giá tối thiểu mỗi đêm & Giá tối đa mỗi đêm
Control to the maximum value and maximum value.
+ Người lớn
Textbox enter “Người lớn”.
Data Validation: maxlength 200 characters.

29 | Page
+ Trẻ em
Textbox enter “Trẻ em”.
Data Validation: maxlength 200 characters.

+ Phòng
Textbox enter “Phòng”.
Data Validation: maxlength 200 characters.
4. Ảnh khách sạn
Click to zoom in photo
5. Đặt ngay
Button to booking room
Event: Redirect to the room list.
6. Mô tả
Text to hotel description.
Data Validation: maxlength 1000 characters, required input.
7. Tên và địa chỉ khách sạn.
Text to view “Tên và địa chỉ khách sạn”.
8. F-Travel
Logo F-Travel: Link to home page.

3.3.3.2 View list room


• Function trigger: Click on hotel details to see room list of specific hotels
• Function Description: Provides a section to list all rooms of a particular hotel
• Screen layout:

30 | Page
• Function details:
1 & 2. Ảnh và tên phòng
Link redirects to the details room page.
3. Đặt ngay
Button to booking now.
Event: Redirect to the booking room page.
4 & 5. Hotel properties
Text to view hotel properties
3.3.3.3 Customer reviews and hotel attributes.
• Function trigger: Click on hotel details to see Customer reviews and hotel attributes.
• Function Description: Provides a page to view customer reviews and hotel
properties.
• Screen layout:

31 | Page
• Function details:
1. User photo & name
+ User photo:
Image of user.
+ Name:
Text full name of user.
2. Comment
Text to view comment.
3. Xung quanh của khách sạn
Text to view locations around the hotel and the distance from the hotel to that
place.
4. Các tiện nghi và cơ sở vật chất
Text to view properties of the hotel: “Tiện nghi chung”, “Tiện nghi công cộng”, “Ẩm
thực”,....
3.3.3.3 General rules & About us.
• Function trigger: Click on hotel details to see General rules & About us.

32 | Page
• Function Description: Provides a page to view General rules & About us.
• Screen layout:

• Function details:
1. Quy tắc chung
Text to view: “Nhận phòng”, “Trả phòng”, “Hủy đặt phòng/Trả trước”, “Trẻ em và
giường”, “Không giới hạn độ tuổi”, “Vật nuôi”, “Hình thức thanh toán”.
2. About us
Text to view About us.

3.3.5 My profile
• Function trigger:Move your mouse to the user section in the right corner of the
screen and select user information.
• Function description: Provide a page for users to view and edit their information.
• Screen layout:

33 | Page
• Function details:
1. Tên đầy đủ
Textbox to view “Tên đầy đủ”, editable.
Data Validation: maxlength 200 characters.
2. Giới tính
Textbox to view “Giới tính”, editable.
Data Validation: maxlength 200 characters.
3. Số điện thoại
Textbox to view “Số điện thoại", editable.
Data Validation: maxlength 200 characters.
4. Ngày sinh
DD-MM-YYYY enter “Ngày sinh”.

5. Đổi mật khẩu


Button to change password.
Event: Redirect to change password page.
6. Lưu
Button to save information user.

3.3.5 Change password


• Function trigger: button, in the user information, click the change password button to
change the password.

34 | Page
• Function description: Provides a page for the user to change the password.
• Screen layout:

• Function details:
1. Mật khẩu hiện tại
Textbox enter “Mật khẩu hiện tại”.
Data Validation: maxlength 200 characters, input required.
2. Mật khẩu mới
Textbox enter “Mật khẩu mới”.
Data Validation: maxlength 200 characters, input required.
3. Nhập lại mật khẩu mới
Textbox enter “Nhập lại mật khẩu mới”.
Data Validation: maxlength 200 characters, input required.
4. Xác nhận
Button to confirm change password.
Event: When entering the correct current “Mật khẩu hiện tại” and the “Mật khẩu
mới” coincides with re-entering “Nhập lại mật khẩu mới” , it will be enabled, if it is wrong, it
will be disabled.
3.3.7 Booking history
• Function trigger: Move the mouse to the user section in the right corner of the
screen and select booking history.

35 | Page
• Function description: Provide a page for users to view booked and waiting rooms.
• Screen layout:

• Function details:
1. Ảnh và tên khách sạn
Link redirects to the hotel details page.
2. Chi tiết hóa đơn
Button to view Invoice details.
3. Xóa
Button to delete 1 booking history.
4. Phân trang
Each site contains 5 hotels ( 5 of n ).

36 | Page
5. Chờ duyệt
Link to filter rooms with pending approval status.
Event: rooms with pending approval status.
6. Đã đặt
Link to filter rooms with booked status.
Event: filter rooms with booked status.
7. Chờ duyệt
Text to view status request booking.
"Chờ duyệt" means waiting for the hotel owner to accept the booking request, "Đã
đặt" means the hotel owner has accepted the customer's booking request.

3.3.8 View details room


• Function trigger: Click the name or photo of the room in the hotel.
• Function description: Provide a page for users to view booked and waiting rooms.
• Screen layout:

• Function details:
1. Ảnh và tên khách sạn

37 | Page
Link to redirect details hotel page.
2 & 3. Ảnh phòng
Click to zoom in photo.
4. Đặt ngay
Button to booing now.
Event: Go to the booking room page.
5. Các tiện nghi và cơ sở vật chất & View
Text to view “Các tiện nghi và cơ sở vật chất & View” of room.
6. Địa chỉ và tên phòng
Text to view “Địa chỉ và tên phòng” of hotel.
3.3.9 My hotel list
• Function trigger: Log in with user account, then click on the hotel management
section.
• Function description: Provides a page for hotel admins to view their hotels
registered on the system.
• Screen layout:

• Function details:
1. Thêm mới khách sạn
Button to new hotel registration.
Event: Redirect to new hotel registration page.
2. Yêu cầu
Button to request booking.
Event: redirect to request booking page.
3. Thêm
Button to add room.
Event: Redirect to add room page.

38 | Page
4. Xóa
Button to delete.
Event: Delete 1 hotel.
5. Tên khách sạn
Link redirect to manager room.
Event: redirect to manager room page.
6. Địa chỉ khách sạn
Text to view “Địa chỉ khách sạn”.
3.3.10 New hotel registration
• Function trigger:From the list hotel screen ( hotel owner ) click on the add new
hotel button.
• Function description: Provide a page for hotel admin to register a new hotel.
• Screen layout:

39 | Page
• Function details:

40 | Page
1. Tên khách sạn
Textbox enter “Tên khách sạn”.
Data Validation: maxlength 200 characters, required input.
2. Số điện thoại
Textbox enter “Số điện thoại”.
Data Validation: maxlength 11 characters, required input.
3. Maps
Google map control shows the corresponding address on google map
4. Địa chỉ
Textbox enter address.
Data Validation: maxlength 200 characters, required input.
event: When leaving the textbox, “Maps” (3) will reload according to the content of
“Địa chỉ” (4)
5. Mô tả
Text area “Mô tả”
Data Validation: maxlength 1000 characters, required input

6. Thời gian nhận phòng


Textbox enter “Thời gian nhận phòng”.
Data Validation: maxlength 10 characters, required input
7. Thời gian trả phòng
Textbox enter “Thời gian trả phòng”.
Data Validation: maxlength 10 characters, required input
8. Hủy đặt phòng/ Trả trước
Textbox enter “Hủy đặt phòng/ Trả trước”.
Data Validation: maxlength 10000 characters, required input
9. Trẻ em và giường
Textbox enter “Trẻ em và giường”.
Data Validation: maxlength 10 characters, required input
10. Độ tuổi đặt phòng
Textbox enter “Độ tuổi đặt phòng”.
Data Validation: maxlength 10 characters, required input
11. Vật nuôi
Textbox enter “Vật nuôi”.
Data Validation: maxlength 10 characters, required input
12. Ảnh
Control to upload image.

41 | Page
Data Validation: required to upload 5 images.

13. Đăng kí
Button to make registration
Event: When full information is entered, it will be enabled, if it is missing, it will be
disabled.

3.3.11 Room manager


• Function trigger: From the list hotel screen ( hotel owner ) click on the hotel name.
• Function description: Provide a page for hotel owners to view, edit and delete
information about rooms in the hotel.
• Screen layout:

42 | Page
• Function details:
1. Danh sách phòng
Select to choose a room
Event: Choose any room in the hotel and the room's information will be displayed
below.
2. Thông tin chính
+ Loại phòng
Textbox view “Loại phòng”, can edit.
Data Validation: maxlength 200 characters, required input.
+ Giá phòng
Textbox view “Giá phòng”, can edit.
Data Validation: maxlength 200 characters, required input.
+ Số lượng giường
Textbox view “Số lượng giường”, can edit.
Data Validation: maxlength 200 characters, required input.
+ Diện tích
Textbox view “Diện tích”, can edit.
Data Validation: maxlength 200 characters, required input.
3. Sửa
Button to save.
Event: save information if edited.
4. Xóa
Button to delete.
Event: Delete room
5. Thông tin khác
Checkbox to choose room amenities.
3.3.12 Add room
• Function trigger: From the list hotel screen ( hotel owner ) click on the add button.
• Function description: Provides a page for the hotel admin to add rooms at the
hotel.
• Screen layout:

43 | Page
• Function details:
1. Tên phòng
Textbox enter “Tên phòng”.
Data Validation: maxlength 200 characters, required input.
2. Loại phòng
Textbox enter “Loại phòng”.
Data Validation: maxlength 200 characters, required input.
3. Giá phòng
Textbox enter “Giá phòng”.
Data Validation: maxlength 200 characters, required input.
4. Số lượng giường
Textbox enter “Số lượng giường”.
Data Validation: maxlength 200 characters, required input.
5. Diện tích
Textbox enter “Diện tích”(m2).
Data Validation: maxlength 200 characters, required input.

44 | Page
6. Tiện nghi và nội quy
Checkbox to choose facilities and rules.
7. Hướng nhìn
Checkbox to choose views of the room.
8. Phòng tắm
Checkbox to choose bathroom.
9. Lưu
Button to save.
Event: When full information is entered, it will be enabled and the message
successfully, if it is missing, it will be disabled.
3.3.13 Hotel list
• Function trigger: Log in with the system administrator account, click the hotel list.
• Function description: Provide a page for the system admin to view the list of
hotels on the system.
• Screen layout:

• Function details:
1 & 2. Tên và ảnh phòng
Link redirect to details hotel page.

45 | Page
3. Địa chỉ & Số lượng phòng & Số điện thoại
Text to view “Địa chỉ & Số lượng phòng & Số điện thoại” of hotel.
4. Đã xác thực
Text to view hotel status.

3.3.14 Approved hotel


• Function trigger: Log in with the system administrator account, click on the list of
approved hotels in the menu bar.
• Function description: Provide a page so that the admin system can see approved
hotels, can delete hotels.
• Screen layout:

• Function details:
1. Tên khách sạn
Link redirect to details hotel page.
2. Ảnh khách sạn
Link redirect to details hotel page.
46 | Page
3. Xóa
Button to delete.
Event: Delete 1 hotel, move the deleted hotel to the list of disabled hotels.

3.3.15 Waiting approved hotels


• Function trigger: Log in with the system administrator account, click on the list of
waiting approved hotels in the menu bar.
• Function description: Provide a page so that the admin system can see waiting
approved hotels, browse the hotel by clicking on the hotel icon in the right corner to enter
the hotel details page, there will be a hotel browsing function.
• Screen layout:

• Function details:
1. Tên khách sạn
Link redirect to details hotel page.
2. Ảnh khách sạn
Link redirect to details hotel page.
3. Chi tiết khách sạn cần phê duyệt
Button to view detail hotel.
Event: redirect to the detail hotel page.

47 | Page
3.3.16 List hotels disabled
• Function trigger: Log in with the system administrator account, click on the list of
hotels disabled in the menu bar.
• Function description: Provide a page where the admin system can view disabled
hotels and can cancel disabled status.
• Screen layout:

• Function details:
1. Tên khách sạn
Link redirect to details hotel page.
2. Ảnh khách sạn
Link redirect to details hotel page.
3. Hoàn tác khách sạn
Button to return hotel.
Event: The hotel will be back up and running on the system.

48 | Page
3.3.17 Hotel details are pending approval
• Function trigger: Log in with the system administrator account, click the icon in
the right corner of the hotel at the page waiting approved hotels.
• Function description: Provide a page for the system manager to view the hotel
information registered on the system and approve that hotel.
• Screen layout:

49 | Page
50 | Page
• Function details:
1. Tên khách sạn
Textbox view hotel name.
2. Tên chủ khách sạn
Textbox view hotel owner's name.
3. Địa chỉ
Textbox view address.
4. Số điện thoại
Textbox view phone number.
5. Mô tả
Area view describe.
6. Quy tắc chung
Area view general rules.
7. Ảnh khách sạn
Area view hotel photo.
8. Xác nhận
Button to confirm.
Event: Confirm hotel, approve the hotel, let the hotel operate on the system.
3.3.18 List of reported comments
• Function trigger: Log in with the system administrator account, click Comment
report in the menu bar.
• Function description: Provides a page for system admins to view reported
comments.
• Screen layout:

51 | Page
• Function details:
1. Xóa
Button to delete comment.
Event: Delete comments from the system.
2. Hoàn tác
Button to return comment.
Event: return comment.
3. Nguyễn Văn A
Text to view reported username.
4. Má khách sạn làm ăn như ****
Text to view comments are reported.

3.3.19 List event


• Function trigger: Log in with the system administrator account, click List event
in the menu bar.
• Function description: Provides a page for the system admin to view, add, and
delete.
• Screen layout:

52 | Page
• Function details:
1. Xóa
Button to delete event.
2. Thêm
Button to add event.
Event: redirect to add events page.
3. Đà Nẵng
Text to view event venue.
4. Cầu rồng phun lửa
Text to view event name.
5. Vào thứ 3, thứ 7…..
Text to view event content.
6. Ảnh
Image to view event photo.

3.3.20 Add event


• Function trigger: Log in with the system administrator account, click "Add" on
the List event page.

53 | Page
• Function description: Provides a page for the system admin to add information
about the events taking place.
• Screen layout:

• Function details:
1. Địa điểm
Textbox enter “Địa điểm”.
Data Validation: maxlength 200 characters, required input.
2. Tên sự kiện
Textbox enter “Tên sự kiện”.
Data Validation: maxlength 200 characters, required input.
3. Nội dung
Textbox enter “Nội dung”.
Data Validation: maxlength 200 characters, required input.
4. Hình ảnh
Control to upload “Hình ảnh”
Data Validation: required to upload 1 photos
5. Lưu
Button to save.

54 | Page
Event: If full information is entered, it will be enabled, if it is missing, it will be
disabled.
3.3.21 Admin dashboard
• Function trigger: Log in with the system administrator account, Dashboard will be
displayed first, or click the "Dashboard" button
• Function description: Provides a page to view the number of bookings on the
system.
• Screen layout:

• Function details:
1. 7000
Text to view booking amount.
2. Năm
Select to choose year.
Event: After selecting the year you want to see, the chart will change depending on
the bookings of that year.
3. Biểu đồ
4. T.1
Text to view month.

55 | Page
3.4 Invoice Service
3.4.1 Make payment
• Function trigger: Click the book now button on the request booking page.
• Function description: Provide a page where users can pay.
• Screen layout:

• Function details:
1. Thông tin thanh toán
+ Ảnh:
Representative photo of the hotel.
+ View “tên khách sạn”, “Địa chỉ”, “Ngày vào”, “Ngày ra”, Họ và tên”, “Số điện
thoại”.

56 | Page
2. Tổng
Total amount to be paid.
3. Thanh toán bằng VNPAY
Payment by VNPAY.
4. Thanh toán bằng tiền mặt
Payment in cash at the hotel.
5. Xác nhận thanh toán
Button to send booking request.
Event: Reservation request will be forwarded to the hotel owner.
3.5 Booking Service
3.5.1 Request booking
• Function trigger: Click to book now in the detail hotel page.
• Function description: Provide a page where users can submit their information and
submit a booking request.
• Screen layout:

• Function details:

57 | Page
1. Ảnh và tên khách sạn.
Link redirect to details hotel.
2. Thông tin chi tiết đặt phòng.
Text to view information details booking.
3. Nhập họ và tên
Textbox enter “Nhập họ và tên”.
Data Validation: maxlength 200 characters, required input.
4. Số điện thoại
Textbox enter “Số điện thoại”.
Data Validation: maxlength 11 characters, required input.
5. Email
Textbox enter email.
Data Validation: maxlength 200 characters, required input.
6. Yêu cầu khác
Textbox enter “Yêu cầu khác”.
Data Validation: maxlength 200 characters.
7. Đặt ngay
Button to confirm booking.
Event: Will redirect to the payment page if you enter all the information, if it is
missing, it will be disabled.

3.5.2 Cancel booking


• Function trigger: User clicks "pending approval" on the booking history page.
• Function description: users who want to cancel booking can click on the trash can
icon.
• Screen layout :

58 | Page
• Function details:
Click on the trash can icon to cancel the booking.
3.5.3 Reservation request
• Function trigger: Log in with the hotel administrator account, on the hotel
management page, click the "Request" button at the hotel you want to add a room.
• Function description: Provide a page for the hotel owner to approve or cancel the
customer's booking request.
• Screen layout:

59 | Page
• Function details:
1. Chấp nhận.
Button to accept request booking.
Event: Move status in the history of user to set up.
2. Từ chối.
Button to cancel booking.
Event: Remove from booking request page and booking history page.

4. Non-Functional Requirements
4.1 External Interfaces
4.1.1 Major Features:
• Admin hotel & Hotel Owner site:
o FE-01: Add/Edit/Delete room information.
o FE-02: Hotel registration.
o FE-03: Approve/Reject request for reservation.
• User site:
o FE-04: View hotel and room information.

60 | Page
o FE-05: Make a payment.
o FE-06: Book a room.
o FE-07: View booking history.
o FE-08: Edit him/her profile.
o FE-09: Cancel booking.
• Admin system site:
o FE-10: Delete hotel.
o FE-11: Approve hotel.
o FE-12: For the hotel to return to operation on the system.
o FE-13: Delete, Add, Update event.
o FE-14: Manage comments (return, delete).
4.1.2 Limitations & Exclusions:
• LI-01: No mobile application yet.
• LI-02: Initially, our platform will only target the Vietnamese market.

4.2 Quality Attributes


a. Usability
• QA-01: User must happy and comfortable with websites’ appearance.
• QA-02: User must feel comfortable when perform interactions with interfaces.
• QA-03: No mistaken of languages and spellings in UI.
• QA-04: Website must be responsive for both PC and mobiles devices.
b. Performance
• QA-05: Website should load within 2s and their content readable after <3s.
• QA-06: Website must have the normal user’s interoperability within 3s.
c. Availability
• QA-07: System must be fully-operation
• QA-08: Maintenance times must not affect the current version
d. Security
• QA-09: Access levels / Login of system must be meets business standards (no mistaken in
permissions check, system ‘data risks)
• QA-10: Encryption must be implemented (storage, transactions, communications, …)

61 | Page
5. Requirement Appendix
5.1 Bussiness Rules

# Rule Definition

BR-01 The account's email must be valid

BR-02 Guest can view all information about the hotel and room, especially the
detailed address.

BR-03 Hotel Owner only has the right to manage the hotel and their own rooms

BR-04 If a hotel has been deleted, their rooms will no longer be active on the
system.

BR-05 Only the hotel owner has the right to view and approve his own hotel
booking requests

BR-06 Only F-Travel customers have a Profile Page (not guest)

BR-07 Only F-Travel admins can view and approve the hotel

BR-08 hotel manager có tất cả các quyền admin hotel nhưng không có quyền
quản lí về account hotel manager

BR-09 Only users with an admin systems account can login to the admin
systems

BR-10 A monthly invoice will be created by the F-travel admin with default
information and default price based on the number of people booking
through the system.

BR-10 Guest can book without login

BR-12 Guest booking, must enter information: phone number, email, name
for the hotel to verify that booking

BR-13 Hotel registered hotels must be approved by the admin before they
can operate on the system

BR-14 The system can have full rights and roles to manage all users in the
system

62 | Page
BR-15 Feedback must be combined with ratings

BR-16 The user can only cancel the request without the Hotel Owner's
approval

5.2 Common Requirements


# Common Requirement Description

1 User can upload images by dragging and dropping images directly into the form or clicking
on the upload button to open the Choose File Dialog and selecting images from the dialog

2 Supported image formats are PNG, JPG, JPEG, GIF. The maximum size of image is up to
50MB

3 The map on system to access address of some hostel must be displayed using Google
Map API

4 There must be loading animation for on-loading content in website and a fallback for
them as well

5.3 Application Messages List

# Message Message Context Content


code Type

1 MSG01 Component There is not any search result No search results.

2 MSG02 Component The specific list is empty This list is empty.

3 MSG03 Component There is no item further on No more data.


specific paging page

4 MSG04 Toast Server / Service is returning an Unexpected error: *


message unexpected-error or down

5 MSG05 Toast Send a bad request to Server Bad request: *


message and cannot be handled by
client validators

63 | Page
6 MSG06 Toast Performed an action (Add / * Successfully.
message Edit / Delete) and returning
Success status

7 MSG08 Toast Payment status was return Payment successfully /


message from 3rd API cancelled

8 MSG09 Component Send a bad input data to Incorrect on input data: *.


Server and cannot be handled Please check again.
by client’s form validators

64 | Page

You might also like