Files
olons_admin/server/internal/model/entity/wallet_adjustment_request.go
T
2026-10-10 20:56:17 +08:00

34 lines
2.5 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/os/gtime"
)
// WalletAdjustmentRequest is the golang structure for table wallet_adjustment_request.
type WalletAdjustmentRequest struct {
Id uint64 `json:"id" orm:"id" description:"主键"`
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
RequestNo string `json:"requestNo" orm:"request_no" description:"申请单号"`
MemberId uint64 `json:"memberId" orm:"member_id" description:"会员ID"`
AccountId uint64 `json:"accountId" orm:"account_id" description:"钱包账户ID"`
AdjustType int `json:"adjustType" orm:"adjust_type" description:"调整类型"`
Direction int `json:"direction" orm:"direction" description:"方向 1收入 2支出"`
Amount int64 `json:"amount" orm:"amount" description:"金额(分)"`
ReasonCode string `json:"reasonCode" orm:"reason_code" description:"原因编码"`
ReasonText string `json:"reasonText" orm:"reason_text" description:"原因说明"`
EvidenceJson *gjson.Json `json:"evidenceJson" orm:"evidence_json" description:"凭证附件"`
IdempotencyKey string `json:"idempotencyKey" orm:"idempotency_key" description:"幂等键"`
RequestStatus int `json:"requestStatus" orm:"request_status" description:"状态 1待审批 2已通过 3已拒绝 4已执行"`
ApprovalRequestId uint64 `json:"approvalRequestId" orm:"approval_request_id" description:"审批单ID"`
LedgerId uint64 `json:"ledgerId" orm:"ledger_id" description:"账变流水ID"`
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
}