zitadel/internal/domain/policy_mail_template.go

16 lines
252 B
Go
Raw Normal View History

2021-02-10 10:48:40 +01:00
package domain
import "github.com/caos/zitadel/internal/eventstore/v1/models"
2021-02-10 10:48:40 +01:00
type MailTemplate struct {
models.ObjectRoot
State PolicyState
Default bool
Template []byte
}
func (m *MailTemplate) IsValid() bool {
return m.Template != nil
}