Documentation ¶
Index ¶
- Constants
- type CasbinRule
- type HTTPRequestLog
- type MqQueueConfig
- type PayAdmin
- type PayAdminLoginLog
- type PayAdminRole
- type PayAdminRule
- type PayAgent
- type PayAgentAccount
- type PayAgentAccountChange
- type PayAgentAccountChangeArchive001
- type PayAgentBankcard
- type PayAgentCharge
- type PayAgentLoginLog
- type PayAgentRole
- type PayAgentRule
- type PayAgentWithdrawlConfig
- type PayAgentWithdrawlOrder
- type PayBankaccountInfo
- type PayChannelBankcard
- type PayChannelBankcardRiskcontrol
- type PayChannelBankcardStatistic
- type PayComplaintOrder
- type PayConfigure
- type PayExportTask
- type PayInaccountInfo
- type PayMerchant
- type PayMerchantAccount
- type PayMerchantAccountChange
- type PayMerchantAccountChangeArchive001
- type PayMerchantAccountSnapshot
- type PayMerchantBankcard
- type PayMerchantCharge
- type PayMerchantLoginLog
- type PayMerchantNotify
- type PayMerchantOauth
- type PayMerchantQueueConfig
- type PayMerchantRechargeConfig
- type PayMerchantRechargeOrder
- type PayMerchantRiskcontrol
- type PayMerchantRole
- type PayMerchantRule
- type PayMerchantStatistic
- type PayMerchantTag
- type PayMerchantWithdrawlConfig
- type PayMerchantWithdrawlOrder
- type PayOrderLog
- type PayOutaccount
- type PayPaymentAgentDaily
- type PayPaymentMerchantDaily
- type PayPaymentProductDaily
- type PayPayoutAgentDaily
- type PayPayoutMerchantDaily
- type PayPayoutProductDaily
- type PayProduct
- type PayProductAccount
- type PayProductAccountCharge
- type PayProductAccountRiskcontrol
- type PayProductAccountStatistic
- type PayProductCharge
- type PayProductMerchant
- type PayProductMerchantAccount
- type PayProductMerchantCharge
- type PayProductQueueConfig
- type PayProductRiskcontrol
- type PayProductStatistic
- type PayProductSupplier
- type PayProductSupplierCharge
- type PaySupplier
- type PaySupplierAccount
- type PaySupplierAccountChange
- type PaySupplierBankcard
- type PaySupplierCharge
- type PaySupplierLoginLog
- type PaySupplierProduct
- type PaySupplierRechargeConfig
- type PaySupplierRechargeOrder
- type PaySupplierRiskcontrol
- type PaySupplierRole
- type PaySupplierRule
- type PaySupplierStatistic
- type PaySupplierWithdrawlConfig
- type PaySupplierWithdrawlOrder
- type PaySystemAccount
- type PaySystemAccountChange
- type PaySystemBankcard
- type PaySystemBankcardRiskcontrol
- type PaySystemBankcardStatistic
- type PayTag
- type PayTelegram
- type PaymentArchiveInfo
- type PaymentOrder
- type PaymentOrderArchive001
- type PaymentOrderArchive002
- type PaymentOrderArchive003
- type PaymentOrderArchive004
- type PaymentOrderArchive005
- type PaymentOrderArchive006
- type PaymentOrderArchive007
- type PaymentOrderArchive008
- type PaymentOrderArchive009
- type PaymentOrderArchive010
- type PaymentOrderArchive230213063039
- type PaymentOrderArchive230309021340
- type PaymentOrderArchive230320135297
- type PaymentOrderArchive230405013425
- type PaymentOrderArchive230418185297
- type PaymentOrderArchive230427203000
- type PaymentOrderArchive230503003399
- type PaymentOrderArchive230504104353
- type PaymentOrderArchive230510150071
- type PaymentOrderArchive230517042080
- type PaymentOrderArchive230524212170
- type PaymentOrderArchive230531193678
- type PaymentOrderArchive230713172724
- type PaymentOrderArchive230714132700
- type PaymentOrderArchive230715092714
- type PaymentOrderArchive230722163072
- type PaymentOrderArchive230729210933
- type PaymentOrderArchive230804152619
- type PaymentOrderArchive230809235992
- type PaymentOrderArchive230811112569
- type PaymentOrderArchive230812072505
- type PaymentOrderArchive230813034849
- type PaymentOrderArchive230813235976
- type PaymentOrderArchive230815194017
- type PaymentOrderArchive230816200050
- type PaymentOrderArchive230817160697
- type PaymentOrderArchive230819200923
- type PaymentOrderArchive230822044851
- type PaymentOrderArchive230824213057
- type PaymentOrderArchive230827023460
- type PaymentOrderArchive230829034728
- type PaymentOrderArchive230831002681
- type PaymentOrderArchive230901225964
- type PaymentOrderArchive230903211786
- type PaymentOrderArchive230906074367
- type PaymentOrderArchive230909045310
- type PaymentOrderCache
- type PaymentOrderHistory
- type PaymentOrderHistoryBack
- type PaymentOrderIndex
- type PaymentOrderResult
- type PaymentOrderResultHistory
- type PayoutArchiveInfo
- type PayoutOrder
- type PayoutOrderArchive001
- type PayoutOrderArchive002
- type PayoutOrderArchive230213063066
- type PayoutOrderArchive230213063067
- type PayoutOrderArchive230503083213
- type PayoutOrderArchive230531130695
- type PayoutOrderArchive230719134828
- type PayoutOrderArchive230810112340
- type PayoutOrderArchive230816024683
- type PayoutOrderArchive230824092729
- type PayoutOrderArchive230902200490
- type PayoutOrderCache
- type PayoutOrderConfirm
- type PayoutOrderFinish
- type PayoutOrderHistory
- type PayoutOrderIndex
- type PayoutOrderResult
- type PayoutOrderResultHistory
- type RoleMenu
- type SchemaMigration
- type SysAPI
- type SysMenu
- type SysRole
- type UserRole
Constants ¶
const TableNameCasbinRule = "casbin_rules"
const TableNameHTTPRequestLog = "http_request_log"
const TableNameMqQueueConfig = "mq_queue_config"
const TableNamePayAdmin = "pay_admin"
const TableNamePayAdminLoginLog = "pay_admin_login_log"
const TableNamePayAdminRole = "pay_admin_role"
const TableNamePayAdminRule = "pay_admin_rule"
const TableNamePayAgent = "pay_agent"
const TableNamePayAgentAccount = "pay_agent_account"
const TableNamePayAgentAccountChange = "pay_agent_account_change"
const TableNamePayAgentAccountChangeArchive001 = "pay_agent_account_change_archive_001"
const TableNamePayAgentBankcard = "pay_agent_bankcard"
const TableNamePayAgentCharge = "pay_agent_charge"
const TableNamePayAgentLoginLog = "pay_agent_login_log"
const TableNamePayAgentRole = "pay_agent_role"
const TableNamePayAgentRule = "pay_agent_rule"
const TableNamePayAgentWithdrawlConfig = "pay_agent_withdrawl_config"
const TableNamePayAgentWithdrawlOrder = "pay_agent_withdrawl_order"
const TableNamePayBankaccountInfo = "pay_bankaccount_info"
const TableNamePayChannelBankcard = "pay_channel_bankcard"
const TableNamePayChannelBankcardRiskcontrol = "pay_channel_bankcard_riskcontrol"
const TableNamePayChannelBankcardStatistic = "pay_channel_bankcard_statistics"
const TableNamePayComplaintOrder = "pay_complaint_order"
const TableNamePayConfigure = "pay_configure"
const TableNamePayExportTask = "pay_export_task"
const TableNamePayInaccountInfo = "pay_inaccount_info"
const TableNamePayMerchant = "pay_merchant"
const TableNamePayMerchantAccount = "pay_merchant_account"
const TableNamePayMerchantAccountChange = "pay_merchant_account_change"
const TableNamePayMerchantAccountChangeArchive001 = "pay_merchant_account_change_archive_001"
const TableNamePayMerchantAccountSnapshot = "pay_merchant_account_snapshot"
const TableNamePayMerchantBankcard = "pay_merchant_bankcard"
const TableNamePayMerchantCharge = "pay_merchant_charge"
const TableNamePayMerchantLoginLog = "pay_merchant_login_log"
const TableNamePayMerchantNotify = "pay_merchant_notify"
const TableNamePayMerchantOauth = "pay_merchant_oauth"
const TableNamePayMerchantQueueConfig = "pay_merchant_queue_config"
const TableNamePayMerchantRechargeConfig = "pay_merchant_recharge_config"
const TableNamePayMerchantRechargeOrder = "pay_merchant_recharge_order"
const TableNamePayMerchantRiskcontrol = "pay_merchant_riskcontrol"
const TableNamePayMerchantRole = "pay_merchant_role"
const TableNamePayMerchantRule = "pay_merchant_rule"
const TableNamePayMerchantStatistic = "pay_merchant_statistics"
const TableNamePayMerchantTag = "pay_merchant_tags"
const TableNamePayMerchantWithdrawlConfig = "pay_merchant_withdrawl_config"
const TableNamePayMerchantWithdrawlOrder = "pay_merchant_withdrawl_order"
const TableNamePayOrderLog = "pay_order_log"
const TableNamePayOutaccount = "pay_outaccount"
const TableNamePayPaymentAgentDaily = "pay_payment_agent_daily"
const TableNamePayPaymentMerchantDaily = "pay_payment_merchant_daily"
const TableNamePayPaymentProductDaily = "pay_payment_product_daily"
const TableNamePayPayoutAgentDaily = "pay_payout_agent_daily"
const TableNamePayPayoutMerchantDaily = "pay_payout_merchant_daily"
const TableNamePayPayoutProductDaily = "pay_payout_product_daily"
const TableNamePayProduct = "pay_product"
const TableNamePayProductAccount = "pay_product_account"
const TableNamePayProductAccountCharge = "pay_product_account_charge"
const TableNamePayProductAccountRiskcontrol = "pay_product_account_riskcontrol"
const TableNamePayProductAccountStatistic = "pay_product_account_statistics"
const TableNamePayProductCharge = "pay_product_charge"
const TableNamePayProductMerchant = "pay_product_merchant"
const TableNamePayProductMerchantAccount = "pay_product_merchant_account"
const TableNamePayProductMerchantCharge = "pay_product_merchant_charge"
const TableNamePayProductQueueConfig = "pay_product_queue_config"
const TableNamePayProductRiskcontrol = "pay_product_riskcontrol"
const TableNamePayProductStatistic = "pay_product_statistics"
const TableNamePayProductSupplier = "pay_product_supplier"
const TableNamePayProductSupplierCharge = "pay_product_supplier_charge"
const TableNamePaySupplier = "pay_supplier"
const TableNamePaySupplierAccount = "pay_supplier_account"
const TableNamePaySupplierAccountChange = "pay_supplier_account_change"
const TableNamePaySupplierBankcard = "pay_supplier_bankcard"
const TableNamePaySupplierCharge = "pay_supplier_charge"
const TableNamePaySupplierLoginLog = "pay_supplier_login_log"
const TableNamePaySupplierProduct = "pay_supplier_product"
const TableNamePaySupplierRechargeConfig = "pay_supplier_recharge_config"
const TableNamePaySupplierRechargeOrder = "pay_supplier_recharge_order"
const TableNamePaySupplierRiskcontrol = "pay_supplier_riskcontrol"
const TableNamePaySupplierRole = "pay_supplier_role"
const TableNamePaySupplierRule = "pay_supplier_rule"
const TableNamePaySupplierStatistic = "pay_supplier_statistics"
const TableNamePaySupplierWithdrawlConfig = "pay_supplier_withdrawl_config"
const TableNamePaySupplierWithdrawlOrder = "pay_supplier_withdrawl_order"
const TableNamePaySystemAccount = "pay_system_account"
const TableNamePaySystemAccountChange = "pay_system_account_change"
const TableNamePaySystemBankcard = "pay_system_bankcard"
const TableNamePaySystemBankcardRiskcontrol = "pay_system_bankcard_riskcontrol"
const TableNamePaySystemBankcardStatistic = "pay_system_bankcard_statistics"
const TableNamePayTag = "pay_tags"
const TableNamePayTelegram = "pay_telegram"
const TableNamePaymentArchiveInfo = "payment_archive_info"
const TableNamePaymentOrder = "payment_order"
const TableNamePaymentOrderArchive001 = "payment_order_archive_001"
const TableNamePaymentOrderArchive002 = "payment_order_archive_002"
const TableNamePaymentOrderArchive003 = "payment_order_archive_003"
const TableNamePaymentOrderArchive004 = "payment_order_archive_004"
const TableNamePaymentOrderArchive005 = "payment_order_archive_005"
const TableNamePaymentOrderArchive006 = "payment_order_archive_006"
const TableNamePaymentOrderArchive007 = "payment_order_archive_007"
const TableNamePaymentOrderArchive008 = "payment_order_archive_008"
const TableNamePaymentOrderArchive009 = "payment_order_archive_009"
const TableNamePaymentOrderArchive010 = "payment_order_archive_010"
const TableNamePaymentOrderArchive230213063039 = "payment_order_archive_230213063039"
const TableNamePaymentOrderArchive230309021340 = "payment_order_archive_230309021340"
const TableNamePaymentOrderArchive230320135297 = "payment_order_archive_230320135297"
const TableNamePaymentOrderArchive230405013425 = "payment_order_archive_230405013425"
const TableNamePaymentOrderArchive230418185297 = "payment_order_archive_230418185297"
const TableNamePaymentOrderArchive230427203000 = "payment_order_archive_230427203000"
const TableNamePaymentOrderArchive230503003399 = "payment_order_archive_230503003399"
const TableNamePaymentOrderArchive230504104353 = "payment_order_archive_230504104353"
const TableNamePaymentOrderArchive230510150071 = "payment_order_archive_230510150071"
const TableNamePaymentOrderArchive230517042080 = "payment_order_archive_230517042080"
const TableNamePaymentOrderArchive230524212170 = "payment_order_archive_230524212170"
const TableNamePaymentOrderArchive230531193678 = "payment_order_archive_230531193678"
const TableNamePaymentOrderArchive230713172724 = "payment_order_archive_230713172724"
const TableNamePaymentOrderArchive230714132700 = "payment_order_archive_230714132700"
const TableNamePaymentOrderArchive230715092714 = "payment_order_archive_230715092714"
const TableNamePaymentOrderArchive230722163072 = "payment_order_archive_230722163072"
const TableNamePaymentOrderArchive230729210933 = "payment_order_archive_230729210933"
const TableNamePaymentOrderArchive230804152619 = "payment_order_archive_230804152619"
const TableNamePaymentOrderArchive230809235992 = "payment_order_archive_230809235992"
const TableNamePaymentOrderArchive230811112569 = "payment_order_archive_230811112569"
const TableNamePaymentOrderArchive230812072505 = "payment_order_archive_230812072505"
const TableNamePaymentOrderArchive230813034849 = "payment_order_archive_230813034849"
const TableNamePaymentOrderArchive230813235976 = "payment_order_archive_230813235976"
const TableNamePaymentOrderArchive230815194017 = "payment_order_archive_230815194017"
const TableNamePaymentOrderArchive230816200050 = "payment_order_archive_230816200050"
const TableNamePaymentOrderArchive230817160697 = "payment_order_archive_230817160697"
const TableNamePaymentOrderArchive230819200923 = "payment_order_archive_230819200923"
const TableNamePaymentOrderArchive230822044851 = "payment_order_archive_230822044851"
const TableNamePaymentOrderArchive230824213057 = "payment_order_archive_230824213057"
const TableNamePaymentOrderArchive230827023460 = "payment_order_archive_230827023460"
const TableNamePaymentOrderArchive230829034728 = "payment_order_archive_230829034728"
const TableNamePaymentOrderArchive230831002681 = "payment_order_archive_230831002681"
const TableNamePaymentOrderArchive230901225964 = "payment_order_archive_230901225964"
const TableNamePaymentOrderArchive230903211786 = "payment_order_archive_230903211786"
const TableNamePaymentOrderArchive230906074367 = "payment_order_archive_230906074367"
const TableNamePaymentOrderArchive230909045310 = "payment_order_archive_230909045310"
const TableNamePaymentOrderCache = "payment_order_cache"
const TableNamePaymentOrderHistory = "payment_order_history"
const TableNamePaymentOrderHistoryBack = "payment_order_history_back"
const TableNamePaymentOrderIndex = "payment_order_index"
const TableNamePaymentOrderResult = "payment_order_result"
const TableNamePaymentOrderResultHistory = "payment_order_result_history"
const TableNamePayoutArchiveInfo = "payout_archive_info"
const TableNamePayoutOrder = "payout_order"
const TableNamePayoutOrderArchive001 = "payout_order_archive_001"
const TableNamePayoutOrderArchive002 = "payout_order_archive_002"
const TableNamePayoutOrderArchive230213063066 = "payout_order_archive_230213063066"
const TableNamePayoutOrderArchive230213063067 = "payout_order_archive_230213063067"
const TableNamePayoutOrderArchive230503083213 = "payout_order_archive_230503083213"
const TableNamePayoutOrderArchive230531130695 = "payout_order_archive_230531130695"
const TableNamePayoutOrderArchive230719134828 = "payout_order_archive_230719134828"
const TableNamePayoutOrderArchive230810112340 = "payout_order_archive_230810112340"
const TableNamePayoutOrderArchive230816024683 = "payout_order_archive_230816024683"
const TableNamePayoutOrderArchive230824092729 = "payout_order_archive_230824092729"
const TableNamePayoutOrderArchive230902200490 = "payout_order_archive_230902200490"
const TableNamePayoutOrderCache = "payout_order_cache"
const TableNamePayoutOrderConfirm = "payout_order_confirm"
const TableNamePayoutOrderFinish = "payout_order_finish"
const TableNamePayoutOrderHistory = "payout_order_history"
const TableNamePayoutOrderIndex = "payout_order_index"
const TableNamePayoutOrderResult = "payout_order_result"
const TableNamePayoutOrderResultHistory = "payout_order_result_history"
const TableNameRoleMenu = "role_menus"
const TableNameSchemaMigration = "schema_migrations"
const TableNameSysAPI = "sys_apis"
const TableNameSysMenu = "sys_menus"
const TableNameSysRole = "sys_roles"
const TableNameUserRole = "user_roles"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CasbinRule ¶
type CasbinRule struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` Ptype string `gorm:"column:ptype;not null" json:"ptype"` V0 string `gorm:"column:v0;not null" json:"v0"` V1 string `gorm:"column:v1;not null" json:"v1"` V2 string `gorm:"column:v2;not null" json:"v2"` V3 string `gorm:"column:v3;not null" json:"v3"` V4 string `gorm:"column:v4;not null" json:"v4"` V5 string `gorm:"column:v5;not null" json:"v5"` }
CasbinRule mapped from table <casbin_rules>
func (*CasbinRule) TableName ¶
func (*CasbinRule) TableName() string
TableName CasbinRule's table name
type HTTPRequestLog ¶
type HTTPRequestLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Method string `gorm:"column:method;default:GET;comment:请求方式" json:"method"` // 请求方式 URL string `gorm:"column:url;comment:请求 url" json:"url"` // 请求 url Params string `gorm:"column:params;comment:请求参数 (query/body)" json:"params"` // 请求参数 (query/body) Result datatypes.JSON `gorm:"column:result;comment:返回内容" json:"result"` // 返回内容 Device string `gorm:"column:device;comment:设备:chrome||xxx, android, ios, mac, windows" json:"device"` // 设备:chrome||xxx, android, ios, mac, windows DeviceVersion string `gorm:"column:device_version;comment:设备版本号" json:"device_version"` // 设备版本号 Os string `gorm:"column:os;comment:操作系统" json:"os"` // 操作系统 OsVersion string `gorm:"column:os_version;comment:系统版本号" json:"os_version"` // 系统版本号 IP string `gorm:"column:ip;comment:ip" json:"ip"` // ip UserPid int64 `gorm:"column:user_pid;comment:用户主 ID" json:"user_pid"` // 用户主 ID UserID int64 `gorm:"column:user_id;comment:用户 ID" json:"user_id"` // 用户 ID UserType string `gorm:"column:user_type;comment:用户类型" json:"user_type"` // 用户类型 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
HTTPRequestLog mapped from table <http_request_log>
func (*HTTPRequestLog) TableName ¶
func (*HTTPRequestLog) TableName() string
TableName HTTPRequestLog's table name
type MqQueueConfig ¶
type MqQueueConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // Create Time | 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // Update Time | 修改日期 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Status int64 `gorm:"column:status;default:1;comment:Status 1 : normal 2 : ban | 状态 1 正常 2 禁用" json:"status"` // Status 1 : normal 2 : ban | 状态 1 正常 2 禁用 Code string `gorm:"column:code;not null;comment:Queue Code | 队列编号,eg: 0001, 0002,0003" json:"code"` // Queue Code | 队列编号,eg: 0001, 0002,0003 QueueType string `` // queue type | 队列类型,default: 默认(老队列),shared: 共享(Hash 分流),exclusive(独享) /* 192-byte string literal not displayed */ BizType string `` // Queue Business Type | 队列业务类型,payment: 代收,payout: 代付,order: 代收 + 代付 /* 156-byte string literal not displayed */ TaskType string `` // Queue Task Type | 任务类型,payout_async: 代付异步处理,settlement: 结算,channel_webhook: 上游回调,merchant_webhook: 商户回调 /* 209-byte string literal not displayed */ Name string `` // Queue Name | 队列名称,{biz_type}.{task_type}.{queue_type}.{code}, eg: order.settlement.exclusive.0001 /* 155-byte string literal not displayed */ }
MqQueueConfig mapped from table <mq_queue_config>
func (*MqQueueConfig) TableName ¶
func (*MqQueueConfig) TableName() string
TableName MqQueueConfig's table name
type PayAdmin ¶
type PayAdmin struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MasterID int64 `gorm:"column:master_id;comment:主 ID" json:"master_id"` // 主 ID Username string `gorm:"column:username;not null;comment:用户名" json:"username"` // 用户名 Nickname string `gorm:"column:nickname;not null;comment:昵称" json:"nickname"` // 昵称 Alias_ string `gorm:"column:alias;not null;comment:别名" json:"alias"` // 别名 Password string `gorm:"column:password;not null;comment:密码" json:"password"` // 密码 Phone string `gorm:"column:phone;not null;comment:手机号" json:"phone"` // 手机号 Email string `gorm:"column:email;not null;comment:电子邮箱" json:"email"` // 电子邮箱 Hashcode string `gorm:"column:hashcode;not null;comment:唯一标识符" json:"hashcode"` // 唯一标识符 SubSuffix string `gorm:"column:sub_suffix;not null;comment:域名前缀" json:"sub_suffix"` // 域名前缀 Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像 Status int64 `gorm:"column:status;not null;default:1;comment:帐号状态:1 启用,2 停用" json:"status"` // 帐号状态:1 启用,2 停用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 Roles string `gorm:"column:roles;not null;comment:角色 ID 拼接字符串" json:"roles"` // 角色 ID 拼接字符串 Token string `gorm:"column:token;not null;comment:用户鉴权字符串" json:"token"` // 用户鉴权字符串 F2a string `gorm:"column:f2a;not null;comment:用户二次认证" json:"f2a"` // 用户二次认证 F2aEnable int64 `gorm:"column:f2a_enable;not null;default:2;comment:二次认证强制开启:1 启用,2 禁用" json:"f2a_enable"` // 二次认证强制开启:1 启用,2 禁用 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ErrorCount int64 `gorm:"column:error_count;not null;comment:错误次数" json:"error_count"` // 错误次数 }
PayAdmin mapped from table <pay_admin>
type PayAdminLoginLog ¶
type PayAdminLoginLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AdminID int64 `gorm:"column:admin_id;not null;comment:管理员 id" json:"admin_id"` // 管理员 id Device string `gorm:"column:device;comment:登录设备" json:"device"` // 登录设备 DeviceVersion string `gorm:"column:device_version;comment:设备版本号" json:"device_version"` // 设备版本号 Os string `gorm:"column:os;comment:操作系统" json:"os"` // 操作系统 OsVersion string `gorm:"column:os_version;comment:系统版本号" json:"os_version"` // 系统版本号 IP string `gorm:"column:ip;comment:登录 ip" json:"ip"` // 登录 ip CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 登录时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAdminLoginLog mapped from table <pay_admin_login_log>
func (*PayAdminLoginLog) TableName ¶
func (*PayAdminLoginLog) TableName() string
TableName PayAdminLoginLog's table name
type PayAdminRole ¶
type PayAdminRole struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Code string `gorm:"column:code;not null;comment:编码" json:"code"` // 编码 Rules string `gorm:"column:rules;not null;comment:权限 ID 拼接字符串" json:"rules"` // 权限 ID 拼接字符串 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,0 禁用" json:"status"` // 状态:1 启用,0 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Default int64 `gorm:"column:_default;not null;comment:缺省状态:0 无,1 缺省|不可删" json:"_default"` // 缺省状态:0 无,1 缺省|不可删 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAdminRole mapped from table <pay_admin_role>
func (*PayAdminRole) TableName ¶
func (*PayAdminRole) TableName() string
TableName PayAdminRole's table name
type PayAdminRule ¶
type PayAdminRule struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:父 id" json:"pid"` // 父 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Icon string `gorm:"column:icon;not null;comment:图标" json:"icon"` // 图标 URL string `gorm:"column:url;not null;comment:路由地址 (页面或外链)" json:"url"` // 路由地址 (页面或外链) Code string `gorm:"column:code;not null;comment:权限标识码" json:"code"` // 权限标识码 Type int64 `gorm:"column:type;not null;default:1;comment:类型:1 目录,2 菜单,3 按钮" json:"type"` // 类型:1 目录,2 菜单,3 按钮 LinkStatus int64 `gorm:"column:link_status;not null;comment:外链状态:1 外链,0 内部" json:"link_status"` // 外链状态:1 外链,0 内部 HideStatus int64 `gorm:"column:hide_status;not null;comment:隐藏状态:1 隐藏,0 展示" json:"hide_status"` // 隐藏状态:1 隐藏,0 展示 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,0 禁用" json:"status"` // 状态:1 启用,0 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAdminRule mapped from table <pay_admin_rule>
func (*PayAdminRule) TableName ¶
func (*PayAdminRule) TableName() string
TableName PayAdminRule's table name
type PayAgent ¶
type PayAgent struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:推荐人" json:"pid"` // 推荐人 MasterID int64 `gorm:"column:master_id;comment:主 ID" json:"master_id"` // 主 ID Username string `gorm:"column:username;not null;comment:用户名" json:"username"` // 用户名 Nickname string `gorm:"column:nickname;not null;comment:昵称" json:"nickname"` // 昵称 Password string `gorm:"column:password;not null;comment:密码" json:"password"` // 密码 Invitecode string `gorm:"column:invitecode;not null;comment:邀请码" json:"invitecode"` // 邀请码 Alias_ string `gorm:"column:alias;not null;comment:别名" json:"alias"` // 别名 Phone string `gorm:"column:phone;not null;comment:手机号" json:"phone"` // 手机号 Email string `gorm:"column:email;not null;comment:电子邮箱" json:"email"` // 电子邮箱 Hashcode string `gorm:"column:hashcode;not null;comment:唯一标识符" json:"hashcode"` // 唯一标识符 SubSuffix string `gorm:"column:sub_suffix;not null;comment:域名前缀" json:"sub_suffix"` // 域名前缀 Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像 Status int64 `gorm:"column:status;not null;default:1;comment:帐号状态:1 启用,2 停用" json:"status"` // 帐号状态:1 启用,2 停用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 Roles string `gorm:"column:roles;not null;comment:角色 ID 拼接字符串" json:"roles"` // 角色 ID 拼接字符串 Token string `gorm:"column:token;not null;comment:用户鉴权字符串" json:"token"` // 用户鉴权字符串 F2a string `gorm:"column:f2a;not null;comment:用户二次认证" json:"f2a"` // 用户二次认证 F2aEnable int64 `gorm:"column:f2a_enable;not null;default:2;comment:二次认证强制开启:1 启用,2 禁用" json:"f2a_enable"` // 二次认证强制开启:1 启用,2 禁用 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ErrorCount int64 `gorm:"column:error_count;not null;comment:错误次数" json:"error_count"` // 错误次数 }
PayAgent mapped from table <pay_agent>
type PayAgentAccount ¶
type PayAgentAccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额" json:"balance"` // 可用余额 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结余额" json:"frozen"` // 冻结余额 Profit float64 `gorm:"column:profit;not null;default:0.0000;comment:收益余额" json:"profit"` // 收益余额 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentAccount mapped from table <pay_agent_account>
func (*PayAgentAccount) TableName ¶
func (*PayAgentAccount) TableName() string
TableName PayAgentAccount's table name
type PayAgentAccountChange ¶
type PayAgentAccountChange struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额快照" json:"balance"` // 可用余额快照 Deposit float64 `gorm:"column:deposit;not null;default:0.0000;comment:代付余额快照" json:"deposit"` // 代付余额快照 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结快照" json:"frozen"` // 冻结快照 Profit float64 `gorm:"column:profit;not null;default:0.0000;comment:收益快照" json:"profit"` // 收益快照 Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:变动金额" json:"amount"` // 变动金额 Source int64 `` // 变动来源:1 交易,2 充值,3 提现,4 推荐返佣,5 盈利划转,7 投诉冻结 /* 158-byte string literal not displayed */ Type int64 `gorm:"column:type;not null;default:1;comment:变动类型:1 余额,2 盈利" json:"type"` // 变动类型:1 余额,2 盈利 Way int64 `gorm:"column:way;not null;default:1;comment:变动方向:1 增加,2 减少" json:"way"` // 变动方向:1 增加,2 减少 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 冻结,2 已入账,3 已撤销" json:"status"` // 状态:1 冻结,2 已入账,3 已撤销 OrderNo string `gorm:"column:order_no;not null;comment:关联系统订单号" json:"order_no"` // 关联系统订单号 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentAccountChange mapped from table <pay_agent_account_change>
func (*PayAgentAccountChange) TableName ¶
func (*PayAgentAccountChange) TableName() string
TableName PayAgentAccountChange's table name
type PayAgentAccountChangeArchive001 ¶
type PayAgentAccountChangeArchive001 struct { ID int64 `gorm:"column:id;not null;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额快照" json:"balance"` // 可用余额快照 Deposit float64 `gorm:"column:deposit;not null;default:0.0000;comment:代付余额快照" json:"deposit"` // 代付余额快照 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结快照" json:"frozen"` // 冻结快照 Profit float64 `gorm:"column:profit;not null;default:0.0000;comment:收益快照" json:"profit"` // 收益快照 Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:变动金额" json:"amount"` // 变动金额 Source int64 `` // 变动来源:1 交易,2 充值,3 提现,4 推荐返佣,5 盈利划转 /* 141-byte string literal not displayed */ Type int64 `gorm:"column:type;not null;default:1;comment:变动类型:1 余额,2 盈利" json:"type"` // 变动类型:1 余额,2 盈利 Way int64 `gorm:"column:way;not null;default:1;comment:变动方向:1 增加,2 减少" json:"way"` // 变动方向:1 增加,2 减少 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 冻结,2 已入账,3 已撤销" json:"status"` // 状态:1 冻结,2 已入账,3 已撤销 OrderNo string `gorm:"column:order_no;not null;comment:关联系统订单号" json:"order_no"` // 关联系统订单号 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentAccountChangeArchive001 mapped from table <pay_agent_account_change_archive_001>
func (*PayAgentAccountChangeArchive001) TableName ¶
func (*PayAgentAccountChangeArchive001) TableName() string
TableName PayAgentAccountChangeArchive001's table name
type PayAgentBankcard ¶
type PayAgentBankcard struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentBankcard mapped from table <pay_agent_bankcard>
func (*PayAgentBankcard) TableName ¶
func (*PayAgentBankcard) TableName() string
TableName PayAgentBankcard's table name
type PayAgentCharge ¶
type PayAgentCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id PaymentServiceCharge float64 `` // 代理平台代收交易服务费 (单笔) /* 139-byte string literal not displayed */ PaymentTradeRate float64 `gorm:"column:payment_trade_rate;not null;default:0.000000;comment:代理平台代收交易费率" json:"payment_trade_rate"` // 代理平台代收交易费率 PayoutServiceCharge float64 `` // 代理平台代付交易服务费 (单笔) /* 137-byte string literal not displayed */ PayoutTradeRate float64 `gorm:"column:payout_trade_rate;not null;default:0.000000;comment:代理平台代付交易费率" json:"payout_trade_rate"` // 代理平台代付交易费率 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentCharge mapped from table <pay_agent_charge>
func (*PayAgentCharge) TableName ¶
func (*PayAgentCharge) TableName() string
TableName PayAgentCharge's table name
type PayAgentLoginLog ¶
type PayAgentLoginLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id Device string `gorm:"column:device;comment:登录设备" json:"device"` // 登录设备 DeviceVersion string `gorm:"column:device_version;comment:设备版本号" json:"device_version"` // 设备版本号 Os string `gorm:"column:os;comment:操作系统" json:"os"` // 操作系统 OsVersion string `gorm:"column:os_version;comment:系统版本号" json:"os_version"` // 系统版本号 IP string `gorm:"column:ip;comment:登录 ip" json:"ip"` // 登录 ip CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 登录时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentLoginLog mapped from table <pay_agent_login_log>
func (*PayAgentLoginLog) TableName ¶
func (*PayAgentLoginLog) TableName() string
TableName PayAgentLoginLog's table name
type PayAgentRole ¶
type PayAgentRole struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;comment:代理 id" json:"agent_id"` // 代理 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Code string `gorm:"column:code;not null;comment:编码" json:"code"` // 编码 Rules string `gorm:"column:rules;not null;comment:权限 ID 拼接字符串" json:"rules"` // 权限 ID 拼接字符串 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 禁用" json:"status"` // 状态:1 启用,2 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Default int64 `gorm:"column:_default;not null;comment:缺省状态:0 无,1 缺省|不可删" json:"_default"` // 缺省状态:0 无,1 缺省|不可删 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentRole mapped from table <pay_agent_role>
func (*PayAgentRole) TableName ¶
func (*PayAgentRole) TableName() string
TableName PayAgentRole's table name
type PayAgentRule ¶
type PayAgentRule struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:父 id" json:"pid"` // 父 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Icon string `gorm:"column:icon;not null;comment:图标" json:"icon"` // 图标 URL string `gorm:"column:url;not null;comment:路由地址 (页面或外链)" json:"url"` // 路由地址 (页面或外链) Code string `gorm:"column:code;not null;comment:权限标识码" json:"code"` // 权限标识码 Type int64 `gorm:"column:type;not null;default:1;comment:类型:1 目录,2 菜单,3 按钮" json:"type"` // 类型:1 目录,2 菜单,3 按钮 LinkStatus int64 `gorm:"column:link_status;not null;comment:外链状态:1 外链,0 内部" json:"link_status"` // 外链状态:1 外链,0 内部 HideStatus int64 `gorm:"column:hide_status;not null;comment:隐藏状态:1 隐藏,0 展示" json:"hide_status"` // 隐藏状态:1 隐藏,0 展示 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 禁用" json:"status"` // 状态:1 启用,2 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentRule mapped from table <pay_agent_rule>
func (*PayAgentRule) TableName ¶
func (*PayAgentRule) TableName() string
TableName PayAgentRule's table name
type PayAgentWithdrawlConfig ¶
type PayAgentWithdrawlConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:提现手续费率" json:"trade_rate"` // 提现手续费率 ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:提现服务费" json:"service_charge"` // 提现服务费 StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大交易笔数" json:"day_max_count"` // 单日最大交易笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 SettleMethod int64 `gorm:"column:settle_method;not null;default:1;comment:结算周期:1T0,2T1" json:"settle_method"` // 结算周期:1T0,2T1 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentWithdrawlConfig mapped from table <pay_agent_withdrawl_config>
func (*PayAgentWithdrawlConfig) TableName ¶
func (*PayAgentWithdrawlConfig) TableName() string
TableName PayAgentWithdrawlConfig's table name
type PayAgentWithdrawlOrder ¶
type PayAgentWithdrawlOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id AgentBankcardID int64 `gorm:"column:agent_bankcard_id;not null;comment:代理收款卡 id" json:"agent_bankcard_id"` // 代理收款卡 id Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:提现金额" json:"amount"` // 提现金额 Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码,人民币:CNY" json:"exchange_currency"` // 换汇货币代码,人民币:CNY ExchangeAmount float64 `gorm:"column:exchange_amount;not null;default:0.0000;comment:换汇货币金额" json:"exchange_amount"` // 换汇货币金额 IncomeAmount float64 `gorm:"column:income_amount;not null;default:0.0000;comment:到账金额" json:"income_amount"` // 到账金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:手续费" json:"trade_charge"` // 手续费 AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `` // 状态:0 待确认,1 处理中,2 已完成,-1 撤销,-2 被驳回 /* 127-byte string literal not displayed */ Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 AuditFeedback string `gorm:"column:audit_feedback;comment:审核反馈" json:"audit_feedback"` // 审核反馈 Auditor int64 `gorm:"column:auditor;comment:审核员 ID" json:"auditor"` // 审核员 ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayAgentWithdrawlOrder mapped from table <pay_agent_withdrawl_order>
func (*PayAgentWithdrawlOrder) TableName ¶
func (*PayAgentWithdrawlOrder) TableName() string
TableName PayAgentWithdrawlOrder's table name
type PayBankaccountInfo ¶
type PayBankaccountInfo struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Bankcode string `gorm:"column:bankcode;not null;comment:银行代码" json:"bankcode"` // 银行代码 Accountno string `gorm:"column:accountno;not null;comment:银行账号" json:"accountno"` // 银行账号 Accountname string `gorm:"column:accountname;not null;comment:银行户名" json:"accountname"` // 银行户名 Accountinfo datatypes.JSON `gorm:"column:accountinfo;comment:账号详情" json:"accountinfo"` // 账号详情 Currency string `gorm:"column:currency;not null;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY Count_ int64 `gorm:"column:count;not null;comment:交易笔数" json:"count"` // 交易笔数 FailCount int64 `gorm:"column:fail_count;not null;comment:失败交易笔数" json:"fail_count"` // 失败交易笔数 FailIds string `gorm:"column:fail_ids;not null;comment:通道 id 标记,英文逗号拼接" json:"fail_ids"` // 通道 id 标记,英文逗号拼接 Failtext string `gorm:"column:failtext;comment:错误描述" json:"failtext"` // 错误描述 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 正常,2 无效" json:"status"` // 状态:1 正常,2 无效 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayBankaccountInfo mapped from table <pay_bankaccount_info>
func (*PayBankaccountInfo) TableName ¶
func (*PayBankaccountInfo) TableName() string
TableName PayBankaccountInfo's table name
type PayChannelBankcard ¶
type PayChannelBankcard struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭,3 异常" json:"status"` // 状态:1 启用,2 关闭,3 异常 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 Weight int64 `gorm:"column:weight;not null;comment:权重值" json:"weight"` // 权重值 DeviceID string `gorm:"column:device_id;not null;comment:监控设备标记" json:"device_id"` // 监控设备标记 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayChannelBankcard mapped from table <pay_channel_bankcard>
func (*PayChannelBankcard) TableName ¶
func (*PayChannelBankcard) TableName() string
TableName PayChannelBankcard's table name
type PayChannelBankcardRiskcontrol ¶
type PayChannelBankcardRiskcontrol struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID BankcardID int64 `gorm:"column:bankcard_id;not null;comment:银行卡 ID" json:"bankcard_id"` // 银行卡 ID StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大交易笔数" json:"day_max_count"` // 单日最大交易笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 AllowFailureCount int64 `gorm:"column:allow_failure_count;not null;comment:允许订单连续失败笔数" json:"allow_failure_count"` // 允许订单连续失败笔数 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayChannelBankcardRiskcontrol mapped from table <pay_channel_bankcard_riskcontrol>
func (*PayChannelBankcardRiskcontrol) TableName ¶
func (*PayChannelBankcardRiskcontrol) TableName() string
TableName PayChannelBankcardRiskcontrol's table name
type PayChannelBankcardStatistic ¶
type PayChannelBankcardStatistic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID BankcardID int64 `gorm:"column:bankcard_id;not null;comment:银行卡 ID" json:"bankcard_id"` // 银行卡 ID OrderAllCount int64 `gorm:"column:order_all_count;not null;comment:全部订单量" json:"order_all_count"` // 全部订单量 OrderCompleteCount int64 `gorm:"column:order_complete_count;not null;comment:已完成订单量" json:"order_complete_count"` // 已完成订单量 OrderAllAmount float64 `gorm:"column:order_all_amount;not null;default:0.00;comment:总订单交易金额" json:"order_all_amount"` // 总订单交易金额 OrderCompleteAmount float64 `gorm:"column:order_complete_amount;not null;default:0.00;comment:已完成订单交易金额" json:"order_complete_amount"` // 已完成订单交易金额 OrderFailureCount int64 `gorm:"column:order_failure_count;not null;comment:订单连续失败笔数" json:"order_failure_count"` // 订单连续失败笔数 AverageHandleTime int64 `gorm:"column:average_handle_time;not null;comment:完成订单平均处理时间" json:"average_handle_time"` // 完成订单平均处理时间 LastPayTime int64 `gorm:"column:last_pay_time;not null;comment:最后支付时间" json:"last_pay_time"` // 最后支付时间 LastNode string `gorm:"column:last_node;not null;comment:最后计算节点" json:"last_node"` // 最后计算节点 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayChannelBankcardStatistic mapped from table <pay_channel_bankcard_statistics>
func (*PayChannelBankcardStatistic) TableName ¶
func (*PayChannelBankcardStatistic) TableName() string
TableName PayChannelBankcardStatistic's table name
type PayComplaintOrder ¶
type PayComplaintOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 修改日期 OrderCreateTime int64 `gorm:"column:order_create_time;not null;comment:订单创建日期" json:"order_create_time"` // 订单创建日期 ComplaintTime int64 `gorm:"column:complaint_time;not null;comment:投诉时间" json:"complaint_time"` // 投诉时间 MerchantEndTime int64 `gorm:"column:merchant_end_time;not null;comment:商户截止时间" json:"merchant_end_time"` // 商户截止时间 BankEndTime int64 `gorm:"column:bank_end_time;not null;comment:银行截止时间" json:"bank_end_time"` // 银行截止时间 PayerName string `gorm:"column:payer_name;not null;comment:付款人姓名" json:"payer_name"` // 付款人姓名 OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductName string `gorm:"column:product_name;not null;comment:产品名称" json:"product_name"` // 产品名称 Status int64 `` // 1:未接收(商户反馈)、2:已接收(商户反馈)、3:已驳回(商户反馈)、4:已提交(银行)、5:已退款 /* 185-byte string literal not displayed */ FreezeStatus int64 `` // 1:未冻结、2:已冻结、3:冻结失败、4:已解冻、5:已退款 /* 136-byte string literal not displayed */ Reason string `gorm:"column:reason;not null;comment:投诉原因" json:"reason"` // 投诉原因 RefundReason string `gorm:"column:refund_reason;not null;comment:退款原因" json:"refund_reason"` // 退款原因 RejectReason string `gorm:"column:reject_reason;not null;comment:驳回商户提交原因" json:"reject_reason"` // 驳回商户提交原因 RechargeRecordImgUrls string `` // 商户提交的充值记录图片urls (最多3张,逗号隔开) /* 153-byte string literal not displayed */ WithdrawRecordImgUrls string `` // 商户提交的提现记录图片urls (最多3张,逗号隔开) /* 153-byte string literal not displayed */ GamesRecordImgUrls string `` // 商户提交的游戏记录图片urls (最多3张,逗号隔开) /* 147-byte string literal not displayed */ GameUserUUID string `gorm:"column:game_user_uuid;not null;comment:商户的游戏用户 uuid" json:"game_user_uuid"` // 商户的游戏用户 uuid MerchantIsRefund int64 `` // 商户是否退还客户 | 1:退款、 2:不退款 /* 126-byte string literal not displayed */ ReadPassword string `gorm:"column:read_password;not null;comment:商户查看密码" json:"read_password"` // 商户查看密码 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 RegistrationImgUrls string `` // 玩家注册信息截图 urls (最多3张,逗号隔开) /* 139-byte string literal not displayed */ Cpf string `gorm:"column:cpf;not null;comment:投诉人的 CPF 号码" json:"cpf"` // 投诉人的 CPF 号码 }
PayComplaintOrder mapped from table <pay_complaint_order>
func (*PayComplaintOrder) TableName ¶
func (*PayComplaintOrder) TableName() string
TableName PayComplaintOrder's table name
type PayConfigure ¶
type PayConfigure struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Code string `gorm:"column:code;not null;comment:配置编码" json:"code"` // 配置编码 Name string `gorm:"column:name;not null;comment:配置名称" json:"name"` // 配置名称 Value string `gorm:"column:value" json:"value"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Default int64 `gorm:"column:_default;not null;comment:缺省状态:0 无,1 缺省|不可删" json:"_default"` // 缺省状态:0 无,1 缺省|不可删 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayConfigure mapped from table <pay_configure>
func (*PayConfigure) TableName ¶
func (*PayConfigure) TableName() string
TableName PayConfigure's table name
type PayExportTask ¶
type PayExportTask struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 修改日期 CreatorID int64 `gorm:"column:creator_id;not null;comment:导出人的 ID" json:"creator_id"` // 导出人的 ID CreatorType string `gorm:"column:creator_type;not null;comment:用户类型, admin|agent|merchant" json:"creator_type"` // 用户类型, admin|agent|merchant Type int64 `gorm:"column:type;not null;comment:类型:由代码层定义" json:"type"` // 类型:由代码层定义 Status int64 `gorm:"column:status;not null;comment:状态, 1: 正在导出, 2: 导出成功,3: 导出失败" json:"status"` // 状态, 1: 正在导出, 2: 导出成功,3: 导出失败 Desc string `gorm:"column:desc;not null;comment:导出内容描述" json:"desc"` // 导出内容描述 ErrorMessage string `gorm:"column:error_message;not null;comment:导出失败的原因" json:"error_message"` // 导出失败的原因 URL string `gorm:"column:url;not null;comment:导出文件的链接" json:"url"` // 导出文件的链接 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayExportTask mapped from table <pay_export_task>
func (*PayExportTask) TableName ¶
func (*PayExportTask) TableName() string
TableName PayExportTask's table name
type PayInaccountInfo ¶
type PayInaccountInfo struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 Bankcode string `gorm:"column:bankcode;not null;comment:银行代码" json:"bankcode"` // 银行代码 Accountno string `gorm:"column:accountno;not null;comment:银行账号" json:"accountno"` // 银行账号 Accountname string `gorm:"column:accountname;not null;comment:银行户名" json:"accountname"` // 银行户名 Accountinfo datatypes.JSON `gorm:"column:accountinfo;comment:账号详情" json:"accountinfo"` // 账号详情 Currency string `gorm:"column:currency;not null;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayInaccountInfo mapped from table <pay_inaccount_info>
func (*PayInaccountInfo) TableName ¶
func (*PayInaccountInfo) TableName() string
TableName PayInaccountInfo's table name
type PayMerchant ¶
type PayMerchant struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:推荐人" json:"pid"` // 推荐人 MasterID int64 `gorm:"column:master_id;comment:主 ID" json:"master_id"` // 主 ID AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID Username string `gorm:"column:username;not null;comment:用户名" json:"username"` // 用户名 Nickname string `gorm:"column:nickname;not null;comment:昵称" json:"nickname"` // 昵称 Alias_ string `gorm:"column:alias;not null;comment:别名" json:"alias"` // 别名 Password string `gorm:"column:password;not null;comment:密码" json:"password"` // 密码 Invitecode string `gorm:"column:invitecode;not null;comment:邀请码" json:"invitecode"` // 邀请码 Phone string `gorm:"column:phone;not null;comment:手机号" json:"phone"` // 手机号 Email string `gorm:"column:email;not null;comment:电子邮箱" json:"email"` // 电子邮箱 Hashcode string `gorm:"column:hashcode;not null;comment:唯一标识符" json:"hashcode"` // 唯一标识符 SubSuffix string `gorm:"column:sub_suffix;not null;comment:域名前缀" json:"sub_suffix"` // 域名前缀 Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像 Status int64 `gorm:"column:status;not null;default:1;comment:帐号状态:1 启用,2 停用" json:"status"` // 帐号状态:1 启用,2 停用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 Roles string `gorm:"column:roles;not null;comment:角色 ID 拼接字符串" json:"roles"` // 角色 ID 拼接字符串 Tags string `gorm:"column:tags;not null;comment:标签,多个用英文逗号分隔" json:"tags"` // 标签,多个用英文逗号分隔 Whitelist string `gorm:"column:whitelist;not null;comment:ip 白名单,多个英文,号拼接" json:"whitelist"` // ip 白名单,多个英文,号拼接 Token string `gorm:"column:token;not null;comment:用户鉴权字符串" json:"token"` // 用户鉴权字符串 F2a string `gorm:"column:f2a;not null;comment:用户二次认证码" json:"f2a"` // 用户二次认证码 F2aEnable int64 `gorm:"column:f2a_enable;not null;default:2;comment:二次认证强制开启:1 启用,2 禁用" json:"f2a_enable"` // 二次认证强制开启:1 启用,2 禁用 In2out int64 `gorm:"column:in2out;not null;default:2;comment:可用余额转代付:1 启用,2 禁用" json:"in2out"` // 可用余额转代付:1 启用,2 禁用 ExchangeCurrency string `gorm:"column:exchange_currency;not null;default:BRL;comment:商户目标结算货币" json:"exchange_currency"` // 商户目标结算货币 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ErrorCount int64 `gorm:"column:error_count;not null;comment:错误次数" json:"error_count"` // 错误次数 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统用户:1 是,0 不是" json:"is_system"` // 是否系统用户:1 是,0 不是 MaxSeed int64 `gorm:"column:max_seed;not null;default:1" json:"max_seed"` }
PayMerchant mapped from table <pay_merchant>
func (*PayMerchant) TableName ¶
func (*PayMerchant) TableName() string
TableName PayMerchant's table name
type PayMerchantAccount ¶
type PayMerchantAccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额" json:"balance"` // 可用余额 Deposit float64 `gorm:"column:deposit;not null;default:0.0000;comment:代付余额" json:"deposit"` // 代付余额 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结余额" json:"frozen"` // 冻结余额 Profit float64 `gorm:"column:profit;not null;default:0.0000;comment:收益余额" json:"profit"` // 收益余额 UsdRate float64 `gorm:"column:usd_rate;not null;default:0.000000;comment:usd 交换汇率" json:"usd_rate"` // usd 交换汇率 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantAccount mapped from table <pay_merchant_account>
func (*PayMerchantAccount) TableName ¶
func (*PayMerchantAccount) TableName() string
TableName PayMerchantAccount's table name
type PayMerchantAccountChange ¶
type PayMerchantAccountChange struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额快照" json:"balance"` // 可用余额快照 Deposit float64 `gorm:"column:deposit;not null;default:0.0000;comment:代付余额快照" json:"deposit"` // 代付余额快照 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结快照" json:"frozen"` // 冻结快照 Profit float64 `gorm:"column:profit;not null;default:0.0000;comment:收益快照" json:"profit"` // 收益快照 Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:变动金额" json:"amount"` // 变动金额 Source int64 `` // 变动来源:1 交易,2 充值,3 提现,4 推荐返佣,5 盈利转余额,6 余额转代付,7 投诉冻结 /* 181-byte string literal not displayed */ Type int64 `gorm:"column:type;not null;default:1;comment:变动类型:1 账户余额,2 盈利,3 代付余额" json:"type"` // 变动类型:1 账户余额,2 盈利,3 代付余额 Way int64 `gorm:"column:way;not null;default:1;comment:变动方向:1 增加,2 减少" json:"way"` // 变动方向:1 增加,2 减少 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 冻结,2 已入账,3 已撤销" json:"status"` // 状态:1 冻结,2 已入账,3 已撤销 OrderNo string `gorm:"column:order_no;not null;comment:关联系统订单号" json:"order_no"` // 关联系统订单号 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantAccountChange mapped from table <pay_merchant_account_change>
func (*PayMerchantAccountChange) TableName ¶
func (*PayMerchantAccountChange) TableName() string
TableName PayMerchantAccountChange's table name
type PayMerchantAccountChangeArchive001 ¶
type PayMerchantAccountChangeArchive001 struct { ID int64 `gorm:"column:id;not null;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额快照" json:"balance"` // 可用余额快照 Deposit float64 `gorm:"column:deposit;not null;default:0.0000;comment:代付余额快照" json:"deposit"` // 代付余额快照 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结快照" json:"frozen"` // 冻结快照 Profit float64 `gorm:"column:profit;not null;default:0.0000;comment:收益快照" json:"profit"` // 收益快照 Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:变动金额" json:"amount"` // 变动金额 Source int64 `` // 变动来源:1 交易,2 充值,3 提现,4 推荐返佣,5 盈利转余额,6 余额转代付 /* 164-byte string literal not displayed */ Type int64 `gorm:"column:type;not null;default:1;comment:变动类型:1 账户余额,2 盈利,3 代付余额" json:"type"` // 变动类型:1 账户余额,2 盈利,3 代付余额 Way int64 `gorm:"column:way;not null;default:1;comment:变动方向:1 增加,2 减少" json:"way"` // 变动方向:1 增加,2 减少 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 冻结,2 已入账,3 已撤销" json:"status"` // 状态:1 冻结,2 已入账,3 已撤销 OrderNo string `gorm:"column:order_no;not null;comment:关联系统订单号" json:"order_no"` // 关联系统订单号 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantAccountChangeArchive001 mapped from table <pay_merchant_account_change_archive_001>
func (*PayMerchantAccountChangeArchive001) TableName ¶
func (*PayMerchantAccountChangeArchive001) TableName() string
TableName PayMerchantAccountChangeArchive001's table name
type PayMerchantAccountSnapshot ¶
type PayMerchantAccountSnapshot struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.00;comment:可用余额" json:"balance"` // 可用余额 Deposit float64 `gorm:"column:deposit;not null;default:0.00;comment:代付余额" json:"deposit"` // 代付余额 Frozen float64 `gorm:"column:frozen;not null;default:0.00;comment:冻结余额" json:"frozen"` // 冻结余额 Profit float64 `gorm:"column:profit;not null;default:0.00;comment:收益余额" json:"profit"` // 收益余额 Date string `gorm:"column:date;not null;comment:快照本地化日期" json:"date"` // 快照本地化日期 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantAccountSnapshot mapped from table <pay_merchant_account_snapshot>
func (*PayMerchantAccountSnapshot) TableName ¶
func (*PayMerchantAccountSnapshot) TableName() string
TableName PayMerchantAccountSnapshot's table name
type PayMerchantBankcard ¶
type PayMerchantBankcard struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantBankcard mapped from table <pay_merchant_bankcard>
func (*PayMerchantBankcard) TableName ¶
func (*PayMerchantBankcard) TableName() string
TableName PayMerchantBankcard's table name
type PayMerchantCharge ¶
type PayMerchantCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id PaymentServiceCharge float64 `` // 商户平台代收交易服务费 (单笔) /* 139-byte string literal not displayed */ PaymentTradeRate float64 `gorm:"column:payment_trade_rate;not null;default:0.000000;comment:商户平台代收交易费率" json:"payment_trade_rate"` // 商户平台代收交易费率 PayoutServiceCharge float64 `` // 商户平台代付交易服务费 (单笔) /* 137-byte string literal not displayed */ PayoutTradeRate float64 `gorm:"column:payout_trade_rate;not null;default:0.000000;comment:商户平台代付交易费率" json:"payout_trade_rate"` // 商户平台代付交易费率 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantCharge mapped from table <pay_merchant_charge>
func (*PayMerchantCharge) TableName ¶
func (*PayMerchantCharge) TableName() string
TableName PayMerchantCharge's table name
type PayMerchantLoginLog ¶
type PayMerchantLoginLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Device string `gorm:"column:device;comment:登录设备" json:"device"` // 登录设备 DeviceVersion string `gorm:"column:device_version;comment:设备版本号" json:"device_version"` // 设备版本号 Os string `gorm:"column:os;comment:操作系统" json:"os"` // 操作系统 OsVersion string `gorm:"column:os_version;comment:系统版本号" json:"os_version"` // 系统版本号 IP string `gorm:"column:ip;comment:登录 ip" json:"ip"` // 登录 ip CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 登录时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantLoginLog mapped from table <pay_merchant_login_log>
func (*PayMerchantLoginLog) TableName ¶
func (*PayMerchantLoginLog) TableName() string
TableName PayMerchantLoginLog's table name
type PayMerchantNotify ¶
type PayMerchantNotify struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderID int64 `gorm:"column:order_id;not null;comment:订单 id" json:"order_id"` // 订单 id MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url NotifyCount int64 `gorm:"column:notify_count;not null;comment:通知次数" json:"notify_count"` // 通知次数 Result datatypes.JSON `gorm:"column:result;comment:返回内容" json:"result"` // 返回内容 OrderType int64 `gorm:"column:order_type;not null;default:1;comment:订单类型:1 代收,2 代付" json:"order_type"` // 订单类型:1 代收,2 代付 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 通知中,2 通知成功,3 通知失败" json:"status"` // 状态:1 通知中,2 通知成功,3 通知失败 LastNotifyTime int64 `gorm:"column:last_notify_time;comment:最后一次通知时间" json:"last_notify_time"` // 最后一次通知时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantNotify mapped from table <pay_merchant_notify>
func (*PayMerchantNotify) TableName ¶
func (*PayMerchantNotify) TableName() string
TableName PayMerchantNotify's table name
type PayMerchantOauth ¶
type PayMerchantOauth struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:自增 id" json:"id"` // 自增 id MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Type int64 `gorm:"column:type;not null;default:1;comment:类型:1 代收,2 代付" json:"type"` // 类型:1 代收,2 代付 AccessKey string `gorm:"column:access_key;not null;comment:Access Key" json:"access_key"` // Access Key SecretKey string `gorm:"column:secret_key;not null;comment:Secret Key" json:"secret_key"` // Secret Key CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantOauth mapped from table <pay_merchant_oauth>
func (*PayMerchantOauth) TableName ¶
func (*PayMerchantOauth) TableName() string
TableName PayMerchantOauth's table name
type PayMerchantQueueConfig ¶
type PayMerchantQueueConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // Create Time | 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // Update Time | 修改日期 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 MqQueueConfigID int64 `gorm:"column:mq_queue_config_id;not null;comment:MQ Queue ID" json:"mq_queue_config_id"` // MQ Queue ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:Merchant ID" json:"merchant_id"` // Merchant ID }
PayMerchantQueueConfig mapped from table <pay_merchant_queue_config>
func (*PayMerchantQueueConfig) TableName ¶
func (*PayMerchantQueueConfig) TableName() string
TableName PayMerchantQueueConfig's table name
type PayMerchantRechargeConfig ¶
type PayMerchantRechargeConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:充值手续费率" json:"trade_rate"` // 充值手续费率 ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:充值服务费" json:"service_charge"` // 充值服务费 StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 FirstMinAmount float64 `gorm:"column:first_min_amount;not null;default:0.00;comment:首充最小金额" json:"first_min_amount"` // 首充最小金额 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小充值金额" json:"unit_min_amount"` // 单笔最小充值金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大充值金额" json:"unit_max_amount"` // 单笔最大充值金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大充值笔数" json:"day_max_count"` // 单日最大充值笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大充值金额" json:"day_max_amount"` // 单日最大充值金额 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantRechargeConfig mapped from table <pay_merchant_recharge_config>
func (*PayMerchantRechargeConfig) TableName ¶
func (*PayMerchantRechargeConfig) TableName() string
TableName PayMerchantRechargeConfig's table name
type PayMerchantRechargeOrder ¶
type PayMerchantRechargeOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SystemBankcardID int64 `gorm:"column:system_bankcard_id;not null;comment:系统收款卡 id" json:"system_bankcard_id"` // 系统收款卡 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:充值金额" json:"amount"` // 充值金额 Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码,人民币:CNY" json:"exchange_currency"` // 换汇货币代码,人民币:CNY ExchangeAmount float64 `gorm:"column:exchange_amount;not null;default:0.0000;comment:换汇货币金额" json:"exchange_amount"` // 换汇货币金额 IncomeAmount float64 `gorm:"column:income_amount;not null;default:0.00;comment:到账金额" json:"income_amount"` // 到账金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:手续费" json:"trade_charge"` // 手续费 AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;comment:状态:0 待支付,1 已支付,2 已完成,-1 过期,-2 被驳回" json:"status"` // 状态:0 待支付,1 已支付,2 已完成,-1 过期,-2 被驳回 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 AuditFeedback string `gorm:"column:audit_feedback;comment:审核反馈" json:"audit_feedback"` // 审核反馈 Auditor int64 `gorm:"column:auditor;comment:审核员 ID" json:"auditor"` // 审核员 ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantRechargeOrder mapped from table <pay_merchant_recharge_order>
func (*PayMerchantRechargeOrder) TableName ¶
func (*PayMerchantRechargeOrder) TableName() string
TableName PayMerchantRechargeOrder's table name
type PayMerchantRiskcontrol ¶
type PayMerchantRiskcontrol struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 InUnitMinAmount float64 `gorm:"column:in_unit_min_amount;not null;default:0.00;comment:入款_单笔最小交易金额" json:"in_unit_min_amount"` // 入款_单笔最小交易金额 InUnitMaxAmount float64 `gorm:"column:in_unit_max_amount;not null;default:0.00;comment:入款_单笔最大交易金额" json:"in_unit_max_amount"` // 入款_单笔最大交易金额 InDayMaxAmount float64 `gorm:"column:in_day_max_amount;not null;default:0.00;comment:入款_单日最大交易金额" json:"in_day_max_amount"` // 入款_单日最大交易金额 OutUnitMinAmount float64 `gorm:"column:out_unit_min_amount;not null;default:0.00;comment:出款_单笔最小交易金额" json:"out_unit_min_amount"` // 出款_单笔最小交易金额 OutUnitMaxAmount float64 `gorm:"column:out_unit_max_amount;not null;default:0.00;comment:出款_单笔最大交易金额" json:"out_unit_max_amount"` // 出款_单笔最大交易金额 OutDayMaxAmount float64 `gorm:"column:out_day_max_amount;not null;default:0.00;comment:出款_单日最大交易金额" json:"out_day_max_amount"` // 出款_单日最大交易金额 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 OutConfirmAmount float64 `gorm:"column:out_confirm_amount;not null;default:0.00;comment:出款二次确认最小交易金额" json:"out_confirm_amount"` // 出款二次确认最小交易金额 InConfirmAmount float64 `gorm:"column:in_confirm_amount;not null;default:0.00;comment:入款提醒最小交易金额" json:"in_confirm_amount"` // 入款提醒最小交易金额 }
PayMerchantRiskcontrol mapped from table <pay_merchant_riskcontrol>
func (*PayMerchantRiskcontrol) TableName ¶
func (*PayMerchantRiskcontrol) TableName() string
TableName PayMerchantRiskcontrol's table name
type PayMerchantRole ¶
type PayMerchantRole struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;comment:商户 id" json:"merchant_id"` // 商户 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Code string `gorm:"column:code;not null;comment:编码" json:"code"` // 编码 Rules string `gorm:"column:rules;not null;comment:权限 ID 拼接字符串" json:"rules"` // 权限 ID 拼接字符串 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,0 禁用" json:"status"` // 状态:1 启用,0 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Default int64 `gorm:"column:_default;not null;comment:缺省状态:0 无,1 缺省|不可删" json:"_default"` // 缺省状态:0 无,1 缺省|不可删 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantRole mapped from table <pay_merchant_role>
func (*PayMerchantRole) TableName ¶
func (*PayMerchantRole) TableName() string
TableName PayMerchantRole's table name
type PayMerchantRule ¶
type PayMerchantRule struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:父 id" json:"pid"` // 父 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Icon string `gorm:"column:icon;not null;comment:图标" json:"icon"` // 图标 URL string `gorm:"column:url;not null;comment:路由地址 (页面或外链)" json:"url"` // 路由地址 (页面或外链) Code string `gorm:"column:code;not null;comment:权限标识码" json:"code"` // 权限标识码 Type int64 `gorm:"column:type;not null;default:1;comment:类型:1 目录,2 菜单,3 按钮" json:"type"` // 类型:1 目录,2 菜单,3 按钮 LinkStatus int64 `gorm:"column:link_status;not null;comment:外链状态:1 外链,0 内部" json:"link_status"` // 外链状态:1 外链,0 内部 HideStatus int64 `gorm:"column:hide_status;not null;comment:隐藏状态:1 隐藏,0 展示" json:"hide_status"` // 隐藏状态:1 隐藏,0 展示 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,0 禁用" json:"status"` // 状态:1 启用,0 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantRule mapped from table <pay_merchant_rule>
func (*PayMerchantRule) TableName ¶
func (*PayMerchantRule) TableName() string
TableName PayMerchantRule's table name
type PayMerchantStatistic ¶
type PayMerchantStatistic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 OrderAllCount int64 `gorm:"column:order_all_count;not null;comment:全部订单量" json:"order_all_count"` // 全部订单量 OrderCompleteCount int64 `gorm:"column:order_complete_count;not null;comment:已完成订单量" json:"order_complete_count"` // 已完成订单量 OrderAllAmount float64 `gorm:"column:order_all_amount;not null;default:0.00;comment:总订单交易金额" json:"order_all_amount"` // 总订单交易金额 OrderCompleteAmount float64 `gorm:"column:order_complete_amount;not null;default:0.00;comment:已完成订单交易金额" json:"order_complete_amount"` // 已完成订单交易金额 AverageHandleTime int64 `gorm:"column:average_handle_time;not null;comment:完成订单平均处理时间" json:"average_handle_time"` // 完成订单平均处理时间 LastPayTime int64 `gorm:"column:last_pay_time;not null;comment:最后支付时间" json:"last_pay_time"` // 最后支付时间 LastNode string `gorm:"column:last_node;not null;comment:最后计算节点" json:"last_node"` // 最后计算节点 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantStatistic mapped from table <pay_merchant_statistics>
func (*PayMerchantStatistic) TableName ¶
func (*PayMerchantStatistic) TableName() string
TableName PayMerchantStatistic's table name
type PayMerchantTag ¶
type PayMerchantTag struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id TagID int64 `gorm:"column:tag_id;not null;comment:标签 id" json:"tag_id"` // 标签 id CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantTag mapped from table <pay_merchant_tags>
func (*PayMerchantTag) TableName ¶
func (*PayMerchantTag) TableName() string
TableName PayMerchantTag's table name
type PayMerchantWithdrawlConfig ¶
type PayMerchantWithdrawlConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:提现手续费率" json:"trade_rate"` // 提现手续费率 ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:提现服务费" json:"service_charge"` // 提现服务费 StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大交易笔数" json:"day_max_count"` // 单日最大交易笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 SettleMethod int64 `gorm:"column:settle_method;not null;default:1;comment:结算周期:1T0,2T1" json:"settle_method"` // 结算周期:1T0,2T1 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayMerchantWithdrawlConfig mapped from table <pay_merchant_withdrawl_config>
func (*PayMerchantWithdrawlConfig) TableName ¶
func (*PayMerchantWithdrawlConfig) TableName() string
TableName PayMerchantWithdrawlConfig's table name
type PayMerchantWithdrawlOrder ¶
type PayMerchantWithdrawlOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id MerchantBankcardID int64 `gorm:"column:merchant_bankcard_id;not null;comment:商户收款卡 id" json:"merchant_bankcard_id"` // 商户收款卡 id Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:提现金额" json:"amount"` // 提现金额 Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码,人民币:CNY" json:"exchange_currency"` // 换汇货币代码,人民币:CNY ExchangeAmount float64 `gorm:"column:exchange_amount;not null;default:0.0000;comment:换汇货币金额" json:"exchange_amount"` // 换汇货币金额 IncomeAmount float64 `gorm:"column:income_amount;not null;default:0.0000;comment:到账金额" json:"income_amount"` // 到账金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:手续费" json:"trade_charge"` // 手续费 AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `` // 状态:0 待确认,1 处理中,2 已完成,-1 撤销,-2 被驳回 /* 127-byte string literal not displayed */ Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 AuditFeedback string `gorm:"column:audit_feedback;comment:审核反馈" json:"audit_feedback"` // 审核反馈 Auditor int64 `gorm:"column:auditor;comment:审核员 ID" json:"auditor"` // 审核员 ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 BuyPrice float64 `gorm:"column:buy_price;not null;default:0.00;comment:成本价" json:"buy_price"` // 成本价 SellPrice float64 `gorm:"column:sell_price;not null;default:0.00;comment:兑换价" json:"sell_price"` // 兑换价 }
PayMerchantWithdrawlOrder mapped from table <pay_merchant_withdrawl_order>
func (*PayMerchantWithdrawlOrder) TableName ¶
func (*PayMerchantWithdrawlOrder) TableName() string
TableName PayMerchantWithdrawlOrder's table name
type PayOrderLog ¶
type PayOrderLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID UUID string `gorm:"column:uuid;not null;comment:全链路唯一标记" json:"uuid"` // 全链路唯一标记 OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 Req datatypes.JSON `gorm:"column:req;comment:请求内容" json:"req"` // 请求内容 Res datatypes.JSON `gorm:"column:res;comment:返回内容" json:"res"` // 返回内容 Process datatypes.JSON `gorm:"column:process;comment:已完成进程" json:"process"` // 已完成进程 Timing string `gorm:"column:timing;not null;comment:订单耗时 毫秒" json:"timing"` // 订单耗时 毫秒 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayOrderLog mapped from table <pay_order_log>
func (*PayOrderLog) TableName ¶
func (*PayOrderLog) TableName() string
TableName PayOrderLog's table name
type PayOutaccount ¶
type PayOutaccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Bankcode string `gorm:"column:bankcode;not null;comment:银行代码" json:"bankcode"` // 银行代码 Accountno string `gorm:"column:accountno;not null;comment:银行账号" json:"accountno"` // 银行账号 Accountname string `gorm:"column:accountname;not null;comment:银行户名" json:"accountname"` // 银行户名 Accountinfo datatypes.JSON `gorm:"column:accountinfo;comment:账号详情" json:"accountinfo"` // 账号详情 Currency string `gorm:"column:currency;not null;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 正常,2 无效" json:"status"` // 状态:1 正常,2 无效 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayOutaccount mapped from table <pay_outaccount>
func (*PayOutaccount) TableName ¶
func (*PayOutaccount) TableName() string
TableName PayOutaccount's table name
type PayPaymentAgentDaily ¶
type PayPaymentAgentDaily struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 TotalCount int64 `gorm:"column:total_count;not null;comment:总笔数" json:"total_count"` // 总笔数 TotalAmount float64 `gorm:"column:total_amount;not null;default:0.00;comment:总金额" json:"total_amount"` // 总金额 SuccessCount int64 `gorm:"column:success_count;not null;comment:成功笔数" json:"success_count"` // 成功笔数 SuccessAmount float64 `gorm:"column:success_amount;not null;default:0.00;comment:成功金额" json:"success_amount"` // 成功金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:交易手续费" json:"trade_charge"` // 交易手续费 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理手续费" json:"agent_charge"` // 代理手续费 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:通道手续费" json:"channel_charge"` // 通道手续费 FailureCount int64 `gorm:"column:failure_count;not null;comment:失败笔数" json:"failure_count"` // 失败笔数 FailureAmount float64 `gorm:"column:failure_amount;not null;default:0.00;comment:失败金额" json:"failure_amount"` // 失败金额 RefundCount int64 `gorm:"column:refund_count;not null;comment:退款笔数" json:"refund_count"` // 退款笔数 RefundAmount float64 `gorm:"column:refund_amount;not null;default:0.00;comment:退款金额" json:"refund_amount"` // 退款金额 Date string `gorm:"column:date;not null;comment:日报本地化日期" json:"date"` // 日报本地化日期 StartTime int64 `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayPaymentAgentDaily mapped from table <pay_payment_agent_daily>
func (*PayPaymentAgentDaily) TableName ¶
func (*PayPaymentAgentDaily) TableName() string
TableName PayPaymentAgentDaily's table name
type PayPaymentMerchantDaily ¶
type PayPaymentMerchantDaily struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 TotalCount int64 `gorm:"column:total_count;not null;comment:总笔数" json:"total_count"` // 总笔数 TotalAmount float64 `gorm:"column:total_amount;not null;default:0.00;comment:总金额" json:"total_amount"` // 总金额 SuccessCount int64 `gorm:"column:success_count;not null;comment:成功笔数" json:"success_count"` // 成功笔数 SuccessAmount float64 `gorm:"column:success_amount;not null;default:0.00;comment:成功金额" json:"success_amount"` // 成功金额 AgentAmount float64 `gorm:"column:agent_amount;not null;default:0.00;comment:代理成功金额" json:"agent_amount"` // 代理成功金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:交易手续费" json:"trade_charge"` // 交易手续费 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理手续费" json:"agent_charge"` // 代理手续费 FailureCount int64 `gorm:"column:failure_count;not null;comment:失败笔数" json:"failure_count"` // 失败笔数 FailureAmount float64 `gorm:"column:failure_amount;not null;default:0.00;comment:失败金额" json:"failure_amount"` // 失败金额 RefundCount int64 `gorm:"column:refund_count;not null;comment:退款笔数" json:"refund_count"` // 退款笔数 RefundAmount float64 `gorm:"column:refund_amount;not null;default:0.00;comment:退款金额" json:"refund_amount"` // 退款金额 Date string `gorm:"column:date;not null;comment:日报本地化日期" json:"date"` // 日报本地化日期 StartTime int64 `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:通道手续费" json:"channel_charge"` // 通道手续费 }
PayPaymentMerchantDaily mapped from table <pay_payment_merchant_daily>
func (*PayPaymentMerchantDaily) TableName ¶
func (*PayPaymentMerchantDaily) TableName() string
TableName PayPaymentMerchantDaily's table name
type PayPaymentProductDaily ¶
type PayPaymentProductDaily struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品账号 id" json:"product_account_id"` // 产品账号 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 TotalCount int64 `gorm:"column:total_count;not null;comment:总笔数" json:"total_count"` // 总笔数 TotalAmount float64 `gorm:"column:total_amount;not null;default:0.00;comment:总金额" json:"total_amount"` // 总金额 SuccessCount int64 `gorm:"column:success_count;not null;comment:成功笔数" json:"success_count"` // 成功笔数 SuccessAmount float64 `gorm:"column:success_amount;not null;default:0.00;comment:成功金额" json:"success_amount"` // 成功金额 AgentAmount float64 `gorm:"column:agent_amount;not null;default:0.00;comment:代理成功金额" json:"agent_amount"` // 代理成功金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:交易手续费" json:"trade_charge"` // 交易手续费 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理手续费" json:"agent_charge"` // 代理手续费 FailureCount int64 `gorm:"column:failure_count;not null;comment:失败笔数" json:"failure_count"` // 失败笔数 FailureAmount float64 `gorm:"column:failure_amount;not null;default:0.00;comment:失败金额" json:"failure_amount"` // 失败金额 RefundCount int64 `gorm:"column:refund_count;not null;comment:退款笔数" json:"refund_count"` // 退款笔数 RefundAmount float64 `gorm:"column:refund_amount;not null;default:0.00;comment:退款金额" json:"refund_amount"` // 退款金额 Date string `gorm:"column:date;not null;comment:日报本地化日期" json:"date"` // 日报本地化日期 StartTime int64 `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:通道手续费" json:"channel_charge"` // 通道手续费 }
PayPaymentProductDaily mapped from table <pay_payment_product_daily>
func (*PayPaymentProductDaily) TableName ¶
func (*PayPaymentProductDaily) TableName() string
TableName PayPaymentProductDaily's table name
type PayPayoutAgentDaily ¶
type PayPayoutAgentDaily struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AgentID int64 `gorm:"column:agent_id;not null;comment:代理 id" json:"agent_id"` // 代理 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 TotalCount int64 `gorm:"column:total_count;not null;comment:总笔数" json:"total_count"` // 总笔数 TotalAmount float64 `gorm:"column:total_amount;not null;default:0.00;comment:总金额" json:"total_amount"` // 总金额 SuccessCount int64 `gorm:"column:success_count;not null;comment:成功笔数" json:"success_count"` // 成功笔数 SuccessAmount float64 `gorm:"column:success_amount;not null;default:0.00;comment:成功金额" json:"success_amount"` // 成功金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:交易手续费" json:"trade_charge"` // 交易手续费 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理手续费" json:"agent_charge"` // 代理手续费 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:通道手续费" json:"channel_charge"` // 通道手续费 FailureCount int64 `gorm:"column:failure_count;not null;comment:失败笔数" json:"failure_count"` // 失败笔数 FailureAmount float64 `gorm:"column:failure_amount;not null;default:0.00;comment:失败金额" json:"failure_amount"` // 失败金额 RefundCount int64 `gorm:"column:refund_count;not null;comment:退款笔数" json:"refund_count"` // 退款笔数 RefundAmount float64 `gorm:"column:refund_amount;not null;default:0.00;comment:退款金额" json:"refund_amount"` // 退款金额 Date string `gorm:"column:date;not null;comment:日报本地化日期" json:"date"` // 日报本地化日期 StartTime int64 `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayPayoutAgentDaily mapped from table <pay_payout_agent_daily>
func (*PayPayoutAgentDaily) TableName ¶
func (*PayPayoutAgentDaily) TableName() string
TableName PayPayoutAgentDaily's table name
type PayPayoutMerchantDaily ¶
type PayPayoutMerchantDaily struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 TotalCount int64 `gorm:"column:total_count;not null;comment:总笔数" json:"total_count"` // 总笔数 TotalAmount float64 `gorm:"column:total_amount;not null;default:0.00;comment:总金额" json:"total_amount"` // 总金额 SuccessCount int64 `gorm:"column:success_count;not null;comment:成功笔数" json:"success_count"` // 成功笔数 SuccessAmount float64 `gorm:"column:success_amount;not null;default:0.00;comment:成功金额" json:"success_amount"` // 成功金额 AgentAmount float64 `gorm:"column:agent_amount;not null;default:0.00;comment:代理成功金额" json:"agent_amount"` // 代理成功金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:交易手续费" json:"trade_charge"` // 交易手续费 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理手续费" json:"agent_charge"` // 代理手续费 FailureCount int64 `gorm:"column:failure_count;not null;comment:失败笔数" json:"failure_count"` // 失败笔数 FailureAmount float64 `gorm:"column:failure_amount;not null;default:0.00;comment:失败金额" json:"failure_amount"` // 失败金额 RefundCount int64 `gorm:"column:refund_count;not null;comment:退款笔数" json:"refund_count"` // 退款笔数 RefundAmount float64 `gorm:"column:refund_amount;not null;default:0.00;comment:退款金额" json:"refund_amount"` // 退款金额 Date string `gorm:"column:date;not null;comment:日报本地化日期" json:"date"` // 日报本地化日期 StartTime int64 `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:通道手续费" json:"channel_charge"` // 通道手续费 }
PayPayoutMerchantDaily mapped from table <pay_payout_merchant_daily>
func (*PayPayoutMerchantDaily) TableName ¶
func (*PayPayoutMerchantDaily) TableName() string
TableName PayPayoutMerchantDaily's table name
type PayPayoutProductDaily ¶
type PayPayoutProductDaily struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品账号 id" json:"product_account_id"` // 产品账号 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 TotalCount int64 `gorm:"column:total_count;not null;comment:总笔数" json:"total_count"` // 总笔数 TotalAmount float64 `gorm:"column:total_amount;not null;default:0.00;comment:总金额" json:"total_amount"` // 总金额 SuccessCount int64 `gorm:"column:success_count;not null;comment:成功笔数" json:"success_count"` // 成功笔数 SuccessAmount float64 `gorm:"column:success_amount;not null;default:0.00;comment:成功金额" json:"success_amount"` // 成功金额 AgentAmount float64 `gorm:"column:agent_amount;not null;default:0.00;comment:代理成功金额" json:"agent_amount"` // 代理成功金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:交易手续费" json:"trade_charge"` // 交易手续费 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理手续费" json:"agent_charge"` // 代理手续费 FailureCount int64 `gorm:"column:failure_count;not null;comment:失败笔数" json:"failure_count"` // 失败笔数 FailureAmount float64 `gorm:"column:failure_amount;not null;default:0.00;comment:失败金额" json:"failure_amount"` // 失败金额 RefundCount int64 `gorm:"column:refund_count;not null;comment:退款笔数" json:"refund_count"` // 退款笔数 RefundAmount float64 `gorm:"column:refund_amount;not null;default:0.00;comment:退款金额" json:"refund_amount"` // 退款金额 Date string `gorm:"column:date;not null;comment:日报本地化日期" json:"date"` // 日报本地化日期 StartTime int64 `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:通道手续费" json:"channel_charge"` // 通道手续费 }
PayPayoutProductDaily mapped from table <pay_payout_product_daily>
func (*PayPayoutProductDaily) TableName ¶
func (*PayPayoutProductDaily) TableName() string
TableName PayPayoutProductDaily's table name
type PayProduct ¶
type PayProduct struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Name string `gorm:"column:name;not null;comment:产品名称" json:"name"` // 产品名称 Code string `gorm:"column:code;not null;comment:产品编码" json:"code"` // 产品编码 Type int64 `gorm:"column:type;not null;default:1;comment:类型:1 代收,2 代付" json:"type"` // 类型:1 代收,2 代付 Params string `gorm:"column:params;not null;comment:接口配置定义描述,json 字符串" json:"params"` // 接口配置定义描述,json 字符串 Source int64 `gorm:"column:source;not null;default:1;comment:来源:1 系统,2 供应商" json:"source"` // 来源:1 系统,2 供应商 Tags string `gorm:"column:tags;not null;comment:标签,多个用英文逗号分隔" json:"tags"` // 标签,多个用英文逗号分隔 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProduct mapped from table <pay_product>
func (*PayProduct) TableName ¶
func (*PayProduct) TableName() string
TableName PayProduct's table name
type PayProductAccount ¶
type PayProductAccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductID int64 `gorm:"column:product_id;not null;comment:支付产品 id" json:"product_id"` // 支付产品 id Name string `gorm:"column:name;not null;comment:子账号名称" json:"name"` // 子账号名称 Params string `gorm:"column:params;not null;comment:自定义配置参数" json:"params"` // 自定义配置参数 Weight int64 `gorm:"column:weight;not null;comment:权重值" json:"weight"` // 权重值 Tags string `gorm:"column:tags;not null;comment:标签,多个用英文逗号分隔" json:"tags"` // 标签,多个用英文逗号分隔 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭,3 异常" json:"status"` // 状态:1 启用,2 关闭,3 异常 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Type int64 `gorm:"column:type;not null;comment:类型:1 代收,2 代付" json:"type"` // 类型:1 代收,2 代付 Code string `gorm:"column:code;not null;comment:产品编码" json:"code"` // 产品编码 Cache int64 `gorm:"column:cache;not null;default:1;comment:缓存订单:1 启用,0 关闭" json:"cache"` // 缓存订单:1 启用,0 关闭 }
PayProductAccount mapped from table <pay_product_account>
func (*PayProductAccount) TableName ¶
func (*PayProductAccount) TableName() string
TableName PayProductAccount's table name
type PayProductAccountCharge ¶
type PayProductAccountCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID PayProductAccountID int64 `gorm:"column:pay_product_account_id;not null;comment:子账号 id" json:"pay_product_account_id"` // 子账号 id PaymentServiceCharge float64 `` // 通道代收交易服务费 (单笔) /* 133-byte string literal not displayed */ PaymentMinServiceCharge float64 `` // 通道代收最低服务费 /* 132-byte string literal not displayed */ PaymentMaxServiceCharge float64 `` // 通道代收最高服务费 /* 132-byte string literal not displayed */ PaymentTradeRate float64 `gorm:"column:payment_trade_rate;not null;default:0.000000;comment:通道代收交易费率" json:"payment_trade_rate"` // 通道代收交易费率 PayoutServiceCharge float64 `` // 通道代付交易服务费 (单笔) /* 131-byte string literal not displayed */ PayoutMinServiceCharge float64 `` // 通道代付最低服务费 /* 130-byte string literal not displayed */ PayoutMaxServiceCharge float64 `` // 通道代付最高服务费 /* 130-byte string literal not displayed */ PayoutTradeRate float64 `gorm:"column:payout_trade_rate;not null;default:0.000000;comment:通道代付交易费率" json:"payout_trade_rate"` // 通道代付交易费率 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductAccountCharge mapped from table <pay_product_account_charge>
func (*PayProductAccountCharge) TableName ¶
func (*PayProductAccountCharge) TableName() string
TableName PayProductAccountCharge's table name
type PayProductAccountRiskcontrol ¶
type PayProductAccountRiskcontrol struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:支付产品账户 id" json:"product_account_id"` // 支付产品账户 id RiskMode int64 `gorm:"column:risk_mode;not null;default:1;comment:风控模式:1 继承,2 自定义" json:"risk_mode"` // 风控模式:1 继承,2 自定义 StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 AllowFailureCount int64 `gorm:"column:allow_failure_count;not null;comment:允许订单连续失败笔数" json:"allow_failure_count"` // 允许订单连续失败笔数 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductAccountRiskcontrol mapped from table <pay_product_account_riskcontrol>
func (*PayProductAccountRiskcontrol) TableName ¶
func (*PayProductAccountRiskcontrol) TableName() string
TableName PayProductAccountRiskcontrol's table name
type PayProductAccountStatistic ¶
type PayProductAccountStatistic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:支付产品账户 id" json:"product_account_id"` // 支付产品账户 id OrderAllCount int64 `gorm:"column:order_all_count;not null;comment:全部订单量" json:"order_all_count"` // 全部订单量 OrderCompleteCount int64 `gorm:"column:order_complete_count;not null;comment:已完成订单量" json:"order_complete_count"` // 已完成订单量 OrderAllAmount float64 `gorm:"column:order_all_amount;not null;default:0.00;comment:总订单交易金额" json:"order_all_amount"` // 总订单交易金额 OrderCompleteAmount float64 `gorm:"column:order_complete_amount;not null;default:0.00;comment:已完成订单交易金额" json:"order_complete_amount"` // 已完成订单交易金额 OrderFailureCount int64 `gorm:"column:order_failure_count;not null;comment:订单连续失败笔数" json:"order_failure_count"` // 订单连续失败笔数 AverageHandleTime int64 `gorm:"column:average_handle_time;not null;comment:完成订单平均处理时间" json:"average_handle_time"` // 完成订单平均处理时间 LastPayTime int64 `gorm:"column:last_pay_time;not null;comment:最后支付时间" json:"last_pay_time"` // 最后支付时间 LastNode string `gorm:"column:last_node;not null;comment:最后计算节点" json:"last_node"` // 最后计算节点 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductAccountStatistic mapped from table <pay_product_account_statistics>
func (*PayProductAccountStatistic) TableName ¶
func (*PayProductAccountStatistic) TableName() string
TableName PayProductAccountStatistic's table name
type PayProductCharge ¶
type PayProductCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductID int64 `gorm:"column:product_id;not null;comment:支付产品 id" json:"product_id"` // 支付产品 id ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductCharge mapped from table <pay_product_charge>
func (*PayProductCharge) TableName ¶
func (*PayProductCharge) TableName() string
TableName PayProductCharge's table name
type PayProductMerchant ¶
type PayProductMerchant struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id Weight int64 `gorm:"column:weight;not null;comment:权重值" json:"weight"` // 权重值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Type int64 `gorm:"column:type;not null;comment:类型:1 代收,2 代付" json:"type"` // 类型:1 代收,2 代付 }
PayProductMerchant mapped from table <pay_product_merchant>
func (*PayProductMerchant) TableName ¶
func (*PayProductMerchant) TableName() string
TableName PayProductMerchant's table name
type PayProductMerchantAccount ¶
type PayProductMerchantAccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id AccountIds string `gorm:"column:account_ids;not null;comment:子账户 id 拼接字符串" json:"account_ids"` // 子账户 id 拼接字符串 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Type int64 `gorm:"column:type;not null;comment:类型:1 代收,2 代付" json:"type"` // 类型:1 代收,2 代付 Code string `gorm:"column:code;not null;comment:产品编码" json:"code"` // 产品编码 }
PayProductMerchantAccount mapped from table <pay_product_merchant_account>
func (*PayProductMerchantAccount) TableName ¶
func (*PayProductMerchantAccount) TableName() string
TableName PayProductMerchantAccount's table name
type PayProductMerchantCharge ¶
type PayProductMerchantCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id ProductID int64 `gorm:"column:product_id;not null;comment:支付产品 id" json:"product_id"` // 支付产品 id ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:商户平台交易的服务费 (单笔)" json:"service_charge"` // 商户平台交易的服务费 (单笔) TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户平台交易费率" json:"trade_rate"` // 商户平台交易费率 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductMerchantCharge mapped from table <pay_product_merchant_charge>
func (*PayProductMerchantCharge) TableName ¶
func (*PayProductMerchantCharge) TableName() string
TableName PayProductMerchantCharge's table name
type PayProductQueueConfig ¶
type PayProductQueueConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // Create Time | 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // Update Time | 修改日期 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 MqQueueConfigID int64 `gorm:"column:mq_queue_config_id;not null;comment:MQ Queue ID" json:"mq_queue_config_id"` // MQ Queue ID PayProductCode string `` // PayProduct Code | 支付产品代码(上游银行代码) /* 132-byte string literal not displayed */ }
PayProductQueueConfig mapped from table <pay_product_queue_config>
func (*PayProductQueueConfig) TableName ¶
func (*PayProductQueueConfig) TableName() string
TableName PayProductQueueConfig's table name
type PayProductRiskcontrol ¶
type PayProductRiskcontrol struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductID int64 `gorm:"column:product_id;not null;comment:支付产品 id" json:"product_id"` // 支付产品 id StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 AllowFailureCount int64 `gorm:"column:allow_failure_count;not null;comment:允许订单连续失败笔数" json:"allow_failure_count"` // 允许订单连续失败笔数 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductRiskcontrol mapped from table <pay_product_riskcontrol>
func (*PayProductRiskcontrol) TableName ¶
func (*PayProductRiskcontrol) TableName() string
TableName PayProductRiskcontrol's table name
type PayProductStatistic ¶
type PayProductStatistic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID ProductID int64 `gorm:"column:product_id;not null;comment:支付产品 id" json:"product_id"` // 支付产品 id OrderAllCount int64 `gorm:"column:order_all_count;not null;comment:全部订单量" json:"order_all_count"` // 全部订单量 OrderCompleteCount int64 `gorm:"column:order_complete_count;not null;comment:已完成订单量" json:"order_complete_count"` // 已完成订单量 OrderAllAmount float64 `gorm:"column:order_all_amount;not null;default:0.00;comment:总订单交易金额" json:"order_all_amount"` // 总订单交易金额 OrderCompleteAmount float64 `gorm:"column:order_complete_amount;not null;default:0.00;comment:已完成订单交易金额" json:"order_complete_amount"` // 已完成订单交易金额 OrderFailureCount int64 `gorm:"column:order_failure_count;not null;comment:订单连续失败笔数" json:"order_failure_count"` // 订单连续失败笔数 AverageHandleTime int64 `gorm:"column:average_handle_time;not null;comment:完成订单平均处理时间" json:"average_handle_time"` // 完成订单平均处理时间 LastPayTime int64 `gorm:"column:last_pay_time;not null;comment:最后支付时间" json:"last_pay_time"` // 最后支付时间 LastNode string `gorm:"column:last_node;not null;comment:最后计算节点" json:"last_node"` // 最后计算节点 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductStatistic mapped from table <pay_product_statistics>
func (*PayProductStatistic) TableName ¶
func (*PayProductStatistic) TableName() string
TableName PayProductStatistic's table name
type PayProductSupplier ¶
type PayProductSupplier struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductSupplier mapped from table <pay_product_supplier>
func (*PayProductSupplier) TableName ¶
func (*PayProductSupplier) TableName() string
TableName PayProductSupplier's table name
type PayProductSupplierCharge ¶
type PayProductSupplierCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id ProductID int64 `gorm:"column:product_id;not null;comment:支付产品 id" json:"product_id"` // 支付产品 id ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:供应商平台交易的服务费 (单笔)" json:"service_charge"` // 供应商平台交易的服务费 (单笔) TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:供应商平台交易费率" json:"trade_rate"` // 供应商平台交易费率 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayProductSupplierCharge mapped from table <pay_product_supplier_charge>
func (*PayProductSupplierCharge) TableName ¶
func (*PayProductSupplierCharge) TableName() string
TableName PayProductSupplierCharge's table name
type PaySupplier ¶
type PaySupplier struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:推荐人" json:"pid"` // 推荐人 MasterID int64 `gorm:"column:master_id;comment:主 ID" json:"master_id"` // 主 ID Username string `gorm:"column:username;not null;comment:用户名" json:"username"` // 用户名 Nickname string `gorm:"column:nickname;not null;comment:昵称" json:"nickname"` // 昵称 Alias_ string `gorm:"column:alias;not null;comment:别名" json:"alias"` // 别名 Password string `gorm:"column:password;not null;comment:密码" json:"password"` // 密码 Invitecode string `gorm:"column:invitecode;not null;comment:邀请码" json:"invitecode"` // 邀请码 Phone string `gorm:"column:phone;not null;comment:手机号" json:"phone"` // 手机号 Email string `gorm:"column:email;not null;comment:电子邮箱" json:"email"` // 电子邮箱 Hashcode string `gorm:"column:hashcode;not null;comment:唯一标识符" json:"hashcode"` // 唯一标识符 SubSuffix string `gorm:"column:sub_suffix;not null;comment:域名前缀" json:"sub_suffix"` // 域名前缀 Avatar string `gorm:"column:avatar;comment:头像" json:"avatar"` // 头像 Status int64 `gorm:"column:status;not null;default:1;comment:帐号状态:1 启用,2 停用" json:"status"` // 帐号状态:1 启用,2 停用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 Roles string `gorm:"column:roles;not null;comment:角色 ID 拼接字符串" json:"roles"` // 角色 ID 拼接字符串 Token string `gorm:"column:token;not null;comment:用户鉴权字符串" json:"token"` // 用户鉴权字符串 F2a string `gorm:"column:f2a;not null;comment:用户二次认证码" json:"f2a"` // 用户二次认证码 F2aEnable int64 `gorm:"column:f2a_enable;not null;default:2;comment:二次认证强制开启:1 启用,2 禁用" json:"f2a_enable"` // 二次认证强制开启:1 启用,2 禁用 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 ErrorCount int64 `gorm:"column:error_count;not null;comment:错误次数" json:"error_count"` // 错误次数 }
PaySupplier mapped from table <pay_supplier>
func (*PaySupplier) TableName ¶
func (*PaySupplier) TableName() string
TableName PaySupplier's table name
type PaySupplierAccount ¶
type PaySupplierAccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.00;comment:可用余额" json:"balance"` // 可用余额 Frozen float64 `gorm:"column:frozen;not null;default:0.00;comment:冻结余额" json:"frozen"` // 冻结余额 Profit float64 `gorm:"column:profit;not null;default:0.00;comment:收益余额" json:"profit"` // 收益余额 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierAccount mapped from table <pay_supplier_account>
func (*PaySupplierAccount) TableName ¶
func (*PaySupplierAccount) TableName() string
TableName PaySupplierAccount's table name
type PaySupplierAccountChange ¶
type PaySupplierAccountChange struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.00;comment:余额快照" json:"balance"` // 余额快照 Frozen float64 `gorm:"column:frozen;not null;default:0.00;comment:冻结快照" json:"frozen"` // 冻结快照 Profit float64 `gorm:"column:profit;not null;default:0.00;comment:收益快照" json:"profit"` // 收益快照 Amount float64 `gorm:"column:amount;not null;default:0.00;comment:变动金额" json:"amount"` // 变动金额 Source int64 `` // 变动来源:1 交易,2 充值,3 提现,4 推荐返佣,5 盈利划转 /* 141-byte string literal not displayed */ Type int64 `gorm:"column:type;not null;default:1;comment:变动类型:1 余额,2 盈利" json:"type"` // 变动类型:1 余额,2 盈利 Way int64 `gorm:"column:way;not null;default:1;comment:变动方向:1 增加,2 减少" json:"way"` // 变动方向:1 增加,2 减少 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 冻结,2 已入账,3 已撤销" json:"status"` // 状态:1 冻结,2 已入账,3 已撤销 OrderNo string `gorm:"column:order_no;not null;comment:关联系统订单号" json:"order_no"` // 关联系统订单号 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierAccountChange mapped from table <pay_supplier_account_change>
func (*PaySupplierAccountChange) TableName ¶
func (*PaySupplierAccountChange) TableName() string
TableName PaySupplierAccountChange's table name
type PaySupplierBankcard ¶
type PaySupplierBankcard struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商商 id" json:"supplier_id"` // 供应商商 id AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierBankcard mapped from table <pay_supplier_bankcard>
func (*PaySupplierBankcard) TableName ¶
func (*PaySupplierBankcard) TableName() string
TableName PaySupplierBankcard's table name
type PaySupplierCharge ¶
type PaySupplierCharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id PaymentServiceCharge float64 `` // 商户平台代收交易服务费 (单笔) /* 139-byte string literal not displayed */ PaymentTradeRate float64 `gorm:"column:payment_trade_rate;not null;default:0.000000;comment:商户平台代收交易费率" json:"payment_trade_rate"` // 商户平台代收交易费率 PayoutServiceCharge float64 `` // 商户平台代付交易服务费 (单笔) /* 137-byte string literal not displayed */ PayoutTradeRate float64 `gorm:"column:payout_trade_rate;not null;default:0.000000;comment:商户平台代付交易费率" json:"payout_trade_rate"` // 商户平台代付交易费率 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierCharge mapped from table <pay_supplier_charge>
func (*PaySupplierCharge) TableName ¶
func (*PaySupplierCharge) TableName() string
TableName PaySupplierCharge's table name
type PaySupplierLoginLog ¶
type PaySupplierLoginLog struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id Device string `gorm:"column:device;comment:登录设备" json:"device"` // 登录设备 DeviceVersion string `gorm:"column:device_version;comment:设备版本号" json:"device_version"` // 设备版本号 Os string `gorm:"column:os;comment:操作系统" json:"os"` // 操作系统 OsVersion string `gorm:"column:os_version;comment:系统版本号" json:"os_version"` // 系统版本号 IP string `gorm:"column:ip;comment:登录 ip" json:"ip"` // 登录 ip CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 登录时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierLoginLog mapped from table <pay_supplier_login_log>
func (*PaySupplierLoginLog) TableName ¶
func (*PaySupplierLoginLog) TableName() string
TableName PaySupplierLoginLog's table name
type PaySupplierProduct ¶
type PaySupplierProduct struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierProduct mapped from table <pay_supplier_product>
func (*PaySupplierProduct) TableName ¶
func (*PaySupplierProduct) TableName() string
TableName PaySupplierProduct's table name
type PaySupplierRechargeConfig ¶
type PaySupplierRechargeConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:充值手续费率" json:"trade_rate"` // 充值手续费率 ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:充值服务费" json:"service_charge"` // 充值服务费 StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 FirstMinAmount float64 `gorm:"column:first_min_amount;not null;default:0.00;comment:首充最小金额" json:"first_min_amount"` // 首充最小金额 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小充值金额" json:"unit_min_amount"` // 单笔最小充值金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大充值金额" json:"unit_max_amount"` // 单笔最大充值金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大充值笔数" json:"day_max_count"` // 单日最大充值笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大充值金额" json:"day_max_amount"` // 单日最大充值金额 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierRechargeConfig mapped from table <pay_supplier_recharge_config>
func (*PaySupplierRechargeConfig) TableName ¶
func (*PaySupplierRechargeConfig) TableName() string
TableName PaySupplierRechargeConfig's table name
type PaySupplierRechargeOrder ¶
type PaySupplierRechargeOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id SystemBankcardID int64 `gorm:"column:system_bankcard_id;not null;comment:系统收款卡 id" json:"system_bankcard_id"` // 系统收款卡 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:充值金额" json:"amount"` // 充值金额 Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码,人民币:CNY" json:"exchange_currency"` // 换汇货币代码,人民币:CNY ExchangeAmount float64 `gorm:"column:exchange_amount;not null;default:0.0000;comment:换汇货币金额" json:"exchange_amount"` // 换汇货币金额 IncomeAmount float64 `gorm:"column:income_amount;not null;default:0.00;comment:到账金额" json:"income_amount"` // 到账金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:手续费" json:"trade_charge"` // 手续费 AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;comment:状态:0 待支付,1 已支付,2 已完成,-1 过期,-2 被驳回" json:"status"` // 状态:0 待支付,1 已支付,2 已完成,-1 过期,-2 被驳回 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 AuditFeedback string `gorm:"column:audit_feedback;comment:审核反馈" json:"audit_feedback"` // 审核反馈 Auditor int64 `gorm:"column:auditor;comment:审核员 ID" json:"auditor"` // 审核员 ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierRechargeOrder mapped from table <pay_supplier_recharge_order>
func (*PaySupplierRechargeOrder) TableName ¶
func (*PaySupplierRechargeOrder) TableName() string
TableName PaySupplierRechargeOrder's table name
type PaySupplierRiskcontrol ¶
type PaySupplierRiskcontrol struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierRiskcontrol mapped from table <pay_supplier_riskcontrol>
func (*PaySupplierRiskcontrol) TableName ¶
func (*PaySupplierRiskcontrol) TableName() string
TableName PaySupplierRiskcontrol's table name
type PaySupplierRole ¶
type PaySupplierRole struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Code string `gorm:"column:code;not null;comment:编码" json:"code"` // 编码 Rules string `gorm:"column:rules;not null;comment:权限 ID 拼接字符串" json:"rules"` // 权限 ID 拼接字符串 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,0 禁用" json:"status"` // 状态:1 启用,0 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Default int64 `gorm:"column:_default;not null;comment:缺省状态:0 无,1 缺省|不可删" json:"_default"` // 缺省状态:0 无,1 缺省|不可删 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierRole mapped from table <pay_supplier_role>
func (*PaySupplierRole) TableName ¶
func (*PaySupplierRole) TableName() string
TableName PaySupplierRole's table name
type PaySupplierRule ¶
type PaySupplierRule struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:父 id" json:"pid"` // 父 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Icon string `gorm:"column:icon;not null;comment:图标" json:"icon"` // 图标 URL string `gorm:"column:url;not null;comment:路由地址 (页面或外链)" json:"url"` // 路由地址 (页面或外链) Code string `gorm:"column:code;not null;comment:权限标识码" json:"code"` // 权限标识码 Type int64 `gorm:"column:type;not null;default:1;comment:类型:1 目录,2 菜单,3 按钮" json:"type"` // 类型:1 目录,2 菜单,3 按钮 LinkStatus int64 `gorm:"column:link_status;not null;comment:外链状态:1 外链,0 内部" json:"link_status"` // 外链状态:1 外链,0 内部 HideStatus int64 `gorm:"column:hide_status;not null;comment:隐藏状态:1 隐藏,0 展示" json:"hide_status"` // 隐藏状态:1 隐藏,0 展示 Sort int64 `gorm:"column:sort;not null;comment:自然数排序值" json:"sort"` // 自然数排序值 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,0 禁用" json:"status"` // 状态:1 启用,0 禁用 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierRule mapped from table <pay_supplier_rule>
func (*PaySupplierRule) TableName ¶
func (*PaySupplierRule) TableName() string
TableName PaySupplierRule's table name
type PaySupplierStatistic ¶
type PaySupplierStatistic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 OrderAllCount int64 `gorm:"column:order_all_count;not null;comment:全部订单量" json:"order_all_count"` // 全部订单量 OrderCompleteCount int64 `gorm:"column:order_complete_count;not null;comment:已完成订单量" json:"order_complete_count"` // 已完成订单量 OrderAllAmount float64 `gorm:"column:order_all_amount;not null;default:0.00;comment:总订单交易金额" json:"order_all_amount"` // 总订单交易金额 OrderCompleteAmount float64 `gorm:"column:order_complete_amount;not null;default:0.00;comment:已完成订单交易金额" json:"order_complete_amount"` // 已完成订单交易金额 AverageHandleTime int64 `gorm:"column:average_handle_time;not null;comment:完成订单平均处理时间" json:"average_handle_time"` // 完成订单平均处理时间 LastPayTime int64 `gorm:"column:last_pay_time;not null;comment:最后支付时间" json:"last_pay_time"` // 最后支付时间 LastNode string `gorm:"column:last_node;not null;comment:最后计算节点" json:"last_node"` // 最后计算节点 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierStatistic mapped from table <pay_supplier_statistics>
func (*PaySupplierStatistic) TableName ¶
func (*PaySupplierStatistic) TableName() string
TableName PaySupplierStatistic's table name
type PaySupplierWithdrawlConfig ¶
type PaySupplierWithdrawlConfig struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商 id" json:"supplier_id"` // 供应商 id TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:充值手续费率" json:"trade_rate"` // 充值手续费率 ServiceCharge float64 `gorm:"column:service_charge;not null;default:0.00;comment:充值服务费" json:"service_charge"` // 充值服务费 StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大交易笔数" json:"day_max_count"` // 单日最大交易笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 SettleMethod int64 `gorm:"column:settle_method;not null;default:1;comment:结算周期:1T0,2T1" json:"settle_method"` // 结算周期:1T0,2T1 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierWithdrawlConfig mapped from table <pay_supplier_withdrawl_config>
func (*PaySupplierWithdrawlConfig) TableName ¶
func (*PaySupplierWithdrawlConfig) TableName() string
TableName PaySupplierWithdrawlConfig's table name
type PaySupplierWithdrawlOrder ¶
type PaySupplierWithdrawlOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 SupplierID int64 `gorm:"column:supplier_id;not null;comment:供应商商 id" json:"supplier_id"` // 供应商商 id SupplierBankcardID int64 `gorm:"column:supplier_bankcard_id;not null;comment:供应商收款卡 id" json:"supplier_bankcard_id"` // 供应商收款卡 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:提现金额" json:"amount"` // 提现金额 Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码,人民币:CNY" json:"exchange_currency"` // 换汇货币代码,人民币:CNY ExchangeAmount float64 `gorm:"column:exchange_amount;not null;default:0.0000;comment:换汇货币金额" json:"exchange_amount"` // 换汇货币金额 IncomeAmount float64 `gorm:"column:income_amount;not null;default:0.00;comment:到账金额" json:"income_amount"` // 到账金额 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:手续费" json:"trade_charge"` // 手续费 AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `` // 状态:0 待确认,1 处理中,2 已完成,-1 撤销,-2 被驳回 /* 127-byte string literal not displayed */ Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 AuditFeedback string `gorm:"column:audit_feedback;comment:审核反馈" json:"audit_feedback"` // 审核反馈 Auditor int64 `gorm:"column:auditor;comment:审核员 ID" json:"auditor"` // 审核员 ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySupplierWithdrawlOrder mapped from table <pay_supplier_withdrawl_order>
func (*PaySupplierWithdrawlOrder) TableName ¶
func (*PaySupplierWithdrawlOrder) TableName() string
TableName PaySupplierWithdrawlOrder's table name
type PaySystemAccount ¶
type PaySystemAccount struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码:三字母大写" json:"exchange_currency"` // 换汇货币代码:三字母大写 ExchangeRate float64 `gorm:"column:exchange_rate;not null;default:0.000000;comment:换汇平均汇率" json:"exchange_rate"` // 换汇平均汇率 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:余额" json:"balance"` // 余额 Frozen float64 `gorm:"column:frozen;not null;default:0.0000;comment:冻结余额" json:"frozen"` // 冻结余额 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySystemAccount mapped from table <pay_system_account>
func (*PaySystemAccount) TableName ¶
func (*PaySystemAccount) TableName() string
TableName PaySystemAccount's table name
type PaySystemAccountChange ¶
type PaySystemAccountChange struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Currency string `gorm:"column:currency;not null;comment:货币代码:三字母大写" json:"currency"` // 货币代码:三字母大写 Balance float64 `gorm:"column:balance;not null;default:0.0000;comment:可用余额快照" json:"balance"` // 可用余额快照 Frozen float64 `gorm:"column:frozen;not null;default:0.00;comment:冻结快照" json:"frozen"` // 冻结快照 Amount float64 `gorm:"column:amount;not null;default:0.0000;comment:变动金额" json:"amount"` // 变动金额 ExchangeAmount float64 `gorm:"column:exchange_amount;not null;default:0.00;comment:换汇金额" json:"exchange_amount"` // 换汇金额 ExchangeCurrency string `gorm:"column:exchange_currency;not null;comment:换汇货币代码:三字母大写" json:"exchange_currency"` // 换汇货币代码:三字母大写 ExchangeRate float64 `gorm:"column:exchange_rate;not null;default:0.000000;comment:换汇汇率" json:"exchange_rate"` // 换汇汇率 AccountExchangeRate float64 `` // 变动前账户平均汇率 /* 126-byte string literal not displayed */ Source int64 `gorm:"column:source;not null;default:3;comment:变动来源:1 充值,2 提现,3 其它" json:"source"` // 变动来源:1 充值,2 提现,3 其它 Way int64 `gorm:"column:way;not null;default:1;comment:变动方向:1 增加,2 减少" json:"way"` // 变动方向:1 增加,2 减少 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 冻结,2 已入账,3 已撤销" json:"status"` // 状态:1 冻结,2 已入账,3 已撤销 OrderNo string `gorm:"column:order_no;not null;comment:关联系统订单号" json:"order_no"` // 关联系统订单号 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySystemAccountChange mapped from table <pay_system_account_change>
func (*PaySystemAccountChange) TableName ¶
func (*PaySystemAccountChange) TableName() string
TableName PaySystemAccountChange's table name
type PaySystemBankcard ¶
type PaySystemBankcard struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID AccountName string `gorm:"column:account_name;not null;comment:持卡人姓名" json:"account_name"` // 持卡人姓名 AccountNo string `gorm:"column:account_no;not null;comment:卡号" json:"account_no"` // 卡号 BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称 BankBranch string `gorm:"column:bank_branch;not null;comment:支行" json:"bank_branch"` // 支行 Province string `gorm:"column:province;comment:省" json:"province"` // 省 City string `gorm:"column:city;not null;comment:市" json:"city"` // 市 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySystemBankcard mapped from table <pay_system_bankcard>
func (*PaySystemBankcard) TableName ¶
func (*PaySystemBankcard) TableName() string
TableName PaySystemBankcard's table name
type PaySystemBankcardRiskcontrol ¶
type PaySystemBankcardRiskcontrol struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID BankcardID int64 `gorm:"column:bankcard_id;not null;comment:银行卡 ID" json:"bankcard_id"` // 银行卡 ID StartTime string `gorm:"column:start_time;not null;comment:开始时间" json:"start_time"` // 开始时间 EndTime string `gorm:"column:end_time;not null;comment:结束时间" json:"end_time"` // 结束时间 UnitMinAmount float64 `gorm:"column:unit_min_amount;not null;default:0.00;comment:单笔最小交易金额" json:"unit_min_amount"` // 单笔最小交易金额 UnitMaxAmount float64 `gorm:"column:unit_max_amount;not null;default:0.00;comment:单笔最大交易金额" json:"unit_max_amount"` // 单笔最大交易金额 DayMaxCount int64 `gorm:"column:day_max_count;not null;comment:单日最大交易笔数" json:"day_max_count"` // 单日最大交易笔数 DayMaxAmount float64 `gorm:"column:day_max_amount;not null;default:0.00;comment:单日最大交易金额" json:"day_max_amount"` // 单日最大交易金额 Status int64 `gorm:"column:status;not null;default:1;comment:状态:1 启用,2 关闭" json:"status"` // 状态:1 启用,2 关闭 IsSystem int64 `gorm:"column:is_system;not null;comment:是否系统设置:1 是,0 不是" json:"is_system"` // 是否系统设置:1 是,0 不是 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySystemBankcardRiskcontrol mapped from table <pay_system_bankcard_riskcontrol>
func (*PaySystemBankcardRiskcontrol) TableName ¶
func (*PaySystemBankcardRiskcontrol) TableName() string
TableName PaySystemBankcardRiskcontrol's table name
type PaySystemBankcardStatistic ¶
type PaySystemBankcardStatistic struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID BankcardID int64 `gorm:"column:bankcard_id;not null;comment:银行卡 ID" json:"bankcard_id"` // 银行卡 ID OrderAllCount int64 `gorm:"column:order_all_count;not null;comment:全部订单量" json:"order_all_count"` // 全部订单量 OrderCompleteCount int64 `gorm:"column:order_complete_count;not null;comment:已完成订单量" json:"order_complete_count"` // 已完成订单量 OrderAllAmount float64 `gorm:"column:order_all_amount;not null;default:0.00;comment:总订单交易金额" json:"order_all_amount"` // 总订单交易金额 OrderCompleteAmount float64 `gorm:"column:order_complete_amount;not null;default:0.00;comment:已完成订单交易金额" json:"order_complete_amount"` // 已完成订单交易金额 OrderFailureCount int64 `gorm:"column:order_failure_count;not null;comment:订单连续失败笔数" json:"order_failure_count"` // 订单连续失败笔数 AverageHandleTime int64 `gorm:"column:average_handle_time;not null;comment:完成订单平均处理时间" json:"average_handle_time"` // 完成订单平均处理时间 LastPayTime int64 `gorm:"column:last_pay_time;not null;comment:最后支付时间" json:"last_pay_time"` // 最后支付时间 LastNode string `gorm:"column:last_node;not null;comment:最后计算节点" json:"last_node"` // 最后计算节点 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaySystemBankcardStatistic mapped from table <pay_system_bankcard_statistics>
func (*PaySystemBankcardStatistic) TableName ¶
func (*PaySystemBankcardStatistic) TableName() string
TableName PaySystemBankcardStatistic's table name
type PayTag ¶
type PayTag struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID Pid int64 `gorm:"column:pid;comment:父 id" json:"pid"` // 父 id Name string `gorm:"column:name;not null;comment:名称" json:"name"` // 名称 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayTag mapped from table <pay_tags>
type PayTelegram ¶
type PayTelegram struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` Delete_ soft_delete.DeletedAt `gorm:"column:_delete" json:"-"` MerchantID int64 `gorm:"column:merchant_id" json:"merchant_id"` AppID string `gorm:"column:app_id" json:"app_id"` ChatID int64 `gorm:"column:chat_id" json:"chat_id"` ChatTitle string `gorm:"column:chat_title" json:"chat_title"` UserID int64 `gorm:"column:user_id" json:"user_id"` Username string `gorm:"column:username" json:"username"` Role int64 `gorm:"column:role" json:"role"` Operate string `gorm:"column:operate" json:"operate"` }
PayTelegram mapped from table <pay_telegram>
func (*PayTelegram) TableName ¶
func (*PayTelegram) TableName() string
TableName PayTelegram's table name
type PaymentArchiveInfo ¶
type PaymentArchiveInfo struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID TableName_ string `gorm:"column:table_name;not null;comment:表名" json:"table_name"` // 表名 TableSize int64 `gorm:"column:table_size;not null;comment:表数据量大小" json:"table_size"` // 表数据量大小 StartTime int64 `gorm:"column:start_time;not null;comment:表数据开始时间" json:"start_time"` // 表数据开始时间 EndTime int64 `gorm:"column:end_time;not null;comment:表数据结束时间" json:"end_time"` // 表数据结束时间 StartID int64 `gorm:"column:start_id;not null;comment:起始订单 id" json:"start_id"` // 起始订单 id EndID int64 `gorm:"column:end_id;not null;comment:截止订单 id" json:"end_id"` // 截止订单 id Status int64 `gorm:"column:status;not null;default:2;comment:状态:1 活跃,2 已静态化" json:"status"` // 状态:1 活跃,2 已静态化 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentArchiveInfo mapped from table <payment_archive_info>
func (*PaymentArchiveInfo) TableName ¶
func (*PaymentArchiveInfo) TableName() string
TableName PaymentArchiveInfo's table name
type PaymentOrder ¶
type PaymentOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Settlement int64 `gorm:"column:settlement;not null;comment:结算状态:0 无,1 待结算,2 结算中,3 已结算" json:"settlement"` // 结算状态:0 无,1 待结算,2 结算中,3 已结算 SettlementTime int64 `gorm:"column:settlement_time;comment:结算时间" json:"settlement_time"` // 结算时间 UsdRate float64 `gorm:"column:usd_rate;not null;default:0.000000;comment:usd 交换汇率" json:"usd_rate"` // usd 交换汇率 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Sync int64 `gorm:"column:_sync;not null;default:1;comment:同步状态:1 待同步,2 已同步" json:"_sync"` // 同步状态:1 待同步,2 已同步 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Seed int64 `gorm:"column:seed;not null" json:"seed"` }
PaymentOrder mapped from table <payment_order>
func (*PaymentOrder) TableName ¶
func (*PaymentOrder) TableName() string
TableName PaymentOrder's table name
type PaymentOrderArchive001 ¶
type PaymentOrderArchive001 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive001 mapped from table <payment_order_archive_001>
func (*PaymentOrderArchive001) TableName ¶
func (*PaymentOrderArchive001) TableName() string
TableName PaymentOrderArchive001's table name
type PaymentOrderArchive002 ¶
type PaymentOrderArchive002 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive002 mapped from table <payment_order_archive_002>
func (*PaymentOrderArchive002) TableName ¶
func (*PaymentOrderArchive002) TableName() string
TableName PaymentOrderArchive002's table name
type PaymentOrderArchive003 ¶
type PaymentOrderArchive003 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive003 mapped from table <payment_order_archive_003>
func (*PaymentOrderArchive003) TableName ¶
func (*PaymentOrderArchive003) TableName() string
TableName PaymentOrderArchive003's table name
type PaymentOrderArchive004 ¶
type PaymentOrderArchive004 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive004 mapped from table <payment_order_archive_004>
func (*PaymentOrderArchive004) TableName ¶
func (*PaymentOrderArchive004) TableName() string
TableName PaymentOrderArchive004's table name
type PaymentOrderArchive005 ¶
type PaymentOrderArchive005 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive005 mapped from table <payment_order_archive_005>
func (*PaymentOrderArchive005) TableName ¶
func (*PaymentOrderArchive005) TableName() string
TableName PaymentOrderArchive005's table name
type PaymentOrderArchive006 ¶
type PaymentOrderArchive006 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive006 mapped from table <payment_order_archive_006>
func (*PaymentOrderArchive006) TableName ¶
func (*PaymentOrderArchive006) TableName() string
TableName PaymentOrderArchive006's table name
type PaymentOrderArchive007 ¶
type PaymentOrderArchive007 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive007 mapped from table <payment_order_archive_007>
func (*PaymentOrderArchive007) TableName ¶
func (*PaymentOrderArchive007) TableName() string
TableName PaymentOrderArchive007's table name
type PaymentOrderArchive008 ¶
type PaymentOrderArchive008 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive008 mapped from table <payment_order_archive_008>
func (*PaymentOrderArchive008) TableName ¶
func (*PaymentOrderArchive008) TableName() string
TableName PaymentOrderArchive008's table name
type PaymentOrderArchive009 ¶
type PaymentOrderArchive009 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive009 mapped from table <payment_order_archive_009>
func (*PaymentOrderArchive009) TableName ¶
func (*PaymentOrderArchive009) TableName() string
TableName PaymentOrderArchive009's table name
type PaymentOrderArchive010 ¶
type PaymentOrderArchive010 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive010 mapped from table <payment_order_archive_010>
func (*PaymentOrderArchive010) TableName ¶
func (*PaymentOrderArchive010) TableName() string
TableName PaymentOrderArchive010's table name
type PaymentOrderArchive230213063039 ¶
type PaymentOrderArchive230213063039 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230213063039 mapped from table <payment_order_archive_230213063039>
func (*PaymentOrderArchive230213063039) TableName ¶
func (*PaymentOrderArchive230213063039) TableName() string
TableName PaymentOrderArchive230213063039's table name
type PaymentOrderArchive230309021340 ¶
type PaymentOrderArchive230309021340 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230309021340 mapped from table <payment_order_archive_230309021340>
func (*PaymentOrderArchive230309021340) TableName ¶
func (*PaymentOrderArchive230309021340) TableName() string
TableName PaymentOrderArchive230309021340's table name
type PaymentOrderArchive230320135297 ¶
type PaymentOrderArchive230320135297 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230320135297 mapped from table <payment_order_archive_230320135297>
func (*PaymentOrderArchive230320135297) TableName ¶
func (*PaymentOrderArchive230320135297) TableName() string
TableName PaymentOrderArchive230320135297's table name
type PaymentOrderArchive230405013425 ¶
type PaymentOrderArchive230405013425 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230405013425 mapped from table <payment_order_archive_230405013425>
func (*PaymentOrderArchive230405013425) TableName ¶
func (*PaymentOrderArchive230405013425) TableName() string
TableName PaymentOrderArchive230405013425's table name
type PaymentOrderArchive230418185297 ¶
type PaymentOrderArchive230418185297 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230418185297 mapped from table <payment_order_archive_230418185297>
func (*PaymentOrderArchive230418185297) TableName ¶
func (*PaymentOrderArchive230418185297) TableName() string
TableName PaymentOrderArchive230418185297's table name
type PaymentOrderArchive230427203000 ¶
type PaymentOrderArchive230427203000 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230427203000 mapped from table <payment_order_archive_230427203000>
func (*PaymentOrderArchive230427203000) TableName ¶
func (*PaymentOrderArchive230427203000) TableName() string
TableName PaymentOrderArchive230427203000's table name
type PaymentOrderArchive230503003399 ¶
type PaymentOrderArchive230503003399 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230503003399 mapped from table <payment_order_archive_230503003399>
func (*PaymentOrderArchive230503003399) TableName ¶
func (*PaymentOrderArchive230503003399) TableName() string
TableName PaymentOrderArchive230503003399's table name
type PaymentOrderArchive230504104353 ¶
type PaymentOrderArchive230504104353 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230504104353 mapped from table <payment_order_archive_230504104353>
func (*PaymentOrderArchive230504104353) TableName ¶
func (*PaymentOrderArchive230504104353) TableName() string
TableName PaymentOrderArchive230504104353's table name
type PaymentOrderArchive230510150071 ¶
type PaymentOrderArchive230510150071 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230510150071 mapped from table <payment_order_archive_230510150071>
func (*PaymentOrderArchive230510150071) TableName ¶
func (*PaymentOrderArchive230510150071) TableName() string
TableName PaymentOrderArchive230510150071's table name
type PaymentOrderArchive230517042080 ¶
type PaymentOrderArchive230517042080 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230517042080 mapped from table <payment_order_archive_230517042080>
func (*PaymentOrderArchive230517042080) TableName ¶
func (*PaymentOrderArchive230517042080) TableName() string
TableName PaymentOrderArchive230517042080's table name
type PaymentOrderArchive230524212170 ¶
type PaymentOrderArchive230524212170 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230524212170 mapped from table <payment_order_archive_230524212170>
func (*PaymentOrderArchive230524212170) TableName ¶
func (*PaymentOrderArchive230524212170) TableName() string
TableName PaymentOrderArchive230524212170's table name
type PaymentOrderArchive230531193678 ¶
type PaymentOrderArchive230531193678 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230531193678 mapped from table <payment_order_archive_230531193678>
func (*PaymentOrderArchive230531193678) TableName ¶
func (*PaymentOrderArchive230531193678) TableName() string
TableName PaymentOrderArchive230531193678's table name
type PaymentOrderArchive230713172724 ¶
type PaymentOrderArchive230713172724 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230713172724 mapped from table <payment_order_archive_230713172724>
func (*PaymentOrderArchive230713172724) TableName ¶
func (*PaymentOrderArchive230713172724) TableName() string
TableName PaymentOrderArchive230713172724's table name
type PaymentOrderArchive230714132700 ¶
type PaymentOrderArchive230714132700 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230714132700 mapped from table <payment_order_archive_230714132700>
func (*PaymentOrderArchive230714132700) TableName ¶
func (*PaymentOrderArchive230714132700) TableName() string
TableName PaymentOrderArchive230714132700's table name
type PaymentOrderArchive230715092714 ¶
type PaymentOrderArchive230715092714 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230715092714 mapped from table <payment_order_archive_230715092714>
func (*PaymentOrderArchive230715092714) TableName ¶
func (*PaymentOrderArchive230715092714) TableName() string
TableName PaymentOrderArchive230715092714's table name
type PaymentOrderArchive230722163072 ¶
type PaymentOrderArchive230722163072 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230722163072 mapped from table <payment_order_archive_230722163072>
func (*PaymentOrderArchive230722163072) TableName ¶
func (*PaymentOrderArchive230722163072) TableName() string
TableName PaymentOrderArchive230722163072's table name
type PaymentOrderArchive230729210933 ¶
type PaymentOrderArchive230729210933 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230729210933 mapped from table <payment_order_archive_230729210933>
func (*PaymentOrderArchive230729210933) TableName ¶
func (*PaymentOrderArchive230729210933) TableName() string
TableName PaymentOrderArchive230729210933's table name
type PaymentOrderArchive230804152619 ¶
type PaymentOrderArchive230804152619 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230804152619 mapped from table <payment_order_archive_230804152619>
func (*PaymentOrderArchive230804152619) TableName ¶
func (*PaymentOrderArchive230804152619) TableName() string
TableName PaymentOrderArchive230804152619's table name
type PaymentOrderArchive230809235992 ¶
type PaymentOrderArchive230809235992 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230809235992 mapped from table <payment_order_archive_230809235992>
func (*PaymentOrderArchive230809235992) TableName ¶
func (*PaymentOrderArchive230809235992) TableName() string
TableName PaymentOrderArchive230809235992's table name
type PaymentOrderArchive230811112569 ¶
type PaymentOrderArchive230811112569 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230811112569 mapped from table <payment_order_archive_230811112569>
func (*PaymentOrderArchive230811112569) TableName ¶
func (*PaymentOrderArchive230811112569) TableName() string
TableName PaymentOrderArchive230811112569's table name
type PaymentOrderArchive230812072505 ¶
type PaymentOrderArchive230812072505 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230812072505 mapped from table <payment_order_archive_230812072505>
func (*PaymentOrderArchive230812072505) TableName ¶
func (*PaymentOrderArchive230812072505) TableName() string
TableName PaymentOrderArchive230812072505's table name
type PaymentOrderArchive230813034849 ¶
type PaymentOrderArchive230813034849 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230813034849 mapped from table <payment_order_archive_230813034849>
func (*PaymentOrderArchive230813034849) TableName ¶
func (*PaymentOrderArchive230813034849) TableName() string
TableName PaymentOrderArchive230813034849's table name
type PaymentOrderArchive230813235976 ¶
type PaymentOrderArchive230813235976 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230813235976 mapped from table <payment_order_archive_230813235976>
func (*PaymentOrderArchive230813235976) TableName ¶
func (*PaymentOrderArchive230813235976) TableName() string
TableName PaymentOrderArchive230813235976's table name
type PaymentOrderArchive230815194017 ¶
type PaymentOrderArchive230815194017 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230815194017 mapped from table <payment_order_archive_230815194017>
func (*PaymentOrderArchive230815194017) TableName ¶
func (*PaymentOrderArchive230815194017) TableName() string
TableName PaymentOrderArchive230815194017's table name
type PaymentOrderArchive230816200050 ¶
type PaymentOrderArchive230816200050 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230816200050 mapped from table <payment_order_archive_230816200050>
func (*PaymentOrderArchive230816200050) TableName ¶
func (*PaymentOrderArchive230816200050) TableName() string
TableName PaymentOrderArchive230816200050's table name
type PaymentOrderArchive230817160697 ¶
type PaymentOrderArchive230817160697 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230817160697 mapped from table <payment_order_archive_230817160697>
func (*PaymentOrderArchive230817160697) TableName ¶
func (*PaymentOrderArchive230817160697) TableName() string
TableName PaymentOrderArchive230817160697's table name
type PaymentOrderArchive230819200923 ¶
type PaymentOrderArchive230819200923 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230819200923 mapped from table <payment_order_archive_230819200923>
func (*PaymentOrderArchive230819200923) TableName ¶
func (*PaymentOrderArchive230819200923) TableName() string
TableName PaymentOrderArchive230819200923's table name
type PaymentOrderArchive230822044851 ¶
type PaymentOrderArchive230822044851 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230822044851 mapped from table <payment_order_archive_230822044851>
func (*PaymentOrderArchive230822044851) TableName ¶
func (*PaymentOrderArchive230822044851) TableName() string
TableName PaymentOrderArchive230822044851's table name
type PaymentOrderArchive230824213057 ¶
type PaymentOrderArchive230824213057 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230824213057 mapped from table <payment_order_archive_230824213057>
func (*PaymentOrderArchive230824213057) TableName ¶
func (*PaymentOrderArchive230824213057) TableName() string
TableName PaymentOrderArchive230824213057's table name
type PaymentOrderArchive230827023460 ¶
type PaymentOrderArchive230827023460 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230827023460 mapped from table <payment_order_archive_230827023460>
func (*PaymentOrderArchive230827023460) TableName ¶
func (*PaymentOrderArchive230827023460) TableName() string
TableName PaymentOrderArchive230827023460's table name
type PaymentOrderArchive230829034728 ¶
type PaymentOrderArchive230829034728 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230829034728 mapped from table <payment_order_archive_230829034728>
func (*PaymentOrderArchive230829034728) TableName ¶
func (*PaymentOrderArchive230829034728) TableName() string
TableName PaymentOrderArchive230829034728's table name
type PaymentOrderArchive230831002681 ¶
type PaymentOrderArchive230831002681 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230831002681 mapped from table <payment_order_archive_230831002681>
func (*PaymentOrderArchive230831002681) TableName ¶
func (*PaymentOrderArchive230831002681) TableName() string
TableName PaymentOrderArchive230831002681's table name
type PaymentOrderArchive230901225964 ¶
type PaymentOrderArchive230901225964 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230901225964 mapped from table <payment_order_archive_230901225964>
func (*PaymentOrderArchive230901225964) TableName ¶
func (*PaymentOrderArchive230901225964) TableName() string
TableName PaymentOrderArchive230901225964's table name
type PaymentOrderArchive230903211786 ¶
type PaymentOrderArchive230903211786 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230903211786 mapped from table <payment_order_archive_230903211786>
func (*PaymentOrderArchive230903211786) TableName ¶
func (*PaymentOrderArchive230903211786) TableName() string
TableName PaymentOrderArchive230903211786's table name
type PaymentOrderArchive230906074367 ¶
type PaymentOrderArchive230906074367 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230906074367 mapped from table <payment_order_archive_230906074367>
func (*PaymentOrderArchive230906074367) TableName ¶
func (*PaymentOrderArchive230906074367) TableName() string
TableName PaymentOrderArchive230906074367's table name
type PaymentOrderArchive230909045310 ¶
type PaymentOrderArchive230909045310 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderArchive230909045310 mapped from table <payment_order_archive_230909045310>
func (*PaymentOrderArchive230909045310) TableName ¶
func (*PaymentOrderArchive230909045310) TableName() string
TableName PaymentOrderArchive230909045310's table name
type PaymentOrderCache ¶
type PaymentOrderCache struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Sync int64 `gorm:"column:_sync;not null;default:1;comment:同步状态:1 待同步,2 已同步" json:"_sync"` // 同步状态:1 待同步,2 已同步 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderCache mapped from table <payment_order_cache>
func (*PaymentOrderCache) TableName ¶
func (*PaymentOrderCache) TableName() string
TableName PaymentOrderCache's table name
type PaymentOrderHistory ¶
type PaymentOrderHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderHistory mapped from table <payment_order_history>
func (*PaymentOrderHistory) TableName ¶
func (*PaymentOrderHistory) TableName() string
TableName PaymentOrderHistory's table name
type PaymentOrderHistoryBack ¶
type PaymentOrderHistoryBack struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;not null;comment:产品 id" json:"product_id"` // 产品 id ProductAccountID int64 `gorm:"column:product_account_id;not null;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message" json:"channel_error_message"` Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Settlement int64 `gorm:"column:settlement;not null;comment:结算状态:0 无,1 待结算,2 结算中,3 已结算" json:"settlement"` // 结算状态:0 无,1 待结算,2 结算中,3 已结算 SettlementTime int64 `gorm:"column:settlement_time;comment:结算时间" json:"settlement_time"` // 结算时间 UsdRate float64 `gorm:"column:usd_rate;not null;default:0.000000;comment:usd 交换汇率" json:"usd_rate"` // usd 交换汇率 Remark string `gorm:"column:remark;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Sync int64 `gorm:"column:_sync;not null;default:1;comment:同步状态:1 待同步,2 已同步" json:"_sync"` // 同步状态:1 待同步,2 已同步 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderHistoryBack mapped from table <payment_order_history_back>
func (*PaymentOrderHistoryBack) TableName ¶
func (*PaymentOrderHistoryBack) TableName() string
TableName PaymentOrderHistoryBack's table name
type PaymentOrderIndex ¶
type PaymentOrderIndex struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 }
PaymentOrderIndex mapped from table <payment_order_index>
func (*PaymentOrderIndex) TableName ¶
func (*PaymentOrderIndex) TableName() string
TableName PaymentOrderIndex's table name
type PaymentOrderResult ¶
type PaymentOrderResult struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderID int64 `gorm:"column:order_id;not null;comment:订单 id" json:"order_id"` // 订单 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 ChannelResult datatypes.JSON `gorm:"column:channel_result;comment:上游数据返回" json:"channel_result"` // 上游数据返回 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderResult mapped from table <payment_order_result>
func (*PaymentOrderResult) TableName ¶
func (*PaymentOrderResult) TableName() string
TableName PaymentOrderResult's table name
type PaymentOrderResultHistory ¶
type PaymentOrderResultHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderID int64 `gorm:"column:order_id;not null;comment:订单 id" json:"order_id"` // 订单 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 ChannelResult datatypes.JSON `gorm:"column:channel_result;comment:上游数据返回" json:"channel_result"` // 上游数据返回 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PaymentOrderResultHistory mapped from table <payment_order_result_history>
func (*PaymentOrderResultHistory) TableName ¶
func (*PaymentOrderResultHistory) TableName() string
TableName PaymentOrderResultHistory's table name
type PayoutArchiveInfo ¶
type PayoutArchiveInfo struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID TableName_ string `gorm:"column:table_name;not null;comment:表名" json:"table_name"` // 表名 TableSize int64 `gorm:"column:table_size;not null;comment:表数据量大小" json:"table_size"` // 表数据量大小 StartTime int64 `gorm:"column:start_time;not null;comment:起始订单时间" json:"start_time"` // 起始订单时间 EndTime int64 `gorm:"column:end_time;not null;comment:截止订单时间" json:"end_time"` // 截止订单时间 StartID int64 `gorm:"column:start_id;comment:起始订单 id" json:"start_id"` // 起始订单 id EndID int64 `gorm:"column:end_id;comment:截止订单 id" json:"end_id"` // 截止订单 id Status int64 `gorm:"column:status;not null;default:2;comment:状态:1 活跃,2 已静态化" json:"status"` // 状态:1 活跃,2 已静态化 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutArchiveInfo mapped from table <payout_archive_info>
func (*PayoutArchiveInfo) TableName ¶
func (*PayoutArchiveInfo) TableName() string
TableName PayoutArchiveInfo's table name
type PayoutOrder ¶
type PayoutOrder struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 TaskStatus int64 `gorm:"column:task_status;not null;comment:任务状态:0 无,1 待执行,2 执行中,3 已执行" json:"task_status"` // 任务状态:0 无,1 待执行,2 执行中,3 已执行 TaskTime int64 `gorm:"column:task_time;comment:任务计划时间或实际执行时间" json:"task_time"` // 任务计划时间或实际执行时间 Settlement int64 `gorm:"column:settlement;not null;comment:结算状态:0 无,1 待结算,2 结算中,3 已结算" json:"settlement"` // 结算状态:0 无,1 待结算,2 结算中,3 已结算 SettlementTime int64 `gorm:"column:settlement_time;comment:结算时间" json:"settlement_time"` // 结算时间 Remark string `gorm:"column:remark;not null;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Sync int64 `gorm:"column:_sync;not null;default:1;comment:同步状态:1 待同步,2 已同步" json:"_sync"` // 同步状态:1 待同步,2 已同步 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrder mapped from table <payout_order>
func (*PayoutOrder) TableName ¶
func (*PayoutOrder) TableName() string
TableName PayoutOrder's table name
type PayoutOrderArchive001 ¶
type PayoutOrderArchive001 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive001 mapped from table <payout_order_archive_001>
func (*PayoutOrderArchive001) TableName ¶
func (*PayoutOrderArchive001) TableName() string
TableName PayoutOrderArchive001's table name
type PayoutOrderArchive002 ¶
type PayoutOrderArchive002 struct { ID int64 `gorm:"column:id;primaryKey;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive002 mapped from table <payout_order_archive_002>
func (*PayoutOrderArchive002) TableName ¶
func (*PayoutOrderArchive002) TableName() string
TableName PayoutOrderArchive002's table name
type PayoutOrderArchive230213063066 ¶
type PayoutOrderArchive230213063066 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230213063066 mapped from table <payout_order_archive_230213063066>
func (*PayoutOrderArchive230213063066) TableName ¶
func (*PayoutOrderArchive230213063066) TableName() string
TableName PayoutOrderArchive230213063066's table name
type PayoutOrderArchive230213063067 ¶
type PayoutOrderArchive230213063067 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230213063067 mapped from table <payout_order_archive_230213063067>
func (*PayoutOrderArchive230213063067) TableName ¶
func (*PayoutOrderArchive230213063067) TableName() string
TableName PayoutOrderArchive230213063067's table name
type PayoutOrderArchive230503083213 ¶
type PayoutOrderArchive230503083213 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230503083213 mapped from table <payout_order_archive_230503083213>
func (*PayoutOrderArchive230503083213) TableName ¶
func (*PayoutOrderArchive230503083213) TableName() string
TableName PayoutOrderArchive230503083213's table name
type PayoutOrderArchive230531130695 ¶
type PayoutOrderArchive230531130695 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230531130695 mapped from table <payout_order_archive_230531130695>
func (*PayoutOrderArchive230531130695) TableName ¶
func (*PayoutOrderArchive230531130695) TableName() string
TableName PayoutOrderArchive230531130695's table name
type PayoutOrderArchive230719134828 ¶
type PayoutOrderArchive230719134828 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230719134828 mapped from table <payout_order_archive_230719134828>
func (*PayoutOrderArchive230719134828) TableName ¶
func (*PayoutOrderArchive230719134828) TableName() string
TableName PayoutOrderArchive230719134828's table name
type PayoutOrderArchive230810112340 ¶
type PayoutOrderArchive230810112340 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230810112340 mapped from table <payout_order_archive_230810112340>
func (*PayoutOrderArchive230810112340) TableName ¶
func (*PayoutOrderArchive230810112340) TableName() string
TableName PayoutOrderArchive230810112340's table name
type PayoutOrderArchive230816024683 ¶
type PayoutOrderArchive230816024683 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230816024683 mapped from table <payout_order_archive_230816024683>
func (*PayoutOrderArchive230816024683) TableName ¶
func (*PayoutOrderArchive230816024683) TableName() string
TableName PayoutOrderArchive230816024683's table name
type PayoutOrderArchive230824092729 ¶
type PayoutOrderArchive230824092729 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230824092729 mapped from table <payout_order_archive_230824092729>
func (*PayoutOrderArchive230824092729) TableName ¶
func (*PayoutOrderArchive230824092729) TableName() string
TableName PayoutOrderArchive230824092729's table name
type PayoutOrderArchive230902200490 ¶
type PayoutOrderArchive230902200490 struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.00;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.00;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.00;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderArchive230902200490 mapped from table <payout_order_archive_230902200490>
func (*PayoutOrderArchive230902200490) TableName ¶
func (*PayoutOrderArchive230902200490) TableName() string
TableName PayoutOrderArchive230902200490's table name
type PayoutOrderCache ¶
type PayoutOrderCache struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:商户&代理 id" json:"agent_id"` // 商户&代理 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销,-4 交易异常 /* 199-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注" json:"remark"` // 备注 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Sync int64 `gorm:"column:_sync;not null;default:1;comment:同步状态:1 待同步,2 已同步" json:"_sync"` // 同步状态:1 待同步,2 已同步 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderCache mapped from table <payout_order_cache>
func (*PayoutOrderCache) TableName ¶
func (*PayoutOrderCache) TableName() string
TableName PayoutOrderCache's table name
type PayoutOrderConfirm ¶
type PayoutOrderConfirm struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` Delete_ soft_delete.DeletedAt `gorm:"column:_delete" json:"-"` OrderNo string `gorm:"column:order_no" json:"order_no"` UserID int64 `gorm:"column:user_id" json:"user_id"` Username string `gorm:"column:username" json:"username"` Action string `gorm:"column:action" json:"action"` }
PayoutOrderConfirm mapped from table <payout_order_confirm>
func (*PayoutOrderConfirm) TableName ¶
func (*PayoutOrderConfirm) TableName() string
TableName PayoutOrderConfirm's table name
type PayoutOrderFinish ¶
type PayoutOrderFinish struct {
ID int64 `gorm:"column:id;primaryKey;comment:订单 ID" json:"id"` // 订单 ID
}
PayoutOrderFinish mapped from table <payout_order_finish>
func (*PayoutOrderFinish) TableName ¶
func (*PayoutOrderFinish) TableName() string
TableName PayoutOrderFinish's table name
type PayoutOrderHistory ¶
type PayoutOrderHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id SupplierID int64 `gorm:"column:supplier_id;comment:供应商 id" json:"supplier_id"` // 供应商 id AgentID int64 `gorm:"column:agent_id;comment:代理 ID" json:"agent_id"` // 代理 ID OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 ChannelOrderNo string `gorm:"column:channel_order_no;not null;comment:渠道订单号" json:"channel_order_no"` // 渠道订单号 ChannelTradeNo string `gorm:"column:channel_trade_no;not null;comment:渠道用户交易号" json:"channel_trade_no"` // 渠道用户交易号 ProductID int64 `gorm:"column:product_id;comment:支付产品 id" json:"product_id"` // 支付产品 id ProductAccountID int64 `gorm:"column:product_account_id;comment:产品资源 id" json:"product_account_id"` // 产品资源 id Amount float64 `gorm:"column:amount;not null;default:0.00;comment:交易金额" json:"amount"` // 交易金额 Country string `gorm:"column:country;comment:国家代码,中国:CN" json:"country"` // 国家代码,中国:CN Currency string `gorm:"column:currency;not null;default:CNY;comment:三位货币代码,人民币:CNY" json:"currency"` // 三位货币代码,人民币:CNY ChannelRate float64 `gorm:"column:channel_rate;not null;default:0.000000;comment:渠道费率" json:"channel_rate"` // 渠道费率 ChannelCharge float64 `gorm:"column:channel_charge;not null;default:0.0000;comment:渠道费用" json:"channel_charge"` // 渠道费用 TradeRate float64 `gorm:"column:trade_rate;not null;default:0.000000;comment:商户费率" json:"trade_rate"` // 商户费率 TradeCharge float64 `gorm:"column:trade_charge;not null;default:0.0000;comment:商户费用" json:"trade_charge"` // 商户费用 AgentRate float64 `gorm:"column:agent_rate;not null;default:0.000000;comment:代理费率" json:"agent_rate"` // 代理费率 AgentCharge float64 `gorm:"column:agent_charge;not null;default:0.0000;comment:代理费用" json:"agent_charge"` // 代理费用 Status int64 `` // 状态:0 生成订单,1 支付中,2 支付未通知,3 支付已通知,-1 交易失败,-2 交易过期,-3 交易撤销 /* 181-byte string literal not displayed */ StatusChange string `gorm:"column:status_change;comment:状态变化记录" json:"status_change"` // 状态变化记录 Way int64 `gorm:"column:way;not null;default:1;comment:处理方式:1 自动,2 手动" json:"way"` // 处理方式:1 自动,2 手动 ReturnURL string `gorm:"column:return_url;comment:同步回调 url" json:"return_url"` // 同步回调 url NotifyURL string `gorm:"column:notify_url;comment:异步回调 url" json:"notify_url"` // 异步回调 url ReceiptURL string `gorm:"column:receipt_url;comment:收据 url" json:"receipt_url"` // 收据 url Attach string `gorm:"column:attach;comment:附加参数" json:"attach"` // 附加参数 Result datatypes.JSON `gorm:"column:result;comment:数据返回" json:"result"` // 数据返回 ChannelErrorCode string `gorm:"column:channel_error_code;comment:上游支付错误码" json:"channel_error_code"` // 上游支付错误码 ChannelErrorMessage string `gorm:"column:channel_error_message;comment:上游支付错误描述" json:"channel_error_message"` // 上游支付错误描述 Extra datatypes.JSON `gorm:"column:extra;comment:自定义扩展信息" json:"extra"` // 自定义扩展信息 ExpireTime int64 `gorm:"column:expire_time;comment:过期时间" json:"expire_time"` // 过期时间 PayTime int64 `gorm:"column:pay_time;comment:支付时间" json:"pay_time"` // 支付时间 RefundTime int64 `gorm:"column:refund_time;comment:退款时间" json:"refund_time"` // 退款时间 Remark string `gorm:"column:remark;not null;comment:备注信息" json:"remark"` // 备注信息 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderHistory mapped from table <payout_order_history>
func (*PayoutOrderHistory) TableName ¶
func (*PayoutOrderHistory) TableName() string
TableName PayoutOrderHistory's table name
type PayoutOrderIndex ¶
type PayoutOrderIndex struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID MerchantID int64 `gorm:"column:merchant_id;not null;comment:商户 id" json:"merchant_id"` // 商户 id MerchantOrderNo string `gorm:"column:merchant_order_no;not null;comment:商户订单号" json:"merchant_order_no"` // 商户订单号 }
PayoutOrderIndex mapped from table <payout_order_index>
func (*PayoutOrderIndex) TableName ¶
func (*PayoutOrderIndex) TableName() string
TableName PayoutOrderIndex's table name
type PayoutOrderResult ¶
type PayoutOrderResult struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderID int64 `gorm:"column:order_id;not null;comment:订单 id" json:"order_id"` // 订单 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 ChannelResult datatypes.JSON `gorm:"column:channel_result;comment:上游数据返回" json:"channel_result"` // 上游数据返回 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderResult mapped from table <payout_order_result>
func (*PayoutOrderResult) TableName ¶
func (*PayoutOrderResult) TableName() string
TableName PayoutOrderResult's table name
type PayoutOrderResultHistory ¶
type PayoutOrderResultHistory struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID OrderID int64 `gorm:"column:order_id;not null;comment:订单 id" json:"order_id"` // 订单 id OrderNo string `gorm:"column:order_no;not null;comment:交易订单号" json:"order_no"` // 交易订单号 ChannelResult datatypes.JSON `gorm:"column:channel_result;comment:上游数据返回" json:"channel_result"` // 上游数据返回 CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // 创建时间 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // 更新时间 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
PayoutOrderResultHistory mapped from table <payout_order_result_history>
func (*PayoutOrderResultHistory) TableName ¶
func (*PayoutOrderResultHistory) TableName() string
TableName PayoutOrderResultHistory's table name
type RoleMenu ¶
type RoleMenu struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` RoleID int64 `gorm:"column:role_id;not null" json:"role_id"` MenuID int64 `gorm:"column:menu_id;not null" json:"menu_id"` }
RoleMenu mapped from table <role_menus>
type SchemaMigration ¶
type SchemaMigration struct { Version int64 `gorm:"column:version;primaryKey" json:"version"` Dirty int64 `gorm:"column:dirty;not null" json:"dirty"` }
SchemaMigration mapped from table <schema_migrations>
func (*SchemaMigration) TableName ¶
func (*SchemaMigration) TableName() string
TableName SchemaMigration's table name
type SysAPI ¶
type SysAPI struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // Create Time | 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // Update Time | 修改日期 Path string `gorm:"column:path;not null;comment:API path | API 路径" json:"path"` // API path | API 路径 Description string `gorm:"column:description;not null;comment:API description | API 描述" json:"description"` // API description | API 描述 APIGroup string `gorm:"column:api_group;not null;comment:API group | API 分组" json:"api_group"` // API group | API 分组 Method string `gorm:"column:method;not null;default:POST;comment:HTTP method | HTTP 请求类型" json:"method"` // HTTP method | HTTP 请求类型 IsRequired int64 `` // Whether is required | 是否必选 1 可选 2 所有用户必选 3 manager 用户必选 4 merchant 用户必选 5 agent 用户必选 /* 194-byte string literal not displayed */ Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 }
SysAPI mapped from table <sys_apis>
type SysMenu ¶
type SysMenu struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // Create Time | 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // Update Time | 修改日期 Sort int64 `gorm:"column:sort;not null;default:1;comment:Sort Number | 排序编号" json:"sort"` // Sort Number | 排序编号 MenuLevel int64 `gorm:"column:menu_level;not null;comment:Menu level | 菜单层级" json:"menu_level"` // Menu level | 菜单层级 MenuType int64 `gorm:"column:menu_type;not null;comment:Menu type | 菜单类型(菜单或目录)1 目录 2 菜单" json:"menu_type"` // Menu type | 菜单类型(菜单或目录)1 目录 2 菜单 Path string `gorm:"column:path;comment:Index path | 菜单路由路径" json:"path"` // Index path | 菜单路由路径 Name string `gorm:"column:name;not null;comment:Index name | 菜单名称" json:"name"` // Index name | 菜单名称 Redirect string `gorm:"column:redirect;comment:Redirect path | 跳转路径(外链)" json:"redirect"` // Redirect path | 跳转路径(外链) Component string `gorm:"column:component;comment:The path of vue file | 组件路径" json:"component"` // The path of vue file | 组件路径 Disabled int64 `gorm:"column:disabled;comment:Disable status | 是否停用 1 停用 2 没停用" json:"disabled"` // Disable status | 是否停用 1 停用 2 没停用 Title string `gorm:"column:title;not null;comment:Menu name | 菜单显示标题" json:"title"` // Menu name | 菜单显示标题 Icon string `gorm:"column:icon;not null;comment:Menu icon | 菜单图标" json:"icon"` // Menu icon | 菜单图标 HideMenu int64 `gorm:"column:hide_menu;comment:Hide menu | 是否隐藏菜单 1 隐藏 2 不隐藏" json:"hide_menu"` // Hide menu | 是否隐藏菜单 1 隐藏 2 不隐藏 HideBreadcrumb int64 `gorm:"column:hide_breadcrumb;comment:Hide the breadcrumb | 隐藏面包屑 1 隐藏 2 不隐藏" json:"hide_breadcrumb"` // Hide the breadcrumb | 隐藏面包屑 1 隐藏 2 不隐藏 IgnoreKeepAlive int64 `` // Do not keep alive the tab | 取消页面缓存 1 取消缓存 2 不取消缓存 /* 144-byte string literal not displayed */ HideTab int64 `gorm:"column:hide_tab;comment:Hide the tab header | 隐藏页头 1 隐藏 2 不隐藏" json:"hide_tab"` // Hide the tab header | 隐藏页头 1 隐藏 2 不隐藏 FrameSrc string `gorm:"column:frame_src;comment:Show iframe | 内嵌 iframe" json:"frame_src"` // Show iframe | 内嵌 iframe CarryParam int64 `` // The route carries parameters or not | 携带参数 1 带参数 2 不带参数 /* 130-byte string literal not displayed */ HideChildrenInMenu int64 `` // Hide children menu or not | 隐藏所有子菜单 1 隐藏 2 不隐藏 /* 143-byte string literal not displayed */ Affix int64 `gorm:"column:affix;comment:Affix tab | Tab 固定 1 固定 2 不固定" json:"affix"` // Affix tab | Tab 固定 1 固定 2 不固定 DynamicLevel int64 `` // The maximum number of pages the router can open | 能打开的子 TAB 数 /* 141-byte string literal not displayed */ RealPath string `` // The real path of the route without dynamic part | 菜单路由不包含参数部分 /* 132-byte string literal not displayed */ ParentID int64 `gorm:"column:parent_id;default:100000;comment:Parent menu ID | 父菜单 ID" json:"parent_id"` // Parent menu ID | 父菜单 ID Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Type int64 `gorm:"column:type;not null;default:1;comment:菜单类型 1: manager, 2: merchant, 3: agent" json:"type"` // 菜单类型 1: manager, 2: merchant, 3: agent }
SysMenu mapped from table <sys_menus>
type SysRole ¶
type SysRole struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreateTime int64 `gorm:"column:create_time;type:bigint;autoCreateTime:milli" json:"create_time"` // Create Time | 创建日期 UpdateTime int64 `gorm:"column:update_time;type:bigint;autoUpdateTime:milli" json:"update_time"` // Update Time | 修改日期 Status int64 `gorm:"column:status;default:1;comment:Status 1 : normal 2 : ban | 状态 1 正常 2 禁用" json:"status"` // Status 1 : normal 2 : ban | 状态 1 正常 2 禁用 Name string `gorm:"column:name;not null;comment:Role name | 角色名" json:"name"` // Role name | 角色名 Code string `` // Role code for permission control in front end | 角色码,用于前端权限控制 /* 132-byte string literal not displayed */ DefaultRouter string `` // Default menu : dashboard | 默认登录页面 /* 131-byte string literal not displayed */ Remark string `gorm:"column:remark;not null;comment:Remark | 备注" json:"remark"` // Remark | 备注 Sort int64 `gorm:"column:sort;not null;comment:Order number | 排序编号" json:"sort"` // Order number | 排序编号 Delete_ soft_delete.DeletedAt `gorm:"column:_delete;not null;comment:删除状态:0 未删除,1 已删除" json:"-"` // 删除状态:0 未删除,1 已删除 Type int64 `gorm:"column:type;not null;default:1;comment:角色类型 1: manager, 2: merchant, 3: agent" json:"type"` // 角色类型 1: manager, 2: merchant, 3: agent MasterID int64 `` // 主账号ID,管理端创建的角色,此字段为0,其他端创建的角色,此字段为创建者ID。其他端设置角色时不能选中 master_id 为 0 的角色 /* 230-byte string literal not displayed */ }
SysRole mapped from table <sys_roles>
type UserRole ¶
type UserRole struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` UserType string `gorm:"column:user_type;not null;comment:User Type | 用户类型" json:"user_type"` // User Type | 用户类型 UserID int64 `gorm:"column:user_id;not null;comment:User Id | 用户 ID" json:"user_id"` // User Id | 用户 ID RoleID int64 `gorm:"column:role_id;not null" json:"role_id"` }
UserRole mapped from table <user_roles>
Source Files ¶
- casbin_rules.gen.go
- http_request_log.gen.go
- mq_queue_config.gen.go
- pay_admin.gen.go
- pay_admin_login_log.gen.go
- pay_admin_role.gen.go
- pay_admin_rule.gen.go
- pay_agent.gen.go
- pay_agent_account.gen.go
- pay_agent_account_change.gen.go
- pay_agent_account_change_archive_001.gen.go
- pay_agent_bankcard.gen.go
- pay_agent_charge.gen.go
- pay_agent_login_log.gen.go
- pay_agent_role.gen.go
- pay_agent_rule.gen.go
- pay_agent_withdrawl_config.gen.go
- pay_agent_withdrawl_order.gen.go
- pay_bankaccount_info.gen.go
- pay_channel_bankcard.gen.go
- pay_channel_bankcard_riskcontrol.gen.go
- pay_channel_bankcard_statistics.gen.go
- pay_complaint_order.gen.go
- pay_configure.gen.go
- pay_export_task.gen.go
- pay_inaccount_info.gen.go
- pay_merchant.gen.go
- pay_merchant_account.gen.go
- pay_merchant_account_change.gen.go
- pay_merchant_account_change_archive_001.gen.go
- pay_merchant_account_snapshot.gen.go
- pay_merchant_bankcard.gen.go
- pay_merchant_charge.gen.go
- pay_merchant_login_log.gen.go
- pay_merchant_notify.gen.go
- pay_merchant_oauth.gen.go
- pay_merchant_queue_config.gen.go
- pay_merchant_recharge_config.gen.go
- pay_merchant_recharge_order.gen.go
- pay_merchant_riskcontrol.gen.go
- pay_merchant_role.gen.go
- pay_merchant_rule.gen.go
- pay_merchant_statistics.gen.go
- pay_merchant_tags.gen.go
- pay_merchant_withdrawl_config.gen.go
- pay_merchant_withdrawl_order.gen.go
- pay_order_log.gen.go
- pay_outaccount.gen.go
- pay_payment_agent_daily.gen.go
- pay_payment_merchant_daily.gen.go
- pay_payment_product_daily.gen.go
- pay_payout_agent_daily.gen.go
- pay_payout_merchant_daily.gen.go
- pay_payout_product_daily.gen.go
- pay_product.gen.go
- pay_product_account.gen.go
- pay_product_account_charge.gen.go
- pay_product_account_riskcontrol.gen.go
- pay_product_account_statistics.gen.go
- pay_product_charge.gen.go
- pay_product_merchant.gen.go
- pay_product_merchant_account.gen.go
- pay_product_merchant_charge.gen.go
- pay_product_queue_config.gen.go
- pay_product_riskcontrol.gen.go
- pay_product_statistics.gen.go
- pay_product_supplier.gen.go
- pay_product_supplier_charge.gen.go
- pay_supplier.gen.go
- pay_supplier_account.gen.go
- pay_supplier_account_change.gen.go
- pay_supplier_bankcard.gen.go
- pay_supplier_charge.gen.go
- pay_supplier_login_log.gen.go
- pay_supplier_product.gen.go
- pay_supplier_recharge_config.gen.go
- pay_supplier_recharge_order.gen.go
- pay_supplier_riskcontrol.gen.go
- pay_supplier_role.gen.go
- pay_supplier_rule.gen.go
- pay_supplier_statistics.gen.go
- pay_supplier_withdrawl_config.gen.go
- pay_supplier_withdrawl_order.gen.go
- pay_system_account.gen.go
- pay_system_account_change.gen.go
- pay_system_bankcard.gen.go
- pay_system_bankcard_riskcontrol.gen.go
- pay_system_bankcard_statistics.gen.go
- pay_tags.gen.go
- pay_telegram.gen.go
- payment_archive_info.gen.go
- payment_order.gen.go
- payment_order_archive_001.gen.go
- payment_order_archive_002.gen.go
- payment_order_archive_003.gen.go
- payment_order_archive_004.gen.go
- payment_order_archive_005.gen.go
- payment_order_archive_006.gen.go
- payment_order_archive_007.gen.go
- payment_order_archive_008.gen.go
- payment_order_archive_009.gen.go
- payment_order_archive_010.gen.go
- payment_order_archive_230213063039.gen.go
- payment_order_archive_230309021340.gen.go
- payment_order_archive_230320135297.gen.go
- payment_order_archive_230405013425.gen.go
- payment_order_archive_230418185297.gen.go
- payment_order_archive_230427203000.gen.go
- payment_order_archive_230503003399.gen.go
- payment_order_archive_230504104353.gen.go
- payment_order_archive_230510150071.gen.go
- payment_order_archive_230517042080.gen.go
- payment_order_archive_230524212170.gen.go
- payment_order_archive_230531193678.gen.go
- payment_order_archive_230713172724.gen.go
- payment_order_archive_230714132700.gen.go
- payment_order_archive_230715092714.gen.go
- payment_order_archive_230722163072.gen.go
- payment_order_archive_230729210933.gen.go
- payment_order_archive_230804152619.gen.go
- payment_order_archive_230809235992.gen.go
- payment_order_archive_230811112569.gen.go
- payment_order_archive_230812072505.gen.go
- payment_order_archive_230813034849.gen.go
- payment_order_archive_230813235976.gen.go
- payment_order_archive_230815194017.gen.go
- payment_order_archive_230816200050.gen.go
- payment_order_archive_230817160697.gen.go
- payment_order_archive_230819200923.gen.go
- payment_order_archive_230822044851.gen.go
- payment_order_archive_230824213057.gen.go
- payment_order_archive_230827023460.gen.go
- payment_order_archive_230829034728.gen.go
- payment_order_archive_230831002681.gen.go
- payment_order_archive_230901225964.gen.go
- payment_order_archive_230903211786.gen.go
- payment_order_archive_230906074367.gen.go
- payment_order_archive_230909045310.gen.go
- payment_order_cache.gen.go
- payment_order_history.gen.go
- payment_order_history_back.gen.go
- payment_order_index.gen.go
- payment_order_result.gen.go
- payment_order_result_history.gen.go
- payout_archive_info.gen.go
- payout_order.gen.go
- payout_order_archive_001.gen.go
- payout_order_archive_002.gen.go
- payout_order_archive_230213063066.gen.go
- payout_order_archive_230213063067.gen.go
- payout_order_archive_230503083213.gen.go
- payout_order_archive_230531130695.gen.go
- payout_order_archive_230719134828.gen.go
- payout_order_archive_230810112340.gen.go
- payout_order_archive_230816024683.gen.go
- payout_order_archive_230824092729.gen.go
- payout_order_archive_230902200490.gen.go
- payout_order_cache.gen.go
- payout_order_confirm.gen.go
- payout_order_finish.gen.go
- payout_order_history.gen.go
- payout_order_index.gen.go
- payout_order_result.gen.go
- payout_order_result_history.gen.go
- role_menus.gen.go
- schema_migrations.gen.go
- sys_apis.gen.go
- sys_menus.gen.go
- sys_roles.gen.go
- user_roles.gen.go