1Panel/agent/app/model/website_dns_account.go
2024-08-14 10:43:32 +08:00

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"
}