mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
67462eefe0
* fix: add preferred login name of editor to changes * proto linting
21 lines
624 B
Go
21 lines
624 B
Go
package model
|
|
|
|
import (
|
|
"github.com/golang/protobuf/ptypes/timestamp"
|
|
)
|
|
|
|
type UserChanges struct {
|
|
Changes []*UserChange
|
|
LastSequence uint64
|
|
}
|
|
|
|
type UserChange struct {
|
|
ChangeDate *timestamp.Timestamp `json:"changeDate,omitempty"`
|
|
EventType string `json:"eventType,omitempty"`
|
|
Sequence uint64 `json:"sequence,omitempty"`
|
|
ModifierID string `json:"modifierUser,omitempty"`
|
|
ModifierName string `json:"-"`
|
|
ModifierLoginName string `json:"-"`
|
|
Data interface{} `json:"data,omitempty"`
|
|
}
|