creditAccountPaid.go
891 字节
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"`
// 实际支付金额
ActuallyPaidAmount string `json:"actuallyPaidAmount"`
// 账期结算单ID
CreditAccountId int64 `json:"creditAccountId"`
// 申请人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
}