1Panel/backend/app/model/website_group.go
2022-12-15 11:12:25 +08:00

12 lines
222 B
Go

package model
type WebsiteGroup struct {
BaseModel
Name string `gorm:"type:varchar(64);not null" json:"name"`
Default bool `json:"default"`
}
func (w WebsiteGroup) TableName() string {
return "website_groups"
}