You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
434 B
12 lines
434 B
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"`
|
|
Countable bool `db:"countable"`
|
|
UnitName string `db:"unit_name"`
|
|
UnitValue float64 `db:"unit_value"`
|
|
BaseValue float64 `db:"base_value"`
|
|
}
|