dividendsEstimated.go 998 字节
package event

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

const DIVIDENDS_ESTIMATED = "dividends-estimated"

type DividendsEstimatedData struct {
	// 账期结算单编号
	CreditAccountOrderNum string `json:"creditAccountOrderNum"`
	// 结算金额
	SettlementAmount string `json:"settlementAmount"`
	// 账期结算单ID
	CreditAccountId int64 `json:"creditAccountId"`
	// 分红预算单ID
	DividendsEstimateId int64 `json:"dividendsEstimateId"`
	// 分红预算单编号
	DividendsEstimateOrderNumber string `json:"dividendsEstimateOrderNumber"`
	// 申请人ID
	UserId int64 `json:"userId"`
	// 申请人基础ID
	UserBaseId int64 `json:"userBaseId"`
	// 组织机构ID
	OrgId int64 `json:"orgId"`
	// 公司ID
	CompanyId int64 `json:"companyId"`
}

type DividendsEstimated struct {
	coreDomain.BaseEvent
	DividendsEstimatedData []DividendsEstimatedData `json:"dividendsEstimatedData"`
}

func (event *DividendsEstimated) EventType() string {
	return DIVIDENDS_ESTIMATED
}