Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 2.31 KB

CRC.md

File metadata and controls

38 lines (31 loc) · 2.31 KB

Class: Habit

Responsibilities Collaborators
know its name
know its reason
know the date that is started
know the days that should be followed
know which events belong to it HabitEvent
calculate habit consistency using its events HabitEvent

Class: HabitEvent

Responsibilities Collaborators
know the habit that it did Habit
know the date that this event happened Habit
have an optional comment
have an optional photograph
have an optional location where it took place

Class: Profile

Responsibilities Collaborators
know the habits that it owns Habit
know the habit events that it owns HabitEvent
know the habit events that it follows HabitEvent
knows the users that it follows Profile

Class: Social

Responsibilities Collaborators
list the users that one can follow Profile
request to follow another users habits Profile, Habit
grant or deny follow requests Profile
view others habits and visual indicators Profile, Habit, HabitEvent