simplify model
This commit is contained in:
parent
2d9b4587ac
commit
bfa86de5ad
@ -11,7 +11,6 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type WorkflowSchedule struct {
|
type WorkflowSchedule struct {
|
||||||
Id string `json:"id"`
|
|
||||||
Mode int64 `json:"mode" bson:"mode" validate:"required"`
|
Mode int64 `json:"mode" bson:"mode" validate:"required"`
|
||||||
Name string `json:"name" bson:"name" validate:"required"`
|
Name string `json:"name" bson:"name" validate:"required"`
|
||||||
Start *time.Time `json:"start" bson:"start" validate:"required,ltfield=End"`
|
Start *time.Time `json:"start" bson:"start" validate:"required,ltfield=End"`
|
||||||
|
Loading…
Reference in New Issue
Block a user