userCreated.go
360 字节
package event
import (
coreDomain "github.com/linmadan/egglib-go/core/domain"
"gitlab.fjmaimaimai.com/mmm-go-pp/partner01/pkg/domain"
)
const UsersCreatedEvent = "Users-Created-Event"
type UsersCreated struct {
coreDomain.BaseEvent
OperatorId int64
User *domain.User
}
func (event *UsersCreated) EventType() string {
return UsersCreatedEvent
}