mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
321 B
13 lines
321 B
package model
|
|
|
|
type WebSiteDomain struct {
|
|
BaseModel
|
|
WebSiteID uint `gorm:"type:varchar(64);not null" json:"web_site_id"`
|
|
Domain string `gorm:"type:varchar(256);not null" json:"domain"`
|
|
Port int `gorm:"type:integer" json:"port"`
|
|
}
|
|
|
|
func (w WebSiteDomain) TableName() string {
|
|
return "website_domains"
|
|
}
|