2021-02-22 13:08:47 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/golang/protobuf/ptypes/timestamp"
|
|
|
|
)
|
|
|
|
|
|
|
|
type UserChanges struct {
|
|
|
|
Changes []*UserChange
|
|
|
|
LastSequence uint64
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserChange struct {
|
2021-06-10 09:29:34 +00:00
|
|
|
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:"-"`
|
2021-06-14 11:53:40 +00:00
|
|
|
ModifierAvatarURL string `json:"-"`
|
2021-06-10 09:29:34 +00:00
|
|
|
Data interface{} `json:"data,omitempty"`
|
2021-02-22 13:08:47 +00:00
|
|
|
}
|