mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 04:18:01 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
49 lines
962 B
Go
49 lines
962 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
)
|
|
|
|
type PasswordAgePolicyView struct {
|
|
AggregateID string
|
|
MaxAgeDays uint64
|
|
ExpireWarnDays uint64
|
|
Default bool
|
|
|
|
CreationDate time.Time
|
|
ChangeDate time.Time
|
|
Sequence uint64
|
|
}
|
|
|
|
type PasswordAgePolicySearchRequest struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
SortingColumn PasswordAgePolicySearchKey
|
|
Asc bool
|
|
Queries []*PasswordAgePolicySearchQuery
|
|
}
|
|
|
|
type PasswordAgePolicySearchKey int32
|
|
|
|
const (
|
|
PasswordAgePolicySearchKeyUnspecified PasswordAgePolicySearchKey = iota
|
|
PasswordAgePolicySearchKeyAggregateID
|
|
)
|
|
|
|
type PasswordAgePolicySearchQuery struct {
|
|
Key PasswordAgePolicySearchKey
|
|
Method domain.SearchMethod
|
|
Value interface{}
|
|
}
|
|
|
|
type PasswordAgePolicySearchResponse struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
TotalResult uint64
|
|
Result []*PasswordAgePolicyView
|
|
Sequence uint64
|
|
Timestamp time.Time
|
|
}
|