1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-02-15 13:00:05 +08:00
1Panel/agent/app/model/command.go

15 lines
328 B
Go
Raw Normal View History

2024-07-23 14:48:37 +08:00
package model
type Command struct {
BaseModel
2024-08-14 10:43:32 +08:00
Name string `gorm:"unique;not null" json:"name"`
GroupID uint `json:"groupID"`
Command string `gorm:"not null" json:"command"`
2024-07-23 14:48:37 +08:00
}
type RedisCommand struct {
BaseModel
2024-08-14 10:43:32 +08:00
Name string `gorm:"unique;not null" json:"name"`
Command string `gorm:"not null" json:"command"`
2024-07-23 14:48:37 +08:00
}