companyAdminAssigned.go 421 字节
package event

import (
	coreDomain "github.com/linmadan/egglib-go/core/domain"
	"gitlab.fjmaimaimai.com/mmm-go-pp/partner01/pkg/domain"
)

const CompanyAdminAssignedEvent = "Company-Admin-Assigned"

type CompanyAdminAssigned struct {
	coreDomain.BaseEvent
	OperatorId int64
	CompanyId  int64
	Admin      *domain.CompanyAdmin
}

func (event *CompanyAdminAssigned) EventType() string {
	return CompanyAdminAssignedEvent
}