mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-05 02:19:00 +08:00
13 lines
321 B
Go
13 lines
321 B
Go
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"
|
|
}
|