nginx-proxy-manager-zh/backend/internal/entity/certificate/template.go

23 lines
620 B
Go
Raw Normal View History

package certificate
// Template is the model given to the template parser, converted from the Model
type Template struct {
ID uint
CreatedAt string
UpdatedAt string
ExpiresOn string
Type string
UserID uint
CertificateAuthorityID uint
DNSProviderID uint
Name string
DomainNames []string
Status string
IsECC bool
// These are helpers for template generation
IsCustom bool
IsAcme bool // non-custom
IsProvided bool
Folder string
}