Question: Problem 2 : Riyadh s Gym A client is defined by a name ( unique ) , age, phone# , and email. A client has
Problem : Riyadhs Gym
A client is defined by a name unique age, phone# and email.
A client has to be either a member or a nonmember but not both.
A member has a registrationDate, membershipType, and subscriptionDuration.
A nonmember has rewardPoints.
A room is defined by a number unique and capacity.
A trainer is defined by an ID unique name, age, and skillLevel.
A dietitian is defined by an ID unique name, age, and degree.
A fitness class is defined by a name unique and a set of times in which the class is offered.
A client may take many fitness classes.
A fitness class may taken by many client.
A member may follow up with one dietitian.
A dietitian must follow up with many members.
A trainer must give many fitness classes.
A fitness class is held in a room.
A room must held by many fitness classes.
A fitness class must given by many trainers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
