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

package entity

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

// V2OrderInfo is the golang structure for table v2order_info.
type V2OrderInfo struct {
	Id              uint        `json:"id"              orm:"id"                description:"主键，自增"`
	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     float64     `json:"orderAmount"     orm:"order_amount"      description:"订单提交金额"`
	ShowAmount      float64     `json:"showAmount"      orm:"show_amount"       description:"展示在用户面前待支付的金额"`
	FactAmount      float64     `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:"通道uid"`
	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:"平台类型，苹果app-0， 安卓app-1，苹果H5-3，安卓H5-4，pc-5"`
	Status          string      `json:"status"          orm:"status"            description:"等待支付-wait,支付成功-success, 支付失败-failed"`
	Refund          string      `json:"refund"          orm:"refund"            description:"退款-yes， 没有退款-no"`
	RefundTime      string      `json:"refundTime"      orm:"refund_time"       description:"退款时间"`
	Freeze          string      `json:"freeze"          orm:"freeze"            description:"冻结-yes， 没有-no"`
	FreezeTime      string      `json:"freezeTime"      orm:"freeze_time"       description:"冻结时间"`
	Unfreeze        string      `json:"unfreeze"        orm:"unfreeze"          description:"解冻-yes，没有-no"`
	UnfreezeTime    string      `json:"unfreezeTime"    orm:"unfreeze_time"     description:"解冻时间"`
	NotifyUrl       string      `json:"notifyUrl"       orm:"notify_url"        description:"订单回调给下游的地址"`
	MerchantUid     string      `json:"merchantUid"     orm:"merchant_uid"      description:"商户uid，表示订单是哪个商户的"`
	MerchantName    string      `json:"merchantName"    orm:"merchant_name"     description:"商户名称"`
	AgentUid        string      `json:"agentUid"        orm:"agent_uid"         description:"代理uid，表示该商户是谁的代理"`
	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:""`
}
