1Panel/backend/app/model/website_acme_account.go

13 lines
339 B
Go
Raw Normal View History

2022-11-11 17:41:39 +08:00
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:"-"`
2022-11-11 17:41:39 +08:00
}
func (w WebsiteAcmeAccount) TableName() string {
return "website_acme_accounts"
}