1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00
1Panel/backend/app/model/command.go

10 lines
211 B
Go
Raw Normal View History

package model
import "gorm.io/gorm"
type Command struct {
gorm.Model
2022-08-31 23:16:10 +08:00
Name string `gorm:"type:varchar(64);unique;not null" json:"name"`
Command string `gorm:"type:varchar(256);not null" json:"command"`
}