mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
43 lines
3.6 KiB
Go
43 lines
3.6 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 TableNameMerchantInfo = "merchant_info"
|
|
|
|
// MerchantInfo 商户支付配置表
|
|
type MerchantInfo struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
|
Status string `gorm:"column:status;comment:商户状态状态" json:"status"` // 商户状态状态
|
|
BelongAgentUID string `gorm:"column:belong_agent_uid;comment:所属代理uid" json:"belong_agent_uid"` // 所属代理uid
|
|
BelongAgentName string `gorm:"column:belong_agent_name;comment:所属代理名称" json:"belong_agent_name"` // 所属代理名称
|
|
MerchantName string `gorm:"column:merchant_name;comment:商户名称" json:"merchant_name"` // 商户名称
|
|
MerchantUID string `gorm:"column:merchant_uid;comment:商户uid" json:"merchant_uid"` // 商户uid
|
|
MerchantKey string `gorm:"column:merchant_key;comment:商户key" json:"merchant_key"` // 商户key
|
|
MerchantSecret string `gorm:"column:merchant_secret;comment:商户密钥" json:"merchant_secret"` // 商户密钥
|
|
LoginAccount string `gorm:"column:login_account;comment:登录账号" json:"login_account"` // 登录账号
|
|
LoginPassword string `gorm:"column:login_password;comment:登录密码" json:"login_password"` // 登录密码
|
|
AutoSettle string `gorm:"column:auto_settle;not null;default:YES;comment:是否自动结算" json:"auto_settle"` // 是否自动结算
|
|
AutoPayFor string `gorm:"column:auto_pay_for;not null;default:YES;comment:是否自动代付" json:"auto_pay_for"` // 是否自动代付
|
|
WhiteIps string `gorm:"column:white_ips;comment:配置ip白名单" json:"white_ips"` // 配置ip白名单
|
|
Remark string `gorm:"column:remark;comment:备注" json:"remark"` // 备注
|
|
SinglePayForRoadUID string `gorm:"column:single_pay_for_road_uid;comment:单代付代付通道uid" json:"single_pay_for_road_uid"` // 单代付代付通道uid
|
|
SinglePayForRoadName string `gorm:"column:single_pay_for_road_name;comment:单代付通道名称" json:"single_pay_for_road_name"` // 单代付通道名称
|
|
RollPayForRoadCode string `gorm:"column:roll_pay_for_road_code;comment:轮询代付通道编码" json:"roll_pay_for_road_code"` // 轮询代付通道编码
|
|
RollPayForRoadName string `gorm:"column:roll_pay_for_road_name;comment:轮询代付通道名称" json:"roll_pay_for_road_name"` // 轮询代付通道名称
|
|
PayforFee float32 `gorm:"column:payfor_fee;comment:代付手续费" json:"payfor_fee"` // 代付手续费
|
|
UpdateTime time.Time `gorm:"column:update_time;comment:更新时间" json:"update_time"` // 更新时间
|
|
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
|
OtpSecret string `gorm:"column:otp_secret;comment:二次验证" json:"otp_secret"` // 二次验证
|
|
}
|
|
|
|
// TableName MerchantInfo's table name
|
|
func (*MerchantInfo) TableName() string {
|
|
return TableNameMerchantInfo
|
|
}
|