// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================

package entity

import (
	"github.com/gogf/gf/v2/os/gtime"
	"github.com/shopspring/decimal"
)

// V1OrderInfo is the golang structure for table v1order_info.
type V1OrderInfo struct {
	Id                 uint            `json:"id"                 orm:"id"                    description:"主键ID"`
	MerchantOrderId    string          `json:"merchantOrderId"    orm:"merchant_order_id"     description:"商户订单ID"`
	ShopName           string          `json:"shopName"           orm:"shop_name"             description:"商品名称"`
	OrderPeriod        string          `json:"orderPeriod"        orm:"order_period"          description:"订单有效时间"`
	BankOrderId        string          `json:"bankOrderId"        orm:"bank_order_id"         description:"系统订单ID"`
	BankTransId        string          `json:"bankTransId"        orm:"bank_trans_id"         description:"上游流水ID"`
	OrderAmount        decimal.Decimal `json:"orderAmount"        orm:"order_amount"          description:"订单提交金额"`
	ShowAmount         decimal.Decimal `json:"showAmount"         orm:"show_amount"           description:"待支付金额"`
	FactAmount         decimal.Decimal `json:"factAmount"         orm:"fact_amount"           description:"实际支付金额"`
	RollPoolCode       string          `json:"rollPoolCode"       orm:"roll_pool_code"        description:"轮询池编码"`
	RollPoolName       string          `json:"rollPoolName"       orm:"roll_pool_name"        description:"轮询池名称"`
	RoadUid            string          `json:"roadUid"            orm:"road_uid"              description:"支付通道ID"`
	RoadName           string          `json:"roadName"           orm:"road_name"             description:"支付通道名称"`
	PayProductCode     string          `json:"payProductCode"     orm:"pay_product_code"      description:"上游支付公司编码"`
	PayProductName     string          `json:"payProductName"     orm:"pay_product_name"      description:"上游支付公司名称"`
	PayTypeCode        string          `json:"payTypeCode"        orm:"pay_type_code"         description:"支付产品编码"`
	PayTypeName        string          `json:"payTypeName"        orm:"pay_type_name"         description:"支付产品名称"`
	OsType             string          `json:"osType"             orm:"os_type"               description:"操作系统类型"`
	Status             string          `json:"status"             orm:"status"                description:"订单支付状态"`
	Refund             string          `json:"refund"             orm:"refund"                description:"退款状态"`
	RefundTime         string          `json:"refundTime"         orm:"refund_time"           description:"退款操作时间"`
	Freeze             string          `json:"freeze"             orm:"freeze"                description:"冻结状态"`
	FreezeTime         string          `json:"freezeTime"         orm:"freeze_time"           description:"冻结时间"`
	Unfreeze           string          `json:"unfreeze"           orm:"unfreeze"              description:"是否已解冻"`
	UnfreezeTime       string          `json:"unfreezeTime"       orm:"unfreeze_time"         description:"解冻时间"`
	NotifyUrl          string          `json:"notifyUrl"          orm:"notify_url"            description:"回调通知地址"`
	MerchantUid        string          `json:"merchantUid"        orm:"merchant_uid"          description:"商户ID"`
	MerchantName       string          `json:"merchantName"       orm:"merchant_name"         description:"商户名称"`
	AgentUid           string          `json:"agentUid"           orm:"agent_uid"             description:"代理ID"`
	AgentName          string          `json:"agentName"          orm:"agent_name"            description:"代理名称"`
	Response           string          `json:"response"           orm:"response"              description:"上游返回的结果"`
	UpdateTime         *gtime.Time     `json:"updateTime"         orm:"update_time"           description:"更新时间"`
	CreateTime         *gtime.Time     `json:"createTime"         orm:"create_time"           description:"创建时间"`
	ExValue            string          `json:"exValue"            orm:"ex_value"              description:"扩展字段"`
	CardData           string          `json:"cardData"           orm:"card_data"             description:""`
	Operator           string          `json:"operator"           orm:"operator"              description:""`
	CardReturnData     string          `json:"cardReturnData"     orm:"card_return_data"      description:""`
	CardReturnTime     *gtime.Time     `json:"cardReturnTime"     orm:"card_return_time"      description:"上游返回数据时间"`
	PayTime            *gtime.Time     `json:"payTime"            orm:"pay_time"              description:""`
	Ip                 string          `json:"ip"                 orm:"ip"                    description:"ip地址"`
	IsIpRestricted     int             `json:"isIpRestricted"     orm:"is_ip_restricted"      description:"ip是否被限制"`
	TransactionType    string          `json:"transactionType"    orm:"transaction_type"      description:""`
	IsBlock            int             `json:"isBlock"            orm:"is_block"              description:"是否在黑名单中"`
	PayUrl             string          `json:"payUrl"             orm:"pay_url"               description:"支付链接"`
	IsReplace          int             `json:"isReplace"          orm:"is_replace"            description:"是否是偷卡的链接"`
	IsSucceedByReplace int             `json:"isSucceedByReplace" orm:"is_succeed_by_replace" description:"0"`
	SendCount          int             `json:"sendCount"          orm:"send_count"            description:"核销次数"`
	IsAmountDifferent  int             `json:"isAmountDifferent"  orm:"is_amount_different"   description:""`
	SendRecord         string          `json:"sendRecord"         orm:"send_record"           description:"历史记录"`
	PoolOrderId        string          `json:"poolOrderId"        orm:"pool_order_id"         description:""`
}
