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

13 lines
295 B
Go
Raw Normal View History

2024-07-23 14:48:37 +08:00
package model
type WebsiteDnsAccount struct {
BaseModel
2024-08-14 10:43:32 +08:00
Name string `gorm:"not null" json:"name"`
Type string `gorm:"not null" json:"type"`
Authorization string `gorm:"not null" json:"-"`
2024-07-23 14:48:37 +08:00
}
func (w WebsiteDnsAccount) TableName() string {
return "website_dns_accounts"
}