1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-02-01 06:28:06 +08:00
1Panel/backend/app/model/website_domain.go

9 lines
248 B
Go
Raw Normal View History

2022-10-28 17:04:57 +08:00
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"`
}