mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 17:53:41 +00:00
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 != ""
|
||
|
}
|