mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
71 lines
6.5 KiB
Go
71 lines
6.5 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNameOrderInfo = "order_info"
|
|
|
|
// OrderInfo 订单信息表
|
|
type OrderInfo struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
|
|
MerchantOrderID string `gorm:"column:merchant_order_id;comment:商户订单ID" json:"merchant_order_id"` // 商户订单ID
|
|
ShopName string `gorm:"column:shop_name;comment:商品名称" json:"shop_name"` // 商品名称
|
|
OrderPeriod string `gorm:"column:order_period;comment:订单有效时间" json:"order_period"` // 订单有效时间
|
|
BankOrderID string `gorm:"column:bank_order_id;comment:系统订单ID" json:"bank_order_id"` // 系统订单ID
|
|
BankTransID string `gorm:"column:bank_trans_id;comment:上游流水ID" json:"bank_trans_id"` // 上游流水ID
|
|
OrderAmount float64 `gorm:"column:order_amount;comment:订单提交金额" json:"order_amount"` // 订单提交金额
|
|
ShowAmount float64 `gorm:"column:show_amount;comment:待支付金额" json:"show_amount"` // 待支付金额
|
|
FactAmount float64 `gorm:"column:fact_amount;comment:实际支付金额" json:"fact_amount"` // 实际支付金额
|
|
RollPoolCode string `gorm:"column:roll_pool_code;comment:轮询池编码" json:"roll_pool_code"` // 轮询池编码
|
|
RollPoolName string `gorm:"column:roll_pool_name;comment:轮询池名称" json:"roll_pool_name"` // 轮询池名称
|
|
RoadUID string `gorm:"column:road_uid;comment:支付通道ID" json:"road_uid"` // 支付通道ID
|
|
RoadName string `gorm:"column:road_name;comment:支付通道名称" json:"road_name"` // 支付通道名称
|
|
PayProductCode string `gorm:"column:pay_product_code;comment:上游支付公司编码" json:"pay_product_code"` // 上游支付公司编码
|
|
PayProductName string `gorm:"column:pay_product_name;comment:上游支付公司名称" json:"pay_product_name"` // 上游支付公司名称
|
|
PayTypeCode string `gorm:"column:pay_type_code;comment:支付产品编码" json:"pay_type_code"` // 支付产品编码
|
|
PayTypeName string `gorm:"column:pay_type_name;comment:支付产品名称" json:"pay_type_name"` // 支付产品名称
|
|
OsType string `gorm:"column:os_type;comment:操作系统类型" json:"os_type"` // 操作系统类型
|
|
Status string `gorm:"column:status;comment:订单支付状态" json:"status"` // 订单支付状态
|
|
Refund string `gorm:"column:refund;comment:退款状态" json:"refund"` // 退款状态
|
|
RefundTime string `gorm:"column:refund_time;comment:退款操作时间" json:"refund_time"` // 退款操作时间
|
|
Freeze string `gorm:"column:freeze;comment:冻结状态" json:"freeze"` // 冻结状态
|
|
FreezeTime string `gorm:"column:freeze_time;comment:冻结时间" json:"freeze_time"` // 冻结时间
|
|
Unfreeze string `gorm:"column:unfreeze;comment:是否已解冻" json:"unfreeze"` // 是否已解冻
|
|
UnfreezeTime string `gorm:"column:unfreeze_time;comment:解冻时间" json:"unfreeze_time"` // 解冻时间
|
|
NotifyURL string `gorm:"column:notify_url;comment:回调通知地址" json:"notify_url"` // 回调通知地址
|
|
MerchantUID string `gorm:"column:merchant_uid;comment:商户ID" json:"merchant_uid"` // 商户ID
|
|
MerchantName string `gorm:"column:merchant_name;comment:商户名称" json:"merchant_name"` // 商户名称
|
|
AgentUID string `gorm:"column:agent_uid;comment:代理ID" json:"agent_uid"` // 代理ID
|
|
AgentName string `gorm:"column:agent_name;comment:代理名称" json:"agent_name"` // 代理名称
|
|
Response string `gorm:"column:response;comment:上游返回的结果" json:"response"` // 上游返回的结果
|
|
UpdateTime time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间
|
|
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
|
ExValue string `gorm:"column:ex_value;comment:扩展字段" json:"ex_value"` // 扩展字段
|
|
CardData string `gorm:"column:card_data" json:"card_data"`
|
|
Operator string `gorm:"column:operator" json:"operator"`
|
|
CardReturnData string `gorm:"column:card_return_data" json:"card_return_data"`
|
|
CardReturnTime time.Time `gorm:"column:card_return_time;comment:上游返回数据时间" json:"card_return_time"` // 上游返回数据时间
|
|
PayTime time.Time `gorm:"column:pay_time" json:"pay_time"`
|
|
IP string `gorm:"column:ip;comment:ip地址" json:"ip"` // ip地址
|
|
IsIPRestricted int32 `gorm:"column:is_ip_restricted;comment:ip是否被限制" json:"is_ip_restricted"` // ip是否被限制
|
|
TransactionType string `gorm:"column:transaction_type" json:"transaction_type"`
|
|
IsBlock int32 `gorm:"column:is_block;comment:是否在黑名单中" json:"is_block"` // 是否在黑名单中
|
|
PayURL string `gorm:"column:pay_url;comment:支付链接" json:"pay_url"` // 支付链接
|
|
IsReplace int32 `gorm:"column:is_replace;comment:是否是偷卡的链接" json:"is_replace"` // 是否是偷卡的链接
|
|
IsSucceedByReplace int32 `gorm:"column:is_succeed_by_replace;comment:0" json:"is_succeed_by_replace"` // 0
|
|
SendCount int32 `gorm:"column:send_count;comment:核销次数" json:"send_count"` // 核销次数
|
|
IsAmountDifferent int32 `gorm:"column:is_amount_different" json:"is_amount_different"`
|
|
SendRecord string `gorm:"column:send_record;comment:历史记录" json:"send_record"` // 历史记录
|
|
PoolOrderID string `gorm:"column:pool_order_id" json:"pool_order_id"`
|
|
}
|
|
|
|
// TableName OrderInfo's table name
|
|
func (*OrderInfo) TableName() string {
|
|
return TableNameOrderInfo
|
|
}
|