mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
44 lines
2.8 KiB
Go
44 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 TableNameCardAppleRechargeInfo = "card_apple_recharge_info"
|
|
|
|
// CardAppleRechargeInfo mapped from table <card_apple_recharge_info>
|
|
type CardAppleRechargeInfo struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
OrderNo string `gorm:"column:order_no;not null;comment:订单号" json:"order_no"` // 订单号
|
|
AccountID string `gorm:"column:account_id" json:"account_id"`
|
|
AccountName string `gorm:"column:account_name" json:"account_name"`
|
|
CardNo string `gorm:"column:card_no;comment:卡号" json:"card_no"` // 卡号
|
|
CardPass string `gorm:"column:card_pass;comment:卡密" json:"card_pass"` // 卡密
|
|
MerchantID string `gorm:"column:merchant_id;comment:商户ID" json:"merchant_id"` // 商户ID
|
|
Balance float32 `gorm:"column:balance;not null;comment:余额" json:"balance"` // 余额
|
|
CardAmount float32 `gorm:"column:card_amount;not null;comment:卡面充值金额" json:"card_amount"` // 卡面充值金额
|
|
NotifyStatus int32 `gorm:"column:notify_status" json:"notify_status"`
|
|
Status int32 `gorm:"column:status;not null;comment:状态 0.创建 1.交易成功 2.交易中 3.交易失败" json:"status"` // 状态 0.创建 1.交易成功 2.交易中 3.交易失败
|
|
ActualAmount float32 `gorm:"column:actual_amount;comment:实际充值金额" json:"actual_amount"` // 实际充值金额
|
|
CallbackURL string `gorm:"column:callback_url" json:"callback_url"`
|
|
CallbackCount int32 `gorm:"column:callback_count;not null;comment:itunes回调次数" json:"callback_count"` // itunes回调次数
|
|
DistributionCount int32 `gorm:"column:distribution_count;not null" json:"distribution_count"`
|
|
CreatedUserID string `gorm:"column:created_user_id;comment:创建者ID" json:"created_user_id"` // 创建者ID
|
|
Attach string `gorm:"column:attach" json:"attach"`
|
|
Remark string `gorm:"column:remark" json:"remark"`
|
|
CreatedAt time.Time `gorm:"column:created_at;comment:创建日期" json:"created_at"` // 创建日期
|
|
UpdatedAt time.Time `gorm:"column:updated_at;comment:更新日期" json:"updated_at"` // 更新日期
|
|
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:删除日期" json:"deleted_at"` // 删除日期
|
|
}
|
|
|
|
// TableName CardAppleRechargeInfo's table name
|
|
func (*CardAppleRechargeInfo) TableName() string {
|
|
return TableNameCardAppleRechargeInfo
|
|
}
|