feat: add Go backend

This commit is contained in:
richjohnrambo
2026-10-10 20:56:17 +08:00
parent 50fcfd2d3d
commit f6024f0964
1040 changed files with 107169 additions and 0 deletions
@@ -0,0 +1,38 @@
// =================================================================================
// 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"
)
// RechargeOrder is the golang structure for table recharge_order.
type RechargeOrder struct {
Id uint64 `json:"id" orm:"id" description:"主键"`
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
RechargeNo string `json:"rechargeNo" orm:"recharge_no" description:"充值单号"`
MemberId uint64 `json:"memberId" orm:"member_id" description:"会员ID"`
ChannelId uint64 `json:"channelId" orm:"channel_id" description:"支付渠道ID"`
RequestAmount int64 `json:"requestAmount" orm:"request_amount" description:"申请金额(分)"`
PaidAmount int64 `json:"paidAmount" orm:"paid_amount" description:"实付金额(分)"`
Currency string `json:"currency" orm:"currency" description:"币种"`
ExternalNo string `json:"externalNo" orm:"external_no" description:"外部支付单号"`
VoucherAttachmentIds *gjson.Json `json:"voucherAttachmentIds" orm:"voucher_attachment_ids" description:"打款凭证附件"`
RechargeType int `json:"rechargeType" orm:"recharge_type" description:"充值类型"`
RechargeStatus int `json:"rechargeStatus" orm:"recharge_status" description:"充值状态"`
Remark string `json:"remark" orm:"remark" description:"会员备注"`
ReviewReasonCode string `json:"reviewReasonCode" orm:"review_reason_code" description:"审核原因编码"`
ReviewReason string `json:"reviewReason" orm:"review_reason" description:"审核意见"`
ApprovalRequestId uint64 `json:"approvalRequestId" orm:"approval_request_id" description:"审批单ID"`
LedgerId uint64 `json:"ledgerId" orm:"ledger_id" description:"入账台账ID"`
PaidAt *gtime.Time `json:"paidAt" orm:"paid_at" description:"支付时间"`
ReviewedAt *gtime.Time `json:"reviewedAt" orm:"reviewed_at" description:"审核时间"`
CreditedAt *gtime.Time `json:"creditedAt" orm:"credited_at" description:"入账时间"`
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:"更新时间"`
}