mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
40 lines
2.3 KiB
Go
40 lines
2.3 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"
|
||
|
||
"gorm.io/gorm"
|
||
)
|
||
|
||
const TableNameRechargeTMallOrder = "recharge_t_mall_order"
|
||
|
||
// RechargeTMallOrder mapped from table <recharge_t_mall_order>
|
||
type RechargeTMallOrder struct {
|
||
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
||
ChannelName string `gorm:"column:channel_name;comment:通道名称" json:"channel_name"` // 通道名称
|
||
OrderNo string `gorm:"column:order_no;primaryKey;comment:订单号,同时是ID" json:"order_no"` // 订单号,同时是ID
|
||
AccountID string `gorm:"column:account_id;comment:账户ID" json:"account_id"` // 账户ID
|
||
AccountNumber string `gorm:"column:account_number;comment:账号" json:"account_number"` // 账号
|
||
Amount float32 `gorm:"column:amount;comment:充值金额" json:"amount"` // 充值金额
|
||
Status string `gorm:"column:status" json:"status"`
|
||
MerchantOrder string `gorm:"column:merchant_order;not null;comment:第三方订单号" json:"merchant_order"` // 第三方订单号
|
||
ThirdMerhantOrder string `gorm:"column:third_merhant_order;comment:第三方订单号" json:"third_merhant_order"` // 第三方订单号
|
||
NotifyStatus int32 `gorm:"column:notify_status;comment:回调状态" json:"notify_status"` // 回调状态
|
||
CallbackURL string `gorm:"column:callback_url" json:"callback_url"`
|
||
Remark string `gorm:"column:remark" json:"remark"`
|
||
ShopID int64 `gorm:"column:shop_id;comment:关联天猫订单内部id" json:"shop_id"` // 关联天猫订单内部id
|
||
CallbackType string `gorm:"column:callback_type;comment:回调类型" json:"callback_type"` // 回调类型
|
||
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
|
||
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
|
||
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
|
||
}
|
||
|
||
// TableName RechargeTMallOrder's table name
|
||
func (*RechargeTMallOrder) TableName() string {
|
||
return TableNameRechargeTMallOrder
|
||
}
|