mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 12:57:34 +00:00
chore: move the go code into a subfolder
This commit is contained in:
59
apps/api/internal/user/model/notify_user.go
Normal file
59
apps/api/internal/user/model/notify_user.go
Normal file
@@ -0,0 +1,59 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/zitadel/zitadel/internal/domain"
|
||||
)
|
||||
|
||||
type NotifyUser struct {
|
||||
ID string
|
||||
CreationDate time.Time
|
||||
ChangeDate time.Time
|
||||
ResourceOwner string
|
||||
UserName string
|
||||
PreferredLoginName string
|
||||
LoginNames []string
|
||||
FirstName string
|
||||
LastName string
|
||||
NickName string
|
||||
DisplayName string
|
||||
PreferredLanguage string
|
||||
Gender Gender
|
||||
LastEmail string
|
||||
VerifiedEmail string
|
||||
LastPhone string
|
||||
VerifiedPhone string
|
||||
PasswordSet bool
|
||||
Sequence uint64
|
||||
}
|
||||
|
||||
type NotifyUserSearchRequest struct {
|
||||
Offset uint64
|
||||
Limit uint64
|
||||
SortingColumn NotifyUserSearchKey
|
||||
Asc bool
|
||||
Queries []*NotifyUserSearchQuery
|
||||
}
|
||||
|
||||
type NotifyUserSearchKey int32
|
||||
|
||||
const (
|
||||
NotifyUserSearchKeyUnspecified NotifyUserSearchKey = iota
|
||||
NotifyUserSearchKeyUserID
|
||||
NotifyUserSearchKeyResourceOwner
|
||||
NotifyUserSearchKeyInstanceID
|
||||
)
|
||||
|
||||
type NotifyUserSearchQuery struct {
|
||||
Key NotifyUserSearchKey
|
||||
Method domain.SearchMethod
|
||||
Value string
|
||||
}
|
||||
|
||||
type NotifyUserSearchResponse struct {
|
||||
Offset uint64
|
||||
Limit uint64
|
||||
TotalResult uint64
|
||||
Result []*UserView
|
||||
}
|
Reference in New Issue
Block a user