mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-15 01:05:06 +08:00
14 lines
314 B
Go
14 lines
314 B
Go
package model
|
|
|
|
type WebsiteDomain struct {
|
|
BaseModel
|
|
WebsiteID uint `gorm:"column:website_id;not null;" json:"websiteId"`
|
|
Domain string `gorm:"not null" json:"domain"`
|
|
SSL bool `json:"ssl"`
|
|
Port int `json:"port"`
|
|
}
|
|
|
|
func (w WebsiteDomain) TableName() string {
|
|
return "website_domains"
|
|
}
|