package model import "time" type ScheduleJob struct { ID uint `gorm:"primaryKey;autoIncrement" json:"id"` Name string `gorm:"size:100;not null" json:"name"` PluginName string `gorm:"size:100;not null" json:"plugin_name"` CronExpr string `gorm:"size:50;not null" json:"cron_expr"` Enabled bool `gorm:"default:true" json:"enabled"` LastRunAt *time.Time `json:"last_run_at"` NextRunAt *time.Time `json:"next_run_at"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }