Modeint64`json:"mode" bson:"mode" validate:"required"`// Mode is the mode of the schedule (Task or Service)
Namestring`json:"name" bson:"name" validate:"required"`// Name is the name of the schedule
Start*time.Time`json:"start" bson:"start" validate:"required,ltfield=End"`// Start is the start time of the schedule, is required and must be less than the End time
End*time.Time`json:"end,omitempty" bson:"end,omitempty"`// End is the end time of the schedule
Cronstring`json:"cron,omitempty" bson:"cron,omitempty"`// here the cron format : ss mm hh dd MM dw task