package models // Activity is an activity within a project that can be measured and estimated, for example "writing" or "developing". // The points are for the "gamified" aspect of this. type Activity struct { ID string `db:"activity_id"` ProjectID string `db:"project_id"` Name string `db:"name"` Countable bool `db:"countable"` UnitIsTimeSpent bool `db:"unit_is_time"` UnitName string `db:"unit_name"` UnitValue float64 `db:"unit_value"` BaseValue float64 `db:"base_value"` } type ActivityFilter struct { ActivityIDs []string ProjectIDs []string }