1Panel/core/app/model/command.go
ssongliu 37df602ae8
Some checks failed
sync2gitee / repo-sync (push) Failing after -8m3s
feat: 提取分组及快速命令功能 (#6169)
2024-08-19 10:04:43 +00:00

9 lines
240 B
Go

package model
type Command struct {
BaseModel
Type string `gorm:"not null" json:"type"`
Name string `gorm:"not null" json:"name"`
GroupID uint `gorm:"not null" json:"groupID"`
Command string `gorm:"not null" json:"command"`
}