1Panel/agent/app/model/website_domain.go
ssongliu 46fda7ecfb
Some checks failed
sync2gitee / repo-sync (push) Failing after -7m49s
fix: 移除 gorm 类型参数 (#6123)
2024-08-14 10:43:32 +08:00

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