mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
347 B
13 lines
347 B
4 months ago
|
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"`
|
||
|
Authorization string `gorm:"type:varchar(256);not null" json:"-"`
|
||
|
}
|
||
|
|
||
|
func (w WebsiteDnsAccount) TableName() string {
|
||
|
return "website_dns_accounts"
|
||
|
}
|