go-skeletor/entity/command.go

9 lines
193 B
Go

package entity
type Command struct {
Id uint `gorm:"primaryKey"`
Name string
Description string
Cron []Cron `gorm:"constraint:OnUpdate:CASCADE,OnDelete:CASCADE;"`
}