Objectives
Intro
Targets form part of OPTTs (Objectives Projects Tasks and Targets).
Targets belong to organisations and have a specific owner user and a specific creator user (automatically inferred at creation time). Targets do not have durations or initiation dates, and cannot be completed apart from being marked as "Good" in progress (at the time of writing 12/03/2023).
Relationships
Projects have several key relationships:
- Belongs to
owner- this is a manually edited required field - Belongs to
creator- this is automatically inferred by the user creating the target - Belongs to
organisation- this is automatically inferred by the creator's active organisation
Relationships used for frontend filtering:
- Belongs to many
departments(Department) - Belongs to many
division(Division) - Belongs to
owner
Other relationships which are not yet used elsewhere in the app (at the time of writing 03/2023):
These relationships aren't yet used other than to display in the target modal, but may serve some future purposes in the roadmap
- Belongs to many
contributors(User) - Has many
linkedOptts(LinkedOptt) - Belongs
opalOwner(User) - Targets have an additional owner relationship
Relationship to elements. This is used when an OPTT is created on the fly while completing the catalogues:
- Belongs to many
elements(Element)