mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
20 lines
543 B
Go
20 lines
543 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:"-"`
|
||
|
Data interface{} `json:"data,omitempty"`
|
||
|
}
|