stufflog graphql server
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

  1. package models
  2. // Activity is an activity within a project that can be measured and estimated, for example "writing" or "developing".
  3. // The points are for the "gamified" aspect of this.
  4. type Activity struct {
  5. ID string `db:"activity_id"`
  6. ProjectID string `db:"project_id"`
  7. Countable bool `db:"countable"`
  8. UnitName string `db:"unit_name"`
  9. UnitValue float64 `db:"unit_value"`
  10. BaseValue float64 `db:"base_value"`
  11. }