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