mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-03 09:24:28 +08:00
12 lines
222 B
Go
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"
|
|
}
|