1Panel/backend/app/model/website_dns_account.go

13 lines
347 B
Go
Raw Normal View History

package model
type WebsiteDnsAccount struct {
BaseModel
Name string `gorm:"type:varchar(64);not null" json:"name"`
Type string `gorm:"type:varchar(64);not null" json:"type"`
2023-01-04 14:26:22 +08:00
Authorization string `gorm:"type:varchar(256);not null" json:"-"`
}
2022-11-11 17:41:39 +08:00
func (w WebsiteDnsAccount) TableName() string {
return "website_dns_accounts"
}