You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To accomodate the new templates, a new table DataReport will be introduced.
DataReport 1-Many with Goal
Moving from one Goal model to several Goals, each inheriting from the parent model Goal. The new goal types will be GoalStandard, GoalTransaction, GoalWaterTreatment, GoalStreetLights, GoalDataCenter.
Through these new Goal types, each template can be represented by nesting Goal types under a DataReport. Many of the templates introduce the concept of a "blended sumamry". A blended summary aggregates each of its child goal's summary values (total sqft across all goals). When a DataReport has multiple Goals, the DataReport endpoints will handle the "blended summary".
DB Schema
To accomodate the new templates, a new table
DataReport
will be introduced.DataReport
1-Many withGoal
Goal
model to severalGoals
, each inheriting from the parent modelGoal
. The new goal types will beGoalStandard
,GoalTransaction
,GoalWaterTreatment
,GoalStreetLights
,GoalDataCenter
.Through these new
Goal
types, each template can be represented by nestingGoal
types under aDataReport
. Many of the templates introduce the concept of a "blended sumamry". A blended summary aggregates each of its child goal's summary values (total sqft across all goals). When a DataReport has multipleGoals
, theDataReport
endpoints will handle the "blended summary".Template breakdown
There are 6 unique data report templates.
DataReport -> [GoalTransaction]
DataReport -> [GoalStanard]
(optional AAPI field = True)DataReport -> [GoalStandard, GoalStandard]
DataReport -> [GoalStandard, GoalStandard]
(optional AAPI field = True)DataReport -> [GoalStandard, GoalWaterTreatement, GoalStreetlight]
DataReport -> [GoalDataCenter]
Concerns
The text was updated successfully, but these errors were encountered: