zitadel/internal/v2/repository/member/event_removed.go
2020-11-06 13:47:27 +01:00

20 lines
309 B
Go

package member
import (
"github.com/caos/zitadel/internal/eventstore/v2"
)
type MemberRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
UserID string `json:"userId"`
}
func (e *MemberRemovedEvent) CheckPrevious() bool {
return true
}
func (e *MemberRemovedEvent) Data() interface{} {
return e
}