Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create one use-case diagram with 2-5 Use Cases and all of the systems actors. This use-case diagram should describe the whole system and one Use

Create one use-case diagram with 2-5 Use Cases and all of the systems actors. This use-case diagram should describe the whole system and one Use Case can have 1 or more Scenarios. REQUIREMENTS: Gym Notes from a meeting with the Gym Attendees: Gym owner, team member Goal: Design a system which can be used by customers and trainers to register via a web portal. The owner owns a Gym with five rooms which includes fitness equipment meant for martial arts like weights, punching bags, punching targets etc. Since the owner cannot offer classes around the clock he lets other interested trainers rent the rooms, so they can train their clients. The owner and their clients are staff of the Gym. Below you find the notes taken while talking with the owner.

Owner: Classes: o Classes can be on any topic the trainer wants which is classified as some sport, e.g. Taekwando, Boxing, Weight Training, Bodyweight fitness o Classes are always 50 minutes and are booked for a one hour time slot (they officially start at 5 min after the full our and end at 5 min to, to give 10 min time for a class switch o You can assume a one our time slot (i.e. 12:00pm, not 12:30pm) o The system should always store what kind of class is offered o A class: Has a maximum of 6 participants (but can also be marked as private) Has a unique ID Is taught by one trainer Is scheduled in one of the rooms Trainers: o Trainers can give/send their paper application (not through the system) to the owner with the following information: Name (first and last name) Email address Description of themselves o The owner registers the trainer (see later under owner) o The trainer can login into the system to use it if they have already been signed up by the owner o The trainer can buy class credit through the system, which allows him to schedule classes. You can assume 1 credit is for one class and you do not have to include the payment methods in your system. o The trainer shall only be able to schedule a maximum of 15 reservations to their name at any given time. Example: Lets say Trainer (first name) Dead, (last name) Pool, wants to reserve the room for a class, but has already 15 classes reserved (in the future). Regardless of those classes details, the trainer must complete at least one class to open up one of their 15 room reservation slots to make another reservation to host a class. o To offer a class, the trainer shall: Enter his email address Choose a class time Time includes the date and time (AKA DateTime) Choose a class category, e.g. weight training The system then checks if one of the rooms in the Gym is still available at the entered time If it is not, then the system will return an error message If a room is available o The system checks if the trainer already has 15 classes scheduled in the future If yes, then the system will return an error message If not, the class will be scheduled with a unique id. The room is not available for another class at this time anymore. The owner will be informed about the new reservation. o Trainers shall be able to delete their classes if no customers have been registered for this class yet (otherwise the class cannot be deleted) Owner: o The owner shall login before using the system (assume the owner already has his data in the system) o The owner shall have all the privileges a trainer has (see Trainers requirements) o The owner can reserve as many room time slots as he wants (is not limited by 15 as trainers) o The owner can register trainers by entering the information the trainer provided in their paper application. Trainers will get a message from the system with their password) o The owner can delete trainers, if he sees fit. o The owner can delete classes (even if they are not his own) even if customers are registered, the customers/trainer will be informed, and be refunded their credits. Customers o Customers shall sign up for an account via the web portal by entering their: Name Email address Password o The customer can then login to use the system o Customers shall be allowed to purchase any number of credits to spend on classes, again assume one credit buys on class. (you do not need to model the payment system, just make sure there can be credits) o Customers can sign up for a scheduled class (register for class) by entering: Their email address The class ID of the class they want to attend The system shall send lack of hours error message to a customer attempting to sign up for a class if that customer possesses no hours to spend on classes The customer shall NOT be able to sign up for a class they are already signed up for The system shall display a class is full error message if the class already has 6 participants In any other case, the customer registers successfully for a class and the system shall deduct a class hour from a customer, the trainer of the class will be informed that a customer signed up o Customers can cancel their attendance to classes they signed up for but only if the class is not in the next 24 hours. If they cancel in time they will get their credit back. o Customers shall be able to view their complete history of classes they attended

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

What are the difficulties of constructing a normal portfolio?

Answered: 1 week ago

Question

How We Listen?

Answered: 1 week ago