zitadel/internal/view/model/general_query.go

26 lines
445 B
Go
Raw Normal View History

package model
import (
"github.com/zitadel/zitadel/internal/domain"
)
type GeneralSearchRequest struct {
Offset uint64
Limit uint64
SortingColumn GeneralSearchKey
Asc bool
Queries []*GeneralSearchQuery
}
type GeneralSearchKey int32
const (
GeneralSearchKeyUnspecified GeneralSearchKey = iota
)
type GeneralSearchQuery struct {
Key GeneralSearchKey
Method domain.SearchMethod
Value interface{}
}