mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
58 lines
7.8 KiB
Go
58 lines
7.8 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 TableNamePayforInfo = "payfor_info"
|
||
|
||
// PayforInfo 代付表
|
||
type PayforInfo struct {
|
||
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
||
PayforUID string `gorm:"column:payfor_uid;comment:代付唯一uid" json:"payfor_uid"` // 代付唯一uid
|
||
MerchantUID string `gorm:"column:merchant_uid;comment:发起代付的商户uid" json:"merchant_uid"` // 发起代付的商户uid
|
||
MerchantName string `gorm:"column:merchant_name;comment:发起代付的商户名称" json:"merchant_name"` // 发起代付的商户名称
|
||
MerchantOrderID string `gorm:"column:merchant_order_id;comment:下游代付订单id" json:"merchant_order_id"` // 下游代付订单id
|
||
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
|
||
RoadUID string `gorm:"column:road_uid;comment:所用的代付通道uid" json:"road_uid"` // 所用的代付通道uid
|
||
RoadName string `gorm:"column:road_name;comment:所有通道的名称" json:"road_name"` // 所有通道的名称
|
||
RollPoolCode string `gorm:"column:roll_pool_code;comment:所用轮询池编码" json:"roll_pool_code"` // 所用轮询池编码
|
||
RollPoolName string `gorm:"column:roll_pool_name;comment:所用轮询池的名称" json:"roll_pool_name"` // 所用轮询池的名称
|
||
PayforFee float32 `gorm:"column:payfor_fee;comment:代付手续费" json:"payfor_fee"` // 代付手续费
|
||
PayforAmount float32 `gorm:"column:payfor_amount;comment:代付到账金额" json:"payfor_amount"` // 代付到账金额
|
||
PayforTotalAmount float32 `gorm:"column:payfor_total_amount;comment:代付总金额" json:"payfor_total_amount"` // 代付总金额
|
||
BankCode string `gorm:"column:bank_code;comment:银行编码" json:"bank_code"` // 银行编码
|
||
BankName string `gorm:"column:bank_name;comment:银行名称" json:"bank_name"` // 银行名称
|
||
BankAccountName string `gorm:"column:bank_account_name;comment:银行开户名称" json:"bank_account_name"` // 银行开户名称
|
||
BankAccountNo string `gorm:"column:bank_account_no;comment:银行开户账号" json:"bank_account_no"` // 银行开户账号
|
||
BankAccountType string `gorm:"column:bank_account_type;comment:银行卡类型,对私-private,对公-public" json:"bank_account_type"` // 银行卡类型,对私-private,对公-public
|
||
Country string `gorm:"column:country;comment:开户所属国家" json:"country"` // 开户所属国家
|
||
Province string `gorm:"column:province;comment:银行卡开户所属省" json:"province"` // 银行卡开户所属省
|
||
City string `gorm:"column:city;comment:银行卡开户所属城市" json:"city"` // 银行卡开户所属城市
|
||
Ares string `gorm:"column:ares;comment:所属地区" json:"ares"` // 所属地区
|
||
BankAccountAddress string `gorm:"column:bank_account_address;comment:银行开户具体街道" json:"bank_account_address"` // 银行开户具体街道
|
||
PhoneNo string `gorm:"column:phone_no;comment:开户所用手机号" json:"phone_no"` // 开户所用手机号
|
||
GiveType string `gorm:"column:give_type;comment:下发类型,payfor_road-通道打款,payfor_hand-手动打款,payfor_refuse-拒绝打款" json:"give_type"` // 下发类型,payfor_road-通道打款,payfor_hand-手动打款,payfor_refuse-拒绝打款
|
||
Type string `gorm:"column:type;comment:代付类型,self_api-系统发下, 管理员手动下发给商户-self_merchant,管理自己提现-self_help" json:"type"` // 代付类型,self_api-系统发下, 管理员手动下发给商户-self_merchant,管理自己提现-self_help
|
||
NotifyURL string `gorm:"column:notify_url;comment:代付结果回调给下游的地址" json:"notify_url"` // 代付结果回调给下游的地址
|
||
Status string `gorm:"column:status;comment:审核-payfor_confirm,系统处理中-payfor_solving,银行处理中-payfor_banking,代付成功-success, 代付失败-failed" json:"status"` // 审核-payfor_confirm,系统处理中-payfor_solving,银行处理中-payfor_banking,代付成功-success, 代付失败-failed
|
||
IsSend string `gorm:"column:is_send;comment:未发送-no,已经发送-yes" json:"is_send"` // 未发送-no,已经发送-yes
|
||
RequestTime time.Time `gorm:"column:request_time;comment:发起请求时间" json:"request_time"` // 发起请求时间
|
||
ResponseTime string `gorm:"column:response_time;comment:上游做出响应的时间" json:"response_time"` // 上游做出响应的时间
|
||
ResponseContent string `gorm:"column:response_content;comment:代付的最终结果" json:"response_content"` // 代付的最终结果
|
||
Remark string `gorm:"column:remark;comment:代付备注" json:"remark"` // 代付备注
|
||
UpdateTime time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间
|
||
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
||
Attach string `gorm:"column:attach" json:"attach"`
|
||
}
|
||
|
||
// TableName PayforInfo's table name
|
||
func (*PayforInfo) TableName() string {
|
||
return TableNamePayforInfo
|
||
}
|