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

9 lines
215 B
Go
Raw Normal View History

package model
type Group struct {
2022-09-01 16:48:43 +08:00
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"`
}