creditAccountPaid.go 992 字节
package event

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

const CREDIT_ACCOUNT_PAID = "credit-account-paid"

type CreditAccountPaidData 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 CreditAccountPaid struct {
	coreDomain.BaseEvent
	CreditAccountPaidData []CreditAccountPaidData `json:"creditAccountPaidData"`
}

func (event *CreditAccountPaid) EventType() string {
	return CREDIT_ACCOUNT_PAID
}