Plan stuff. Log stuff.
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.

17 lines
645 B

  1. package models
  2. import "time"
  3. // Log is a logged performance of an activity during the period. SubGoalID is optional, but GoalID is not. The
  4. // points is the points calculated on the time of submission and does not need to reflect the latest.
  5. type Log struct {
  6. Date time.Time `json:"date"`
  7. ID string `json:"id"`
  8. SubActivityID string `json:"subActivityId"`
  9. GoalID string `json:"goalId"`
  10. SubGoalID string `json:"subGoalId"`
  11. Description string `json:"description"`
  12. SubmitTime time.Time `json:"submitTime"`
  13. Amount int `json:"amount"`
  14. Score *Score `json:"score"`
  15. }