2023-11-07 22:34:57 -05:00
|
|
|
package services
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
type PlanTime struct {
|
|
|
|
//id
|
|
|
|
Id string `jsonapi:"primary,PlanTime"`
|
|
|
|
//attributes
|
|
|
|
CreatedAt time.Time `jsonapi:"attr,created_at,rfc3339,omitempty"`
|
2023-11-23 12:17:20 -05:00
|
|
|
StartsAt time.Time `jsonapi:"attr,starts_at,rfc3339,omitempty"`
|
2023-11-07 22:34:57 -05:00
|
|
|
EndsAt time.Time `jsonapi:"attr,ends_at,rfc3339,omitempty"`
|
|
|
|
LiveEndsAt time.Time `jsonapi:"attr,live_ends_at,rfc3339,omitempty"`
|
|
|
|
LiveStartsAt time.Time `jsonapi:"attr,live_starts_at,rfc3339,omitempty"`
|
|
|
|
TeamReminders []interface{} `jsonapi:"attr,team_reminders,rfc3339,omitempty"`
|
|
|
|
TimeType string `jsonapi:"attr,time_type,omitempty"`
|
|
|
|
UpdatedAt time.Time `jsonapi:"attr,updated_at,rfc3339,omitempty"`
|
|
|
|
//relations
|
2023-11-23 10:09:18 -05:00
|
|
|
AssignedTeams []Team `jsonapi:"relation,assigned_teams,omitempty"`
|
2023-11-07 22:34:57 -05:00
|
|
|
}
|