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

8 lines
187 B
Go
Raw Normal View History

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