mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-25 19:49:14 +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"
|
|
}
|