cooperationApplicationAgreed.go 923 字节
package event

import coreDomain "github.com/linmadan/egglib-go/core/domain"

const COOPERATION_APPLICATION_AGREED = "=cooperation-application-agreed"

type CooperationApplicationAgreedData struct {
	// 共创项目ID
	CreationProjectId int64 `json:"creationProjectId"`
	// 共创项目名称
	CreationProjectName string `json:"creationProjectName"`
	// 共创项目编号
	CreationProjectNumber string `json:"creationProjectNumber"`
	// 申请人ID
	UserId int64 `json:"userId"`
	// 申请人基础ID
	UserBaseId int64 `json:"userBaseId"`
	// 组织机构ID
	OrgId int64 `json:"orgId"`
	// 公司ID
	CompanyId int64 `json:"companyId"`
}

type CooperationApplicationAgreed struct {
	coreDomain.BaseEvent
	CooperationApplicationAgreedData []CooperationApplicationAgreedData `json:"cooperationApplicationAgreedData"`
}

func (event *CooperationApplicationAgreed) EventType() string {
	return COOPERATION_APPLICATION_AGREED
}