1Panel/agent/app/model/website_dns_account.go
ssongliu 46fda7ecfb
Some checks failed
sync2gitee / repo-sync (push) Failing after -7m49s
fix: 移除 gorm 类型参数 (#6123)
2024-08-14 10:43:32 +08:00

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