Object-Oriented Analysis and Design - Experiment 2 Use Case Event Flow Description (Scheduled Course)

1.  Book a class 

1.1  Brief description

This use case allows a registered member to book a course in the class schedule. In the course schedule, if a course is full, the administrator must notify members of the change before submitting the timetable . In order to ensure the teaching quality of each course, only 15 people are allowed to attend the class at the same time . 

1.2  Event Stream

1.2.1  Elementary Stream

This use case starts when the user turns on the system and closes when logging out / login .

  1. .Check whether the member has successfully logged in

    1. If the login is successful, the course schedule will be displayed, and check boxes will be provided: including reservation and cancellation functions.

    2. If the login fails, browse as a guest and only display the class schedule.

  2. For each course, the system will check whether the coach has registered for the course, and to ensure the quality of teaching, only 15 people are allowed to take the course at the same time , if a course is filled, the administrator must notify the member of the change before submitting the timetable If the requirements are met, the system will submit the course for each timetable that includes it .

  3. The course level is set based on the course that members have chosen the most times, and it will be displayed first in the course schedule when the course needs to be changed.

  4. The course includes paid courses. If a member chooses a paid course, the billing system will display the payment QR code.

  5. When the member completes the reserved course, the credit points increase (the initial points are 0 ); if the course is not completed , the credit points decrease. When the number of reservations for a certain course is full, the higher the points, the higher the priority of course scheduling .

1.2.2  Alternative Streams

1.2.2.1  Courses provided by no instructor

If in the basic process, no coach signed up to offer the course, the system will cancel the course offering. The system automatically cancels the originally planned course settings for each timetable.

1.2.2.2  Billing system unavailable

If the system cannot communicate with the billing system, the system will keep trying to resend until the billing system becomes available.

1.3  Special requirements

without.

1.4  Precondition

Only after logging in the system can the reservation and cancellation function be available; otherwise, only the class schedule will be displayed.

1.5  Postconditions

If the reservation / cancellation is successful, return to the main interface . Otherwise, the system state remains unchanged.

1.6  Extension points

without.




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326012214&siteId=291194637