Files
kami_scripts/order/model/card_redeem_account_deduction.gen.go

31 lines
1.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 TableNameCardRedeemAccountDeduction = "card_redeem_account_deduction"
// CardRedeemAccountDeduction mapped from table <card_redeem_account_deduction>
type CardRedeemAccountDeduction struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
OrderNo string `gorm:"column:order_no;comment:订单金额" json:"order_no"` // 订单金额
AccountID string `gorm:"column:account_id;comment:订单ID" json:"account_id"` // 订单ID
OperationStatus string `gorm:"column:operation_status;comment:操作记录" json:"operation_status"` // 操作记录
Balance float32 `gorm:"column:balance;comment:金额" json:"balance"` // 金额
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 CardRedeemAccountDeduction's table name
func (*CardRedeemAccountDeduction) TableName() string {
return TableNameCardRedeemAccountDeduction
}