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

package entity

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

// V1PayforInfo is the golang structure for table v1payfor_info.
type V1PayforInfo struct {
	Id                 uint        `json:"id"                 orm:"id"                   description:"主键，自增"`
	PayforUid          string      `json:"payforUid"          orm:"payfor_uid"           description:"代付唯一uid"`
	MerchantUid        string      `json:"merchantUid"        orm:"merchant_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"`
	BankTransId        string      `json:"bankTransId"        orm:"bank_trans_id"        description:"上游返回的代付订单id"`
	RoadUid            string      `json:"roadUid"            orm:"road_uid"             description:"所用的代付通道uid"`
	RoadName           string      `json:"roadName"           orm:"road_name"            description:"所有通道的名称"`
	RollPoolCode       string      `json:"rollPoolCode"       orm:"roll_pool_code"       description:"所用轮询池编码"`
	RollPoolName       string      `json:"rollPoolName"       orm:"roll_pool_name"       description:"所用轮询池的名称"`
	PayforFee          float64     `json:"payforFee"          orm:"payfor_fee"           description:"代付手续费"`
	PayforAmount       float64     `json:"payforAmount"       orm:"payfor_amount"        description:"代付到账金额"`
	PayforTotalAmount  float64     `json:"payforTotalAmount"  orm:"payfor_total_amount"  description:"代付总金额"`
	BankCode           string      `json:"bankCode"           orm:"bank_code"            description:"银行编码"`
	BankName           string      `json:"bankName"           orm:"bank_name"            description:"银行名称"`
	BankAccountName    string      `json:"bankAccountName"    orm:"bank_account_name"    description:"银行开户名称"`
	BankAccountNo      string      `json:"bankAccountNo"      orm:"bank_account_no"      description:"银行开户账号"`
	BankAccountType    string      `json:"bankAccountType"    orm:"bank_account_type"    description:"银行卡类型，对私-private，对公-public"`
	Country            string      `json:"country"            orm:"country"              description:"开户所属国家"`
	Province           string      `json:"province"           orm:"province"             description:"银行卡开户所属省"`
	City               string      `json:"city"               orm:"city"                 description:"银行卡开户所属城市"`
	Ares               string      `json:"ares"               orm:"ares"                 description:"所属地区"`
	BankAccountAddress string      `json:"bankAccountAddress" orm:"bank_account_address" description:"银行开户具体街道"`
	PhoneNo            string      `json:"phoneNo"            orm:"phone_no"             description:"开户所用手机号"`
	GiveType           string      `json:"giveType"           orm:"give_type"            description:"下发类型，payfor_road-通道打款，payfor_hand-手动打款，payfor_refuse-拒绝打款"`
	Type               string      `json:"type"               orm:"type"                 description:"代付类型，self_api-系统发下， 管理员手动下发给商户-self_merchant，管理自己提现-self_help"`
	NotifyUrl          string      `json:"notifyUrl"          orm:"notify_url"           description:"代付结果回调给下游的地址"`
	Status             string      `json:"status"             orm:"status"               description:"审核-payfor_confirm,系统处理中-payfor_solving，银行处理中-payfor_banking，代付成功-success, 代付失败-failed"`
	IsSend             string      `json:"isSend"             orm:"is_send"              description:"未发送-no，已经发送-yes"`
	RequestTime        *gtime.Time `json:"requestTime"        orm:"request_time"         description:"发起请求时间"`
	ResponseTime       string      `json:"responseTime"       orm:"response_time"        description:"上游做出响应的时间"`
	ResponseContent    string      `json:"responseContent"    orm:"response_content"     description:"代付的最终结果"`
	Remark             string      `json:"remark"             orm:"remark"               description:"代付备注"`
	UpdateTime         *gtime.Time `json:"updateTime"         orm:"update_time"          description:"更新时间"`
	CreateTime         *gtime.Time `json:"createTime"         orm:"create_time"          description:"创建时间"`
	Attach             string      `json:"attach"             orm:"attach"               description:""`
}
