1Panel/backend/app/model/command.go

8 lines
187 B
Go
Raw Normal View History

package model
type Command struct {
2022-09-01 08:48:43 +00:00
BaseModel
2022-08-31 15:16:10 +00:00
Name string `gorm:"type:varchar(64);unique;not null" json:"name"`
Command string `gorm:"type:varchar(256);not null" json:"command"`
}