nginx-proxy-manager/backend/internal/entity/certificate/template.go
Jamie Curnow 29990110b1
Convert db backend to use Gorm, with basis for support
for Mysql and Postgres in addition to existing Sqlite
2023-05-26 11:37:39 +10:00

23 lines
620 B
Go

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
}