mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-15 17:29:00 +08:00
fe1290e933
Refs #2725
9 lines
240 B
Go
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"`
|
|
}
|