mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-14 09:28:37 +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 != ""
|
||
|
|
}
|