mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
48 lines
2.8 KiB
Go
48 lines
2.8 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
const TableNameCardRedeemOrderInfo = "card_redeem_order_info"
|
|
|
|
// CardRedeemOrderInfo mapped from table <card_redeem_order_info>
|
|
type CardRedeemOrderInfo struct {
|
|
OrderNo string `gorm:"column:order_no;primaryKey" json:"order_no"`
|
|
CardNo string `gorm:"column:card_no;comment:卡号" json:"card_no"` // 卡号
|
|
MerchantID string `gorm:"column:merchant_id" json:"merchant_id"`
|
|
Attach string `gorm:"column:attach" json:"attach"`
|
|
CreatedUserID string `gorm:"column:created_user_id;comment:创建用户" json:"created_user_id"` // 创建用户
|
|
AccountID string `gorm:"column:account_id" json:"account_id"`
|
|
AccountName string `gorm:"column:account_name;comment:账号名称" json:"account_name"` // 账号名称
|
|
GiftCardPwd string `gorm:"column:gift_card_pwd;comment:卡密" json:"gift_card_pwd"` // 卡密
|
|
CardTypeName string `gorm:"column:card_type_name;comment:卡种" json:"card_type_name"` // 卡种
|
|
NotifyURL string `gorm:"column:notify_url;comment:回调" json:"notify_url"` // 回调
|
|
Remark string `gorm:"column:remark;comment:备注" json:"remark"` // 备注
|
|
OrderAmount float32 `gorm:"column:order_amount;comment:订单金额" json:"order_amount"` // 订单金额
|
|
ActualAmount float32 `gorm:"column:actual_amount;comment:实际金额" json:"actual_amount"` // 实际金额
|
|
Category string `gorm:"column:category;comment:账户类型" json:"category"` // 账户类型
|
|
CallbackCount int32 `gorm:"column:callback_count;comment:回调次数" json:"callback_count"` // 回调次数
|
|
NotifyStatus int32 `gorm:"column:notify_status;comment:回调状态 0没有回调 1.回调成功 2.回调失败" json:"notify_status"` // 回调状态 0没有回调 1.回调成功 2.回调失败
|
|
Status int32 `gorm:"column:status;comment:1.兑换成功 0.失败" json:"status"` // 1.兑换成功 0.失败
|
|
/*
|
|
订单状态 订单原本状态
|
|
|
|
*/
|
|
OrderStatus int32 `gorm:"column:order_status;comment:订单状态 订单原本状态\n" json:"order_status"`
|
|
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 CardRedeemOrderInfo's table name
|
|
func (*CardRedeemOrderInfo) TableName() string {
|
|
return TableNameCardRedeemOrderInfo
|
|
}
|