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.

13 lines
295 B
Go

package model
type WebsiteDnsAccount struct {
BaseModel
Name string `gorm:"not null" json:"name"`
Type string `gorm:"not null" json:"type"`
Authorization string `gorm:"not null" json:"-"`
}
func (w WebsiteDnsAccount) TableName() string {
return "website_dns_accounts"
}