// =================================================================================
// 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"
)

// V1OrderSettleInfo is the golang structure for table v1order_settle_info.
type V1OrderSettleInfo struct {
	Id               uint            `json:"id"               orm:"id"                 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:"支付类型名称"`
	MerchantUid      string          `json:"merchantUid"      orm:"merchant_uid"       description:"商户uid，表示订单是哪个商户的"`
	RoadUid          string          `json:"roadUid"          orm:"road_uid"           description:"通道uid"`
	MerchantName     string          `json:"merchantName"     orm:"merchant_name"      description:"商户名称"`
	MerchantOrderId  string          `json:"merchantOrderId"  orm:"merchant_order_id"  description:"下游商户提交过来的订单id"`
	BankOrderId      string          `json:"bankOrderId"      orm:"bank_order_id"      description:"平台自身的订单id"`
	SettleAmount     decimal.Decimal `json:"settleAmount"     orm:"settle_amount"      description:"结算金额"`
	IsAllowSettle    string          `json:"isAllowSettle"    orm:"is_allow_settle"    description:"是否允许结算，允许-yes，不允许-no"`
	IsCompleteSettle string          `json:"isCompleteSettle" orm:"is_complete_settle" description:"该笔订单是否结算完毕，没有结算-no，结算完毕-yes"`
	UpdateTime       *gtime.Time     `json:"updateTime"       orm:"update_time"        description:"更新时间"`
	CreateTime       *gtime.Time     `json:"createTime"       orm:"create_time"        description:"创建时间"`
}
