feat: add Go backend
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TradeOrder is the golang structure of table hg_trade_order for DAO operations like Where/Data.
|
||||
type TradeOrder struct {
|
||||
g.Meta `orm:"table:hg_trade_order, do:true"`
|
||||
Id any // 主键
|
||||
TenantId any // 租户ID
|
||||
OrderNo any // 订单号
|
||||
MemberId any // 会员ID
|
||||
TaskId any // 任务ID
|
||||
ProductId any // 商品ID
|
||||
ProductName any // 商品名称快照
|
||||
OrderType any // 订单类型
|
||||
Quantity any // 数量
|
||||
UnitPriceAmount any // 单价(分)
|
||||
TotalAmount any // 订单金额(分)
|
||||
CommissionAmount any // 佣金(分)
|
||||
Currency any // 币种
|
||||
MemberLevelId any // 下单等级ID
|
||||
RuleSnapshot *gjson.Json // 规则快照
|
||||
Message any // 订单消息
|
||||
OrderStatus any // 订单状态
|
||||
FreezeStatus any // 冻结状态
|
||||
ApprovalRequestId any // 人工处理审批ID
|
||||
MatchedAt *gtime.Time // 匹配时间
|
||||
CompletedAt *gtime.Time // 完成时间
|
||||
UnfrozenAt *gtime.Time // 解冻时间
|
||||
CreatedBy any // 创建者
|
||||
UpdatedBy any // 更新者
|
||||
CreatedAt *gtime.Time // 下单时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
Reference in New Issue
Block a user