You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
314 B
Go
14 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"
|
|
}
|