Professional Documents
Culture Documents
SECTION A:
Entities:
1) Member
2) Food Journal
3) Food Journal Type
4) Journal Review
5) Nutrition Report
6) Foods
7) Food_category
8) Exercise
Functional Dependency:
Member ID First Name, Last Name, Date of birth, Gender, Address, Email Address, Phone
Number, Weight, Height (Partial Dependency)
Journal_ID food_ID, Serving Size, Calories/Serving, Number of Serving, Total Calories,
Date Member_ID, Type_ID (Partial Dependency)
Type_ID Description (Partial Dependency)
Trainer_ID, Journal_ID Comment, Report_ID (Partial dependency)
Report_ID Carbs, Calories, Protein, Cholesterol, Sodium, Sugars, Journal_ID (Partial
Dependency)
Relationship:
MEMBER Registers at HELPFIT by providing personal details such as Name, date of birth,
gender, address, phone number, weight and height. Which is then Stored into the HELPFIT
Database
Each MEMBER is required to fill FOOD JOURNAL recording their daily consumption of
FOODs and their FOOD CATEGORY.
The FOOD JOURNAL is then Complied into NUTRITION REPORT that is handed over to
the TRAINER to assess and give feedback to the MEMBER to Attain their personal Fitness
Goals.
Based on the Feedback from the TRAINER the MEMBER can start Fitness Plan which
includes Diet from FOODS and EXERCISES.
Cardinalities and Participation:
Mandatory:
1 member must have 1 and only 1 Food Journal, 1 food journal can only be written by 1 and
only 1 member.
1 Food Journal can have 1 or many foods, 1 food can be in 1 or many food Journals
1 Food can be in 1 and only 1 Food Category, 1 Food Category can include 1 or many Foods.
1 Food Journal can have 1 or many Food Journal Type, 1 Food Journal Type can be in 1 or
many Food Journal.
1 Food Journal converted into 1 and only 1 Nutritional Report, 1 Nutritional Report have 1
and only 1 Food Journal.
1 Nutritional Report provides 1 and only 1 Journal Review, 1 Journal Review will have 1 and
only 1 Nutritional Report.
Optional:
1 trainer can review 0 to many Food Journal, 1 food Journal can be view by 1 and only 1
trainer
Journal Review can be reviewed by 1 and only 1 trainer, 1 trainer can review 0 to many
Journal Review
TASK 3
RDM:
Members (Member_ID, First Name, Last Name, Date of birth, Gender, Address, Email
Address, Phone, Weight, Height)
PRIMARY KEY: Member_ID