mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
31 lines
1.9 KiB
Go
31 lines
1.9 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||
// Code generated by gorm.io/gen. DO NOT EDIT.
|
||
|
||
package model
|
||
|
||
import (
|
||
"time"
|
||
)
|
||
|
||
const TableNameNotifyInfo = "notify_info"
|
||
|
||
// NotifyInfo 支付回调
|
||
type NotifyInfo struct {
|
||
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
||
Type string `gorm:"column:type;not null;comment:支付订单-order, 代付订单-payfor" json:"type"` // 支付订单-order, 代付订单-payfor
|
||
BankOrderID string `gorm:"column:bank_order_id;not null;comment:系统订单id" json:"bank_order_id"` // 系统订单id
|
||
MerchantOrderID string `gorm:"column:merchant_order_id;not null;comment:下游商户订单id" json:"merchant_order_id"` // 下游商户订单id
|
||
Status string `gorm:"column:status;not null;default:wait;comment:状态字段" json:"status"` // 状态字段
|
||
Times int32 `gorm:"column:times;not null;comment:回调次数" json:"times"` // 回调次数
|
||
URL string `gorm:"column:url;comment:回调的url" json:"url"` // 回调的url
|
||
Response string `gorm:"column:response;comment:回调返回的结果" json:"response"` // 回调返回的结果
|
||
UpdateTime time.Time `gorm:"column:update_time;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"update_time"` // 更新时间
|
||
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
||
}
|
||
|
||
// TableName NotifyInfo's table name
|
||
func (*NotifyInfo) TableName() string {
|
||
return TableNameNotifyInfo
|
||
}
|