2021-02-22 14:08:47 +01:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
2023-11-13 12:41:29 +02:00
|
|
|
"google.golang.org/protobuf/types/known/timestamppb"
|
2021-02-22 14:08:47 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
type UserChanges struct {
|
|
|
|
Changes []*UserChange
|
|
|
|
LastSequence uint64
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserChange struct {
|
2023-11-13 12:41:29 +02:00
|
|
|
ChangeDate *timestamppb.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:"-"`
|
|
|
|
ModifierAvatarURL string `json:"-"`
|
|
|
|
Data interface{} `json:"data,omitempty"`
|
2021-02-22 14:08:47 +01:00
|
|
|
}
|