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

* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
18 lines
269 B
Go
18 lines
269 B
Go
package model
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/eventstore/v1/models"
|
|
)
|
|
|
|
type MailTemplate struct {
|
|
models.ObjectRoot
|
|
|
|
State PolicyState
|
|
Default bool
|
|
Template []byte
|
|
}
|
|
|
|
func (p *MailTemplate) IsValid() bool {
|
|
return p.ObjectRoot.AggregateID != ""
|
|
}
|