mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-14 11:37:29 +08:00
12 lines
339 B
Go
12 lines
339 B
Go
package model
|
|
|
|
type WebsiteAcmeAccount struct {
|
|
BaseModel
|
|
Email string `gorm:"type:varchar(256);not null" json:"email"`
|
|
URL string `gorm:"type:varchar(256);not null" json:"url"`
|
|
PrivateKey string `gorm:"type:longtext;not null" json:"-"`
|
|
}
|
|
|
|
func (w WebsiteAcmeAccount) TableName() string {
|
|
return "website_acme_accounts"
|
|
}
|