33 lines
2.3 KiB
Go
33 lines
2.3 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// WalletLedger is the golang structure for table wallet_ledger.
|
|
type WalletLedger struct {
|
|
Id uint64 `json:"id" orm:"id" description:"主键"`
|
|
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
LedgerNo string `json:"ledgerNo" orm:"ledger_no" description:"账变流水号"`
|
|
AccountId uint64 `json:"accountId" orm:"account_id" description:"钱包账户ID"`
|
|
MemberId uint64 `json:"memberId" orm:"member_id" description:"会员ID"`
|
|
BizType string `json:"bizType" orm:"biz_type" description:"业务类型"`
|
|
BizNo string `json:"bizNo" orm:"biz_no" description:"业务单号"`
|
|
EntryType string `json:"entryType" orm:"entry_type" description:"账变类型"`
|
|
Direction int `json:"direction" orm:"direction" description:"方向 1收入 2支出"`
|
|
Amount int64 `json:"amount" orm:"amount" description:"发生金额(分)"`
|
|
BeforeAmount int64 `json:"beforeAmount" orm:"before_amount" description:"变更前余额(分)"`
|
|
AfterAmount int64 `json:"afterAmount" orm:"after_amount" description:"变更后余额(分)"`
|
|
Currency string `json:"currency" orm:"currency" description:"币种"`
|
|
ReversalOf uint64 `json:"reversalOf" orm:"reversal_of" description:"冲正原流水ID"`
|
|
IdempotencyKey string `json:"idempotencyKey" orm:"idempotency_key" description:"幂等键"`
|
|
Remark string `json:"remark" orm:"remark" description:"说明"`
|
|
OperatorId uint64 `json:"operatorId" orm:"operator_id" description:"操作人"`
|
|
OccurredAt *gtime.Time `json:"occurredAt" orm:"occurred_at" description:"发生时间"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
}
|