1Panel/agent/app/model/website_domain.go
2024-08-14 10:43:32 +08:00

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"
}