1Panel/backend/app/model/command.go
2022-09-02 11:43:58 +08:00

8 lines
187 B
Go

package model
type Command struct {
BaseModel
Name string `gorm:"type:varchar(64);unique;not null" json:"name"`
Command string `gorm:"type:varchar(256);not null" json:"command"`
}