1Panel/backend/app/model/command.go
2023-10-31 06:14:30 +00:00

9 lines
240 B
Go

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