mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
3c07a186fc
* fix: pub sub in new eventstore * fix: todos * fix: todos * fix: todos * fix: todos * fix: todos
47 lines
866 B
Go
47 lines
866 B
Go
package model
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/domain"
|
|
"time"
|
|
)
|
|
|
|
type MailTemplateView struct {
|
|
AggregateID string
|
|
Template []byte
|
|
Default bool
|
|
|
|
CreationDate time.Time
|
|
ChangeDate time.Time
|
|
Sequence uint64
|
|
}
|
|
|
|
type MailTemplateSearchRequest struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
SortingColumn MailTemplateSearchKey
|
|
Asc bool
|
|
Queries []*MailTemplateSearchQuery
|
|
}
|
|
|
|
type MailTemplateSearchKey int32
|
|
|
|
const (
|
|
MailTemplateSearchKeyUnspecified MailTemplateSearchKey = iota
|
|
MailTemplateSearchKeyAggregateID
|
|
)
|
|
|
|
type MailTemplateSearchQuery struct {
|
|
Key MailTemplateSearchKey
|
|
Method domain.SearchMethod
|
|
Value interface{}
|
|
}
|
|
|
|
type MailTemplateSearchResponse struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
TotalResult uint64
|
|
Result []*MailTemplateView
|
|
Sequence uint64
|
|
Timestamp time.Time
|
|
}
|