Scenarios

Standard scenario of use case: edit room

  1. A manager starts the application to edit the room 305.
  2. The login interface is appeared with: an input text for username, an input text for password, a button to login.
  3. The manager enters username as “man01”, password as “******” and then, clicks on the login button.
  4. The main manager UI is appeared with three options: Manage hotel, manage room, and view report.
  5. The manager chooses to manage room.
  6. The room management UI is appeared with three options: add, edit, delete room.
  7. The manager chooses to edit a room.
  8. The search room UI is appeared with: an input text for the keyword (name of room), a button to search.
  9. The manager enters a keyword as “305” and then, clicks on the search button.
  10. The list of all room whose name contains the entered keywords is appeared as follows:
idNamePriceTypeDescription
13051000DoubleSea view
2305bis500SingleGarden view
  1. The manager clicks on the first line, corresponds to the room 305.
  2. The UI for editing a room is appeared with attributes and their value of the selected room:

id: 1 (view only)

name: 305

price: 1000

type: double

description: see view

nút cập nhật và reset.

  1. The manager modifies the price to 800 and clicks on the save button.
  2. A success alert is appeared and then, the system returns to the main manager UI.

Exceptional scenarios:

4. The system alerts that the username/password is incorrect.

10. There is no room found.

Standard scenario for use case: book a room

  1. A seller A clicks on the booking option in the menu of booking management. A wants to book a room for the client B who is on the call to A to book a room.
  2. The search available room UI is appeared with: an input date for the check in date, an input date for the check out date, a search button.
  3. A asks B the desired checkin/checkout date
  4. B answers to A that he wants to book from 30/04/2020 to 01/05/2020.
  5. A enters the checkin date as 30/04/2020, checkout date as 01/05/2020 and then, clicks on the search button.
  6. A list of all available rooms during that period is listed as follows:
idNamePriceTypeDescription
13051000DoubleSea view
2201500SingleGarden view
32021000TwinkGarden view
  1. A informs these room to B and asks B to choose a room.
  2. B chooses a room with sea view.
  3. A clicks on the room of 305 (line n.1)
  4. The client information UI is appeared with inputs: name, id card number, address, telephone, email.
  5. A asks B to provide those information.
  6. B informs to A: Name is B, address is “Ha Noi”, id card number is 123456, phone number is 77777777, and email is b77@gmail.com.
  7. A enters B into name input, and then clicks on search button.
  8. A list of all client whose name contains the keyword “B” is listed as follows:
idNameAddressId card numberPhone numberEmail
1BHa Noi12345677777777b77@gmail.com
2BCDa Nang22334488888888bc88@Gmail.com
3BBHo Chi Minh city3434345555555null
  1. A recognizes that B is already in the system on the line 1. A clicks on the line 1.
  2. The confirmation UI is appeared with information: The information about the selected room: name 305, double, sea view, price of 1000/night. The information about client: name is B, from Ha Noi… Information about booking: checkin from 30/04 to 01/05. A confirm and a cancel button.
  3. A repeats those information to B and asks B to confirm.
  4. B confirm that all is OK.
  5. A clicks on the confirm button
  6. The system displays the booking success alert and returns to the main seller UI.
  7. A informs to B that the booking is success and ends the call.

Exceptional scenarios:

6. There is no available room found

14. There is no client found or the client B is not in the system yet.

Standard scenario for use case: view report

  1. A manager selects the view report option after logged in. He wants to see the revenue by room from the start of the month.
  2. The config report UI appeared with: a selection of report object including hotel, room, client, service, revenue. The selection of report criteria including: by time, by revenue.
  3. The manager selects object as room, criteria is by revenue.
  4. The UI for view report is appeared with: an input date for the start date, an input date for the end date, and a view button.
  5. The manager enters the start date as 01/05/2020, the end date as 30/05/2020, and clicks on the view button
  6. The list of all rooms is listed as follows:
N0.NameTypeTotal filled daysTotal revenue
1305double1515000
2201single2412000
3202twink1010000
4203double55000
5301single21000
6302twink00
  1. The manager clicks on the room of 305 to see the detail.
  2. The list of all client who stayed in the room of 305 during the period:
N0.Client nameCheckinCheckoutPriceTotal daysTotal revenue
1B01/05/2005/05/20100044000
2CC09/05/2010/05/20100011000
3zz13/05/2021/05/20100088000
4kk24/05/2026/05/20100022000
Total1515000
  1. The manager click on the back button
  2. The system returns to the main UI of manager.