US-WG2-030 Reservation of restaurant

US-WG2-030 Reservation of restaurant

 

 

 

Name

Reservation of restaurant

Actors

Authorized user: Tourist, Lead of the department, Office manager Ivana, Sarah Jonson, Young user, Stepan, Professional athlete Sergiy

Preconditions

The user received a list of restaurants corresponding to the specified name/set of filters.

Trigger (Start Point)

The user selects the desired restaurant from the available options.

Flow of Events (Sunny Day Scenario)

  1. The user specifies the desired date, time, and the number of persons for the reservation.

  2. The system receives the restaurant selection, date, time, and the number of persons from the user.

  3. The system checks the availability of a table in the selected restaurant for the specified date and time.

  4. If a table is available, the system proceeds to confirm the reservation.

  5. The system generates a booking confirmation that includes the details of the reserved table.

  6. The system sends the booking confirmation to the user.

Flow of Events (Rainy Day Scenario)

4.1 If no table is available, the system informs the user that no tables are available for the specified date and time.

4.2 The user can choose to modify their reservation by selecting a different date, time, or restaurant, or cancel the reservation process.

Post-conditions or Guarantees

The restaurant is booked. The user receives the booking confirmation with the table details.

 

Related content