mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-05 10:28:59 +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"
|
|
}
|