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
17 lines
645 B
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"`
|
|
}
|