1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00
1Panel/backend/app/model/website.go

17 lines
687 B
Go
Raw Normal View History

2022-10-28 17:04:57 +08:00
package model
import "time"
type WebSite struct {
BaseModel
PrimaryDomain string `gorm:"type:varchar(128);not null" json:"primaryDomain"`
Type string `gorm:"type:varchar(64);not null" json:"type"`
Alias string `gorm:"type:varchar(128);not null" json:"alias"`
Remark string `gorm:"type:longtext;" json:"remark"`
Status string `gorm:"type:varchar(64);not null" json:"status"`
ExpireDate time.Time `json:"expireDate"`
AppInstallID uint `gorm:"type:integer" json:"appInstallID"`
WebSiteGroupID uint `gorm:"type:integer" json:"webSiteGroupID"`
WebSiteSSLID uint `gorm:"type:integer" json:"webSiteSSLID"`
}