mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
49 lines
902 B
Go
49 lines
902 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
)
|
|
|
|
type PrivacyPolicyView struct {
|
|
AggregateID string
|
|
TOSLink string
|
|
PrivacyLink string
|
|
Default bool
|
|
|
|
CreationDate time.Time
|
|
ChangeDate time.Time
|
|
Sequence uint64
|
|
}
|
|
|
|
type PrivacyPolicySearchRequest struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
SortingColumn PrivacyPolicySearchKey
|
|
Asc bool
|
|
Queries []*PrivacyPolicySearchQuery
|
|
}
|
|
|
|
type PrivacyPolicySearchKey int32
|
|
|
|
const (
|
|
PrivacyPolicySearchKeyUnspecified PrivacyPolicySearchKey = iota
|
|
PrivacyPolicySearchKeyAggregateID
|
|
)
|
|
|
|
type PrivacyPolicySearchQuery struct {
|
|
Key PrivacyPolicySearchKey
|
|
Method domain.SearchMethod
|
|
Value interface{}
|
|
}
|
|
|
|
type PrivacyPolicySearchResponse struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
TotalResult uint64
|
|
Result []*PrivacyPolicyView
|
|
Sequence uint64
|
|
Timestamp time.Time
|
|
}
|