mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-15 09:18:59 +08:00
13 lines
295 B
Go
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"
|
|
}
|