Files

9 lines
274 B
Go
Raw Permalink Normal View History

2024-07-23 14:48:37 +08:00
package model
type WebsiteCA struct {
BaseModel
CSR string `gorm:"not null;" json:"csr"`
Name string `gorm:"not null;" json:"name"`
PrivateKey string `gorm:"not null" json:"privateKey"`
KeyType string `gorm:"not null;default:RSA2048" json:"keyType"`
2024-07-23 14:48:37 +08:00
}