1Panel/backend/app/model/group.go

9 lines
215 B
Go

package model
type Group struct {
BaseModel
IsDefault bool `json:"isDefault"`
Name string `gorm:"type:varchar(64);not null" json:"name"`
Type string `gorm:"type:varchar(16);not null" json:"type"`
}