Adicionados dados para cron

nats
Paulo Simão 2021-10-14 13:29:30 -03:00
parent 84ddbfbe69
commit c573402bc0
1 changed files with 5 additions and 3 deletions

View File

@ -301,9 +301,11 @@ type Options struct {
type Cron struct { type Cron struct {
Model Model
Cron string `json:"cron"` Cron string `json:"cron"`
JobCode uint `json:"job"` JobCode uint `json:"job"`
Enabled *bool `json:"enabled"` Enabled *bool `json:"enabled"`
Data string `json:"data"`
Comments string `json:"comments"`
} }
//type Resource struct { //type Resource struct {