mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
36 lines
1.9 KiB
Go
36 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"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
const TableNameCardRedeemAccountHistory = "card_redeem_account_history"
|
|
|
|
// CardRedeemAccountHistory mapped from table <card_redeem_account_history>
|
|
type CardRedeemAccountHistory struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
AccountID string `gorm:"column:account_id;comment:账号" json:"account_id"` // 账号
|
|
AccountName string `gorm:"column:account_name" json:"account_name"`
|
|
Cookie string `gorm:"column:cookie" json:"cookie"`
|
|
OrderNo string `gorm:"column:order_no;comment:订单号" json:"order_no"` // 订单号
|
|
Amount float32 `gorm:"column:amount;comment:金额变化" json:"amount"` // 金额变化
|
|
EffectiveBalance float32 `gorm:"column:effective_balance;comment:余额(自身充值变化)" json:"effective_balance"` // 余额(自身充值变化)
|
|
Balance float32 `gorm:"column:balance;comment:余额(所有余额)" json:"balance"` // 余额(所有余额)
|
|
Remark string `gorm:"column:remark" json:"remark"`
|
|
OperationStatus string `gorm:"column:operation_status;comment:操作状态" json:"operation_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 CardRedeemAccountHistory's table name
|
|
func (*CardRedeemAccountHistory) TableName() string {
|
|
return TableNameCardRedeemAccountHistory
|
|
}
|