mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 15:37:32 +00:00
chore: move the go code into a subfolder
This commit is contained in:
15
apps/api/internal/domain/policy_mail_template.go
Normal file
15
apps/api/internal/domain/policy_mail_template.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package domain
|
||||
|
||||
import "github.com/zitadel/zitadel/internal/eventstore/v1/models"
|
||||
|
||||
type MailTemplate struct {
|
||||
models.ObjectRoot
|
||||
|
||||
State PolicyState
|
||||
Default bool
|
||||
Template []byte
|
||||
}
|
||||
|
||||
func (m *MailTemplate) IsValid() bool {
|
||||
return m.Template != nil
|
||||
}
|
Reference in New Issue
Block a user