zitadel/internal/iam/model/mail_template.go

18 lines
266 B
Go
Raw Normal View History

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 != ""
}