mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 07:07:24 +00:00

* View definition added * Get templates and texts from the database. * Fill in texts in templates * Fill in texts in templates * Client API added * Weekly backup * Weekly backup * Daily backup * Weekly backup * Tests added * Corrections from merge branch * Fixes from pull request review
18 lines
266 B
Go
18 lines
266 B
Go
package model
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/eventstore/models"
|
|
)
|
|
|
|
type MailTemplate struct {
|
|
models.ObjectRoot
|
|
|
|
State PolicyState
|
|
Default bool
|
|
Template []byte
|
|
}
|
|
|
|
func (p *MailTemplate) IsValid() bool {
|
|
return p.ObjectRoot.AggregateID != ""
|
|
}
|