mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +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 != ""
|
|||
}
|