mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:47:10 +00:00
35 lines
1.9 KiB
Go
35 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 TableNameSysUserDeduction = "sys_user_deductions"
|
|
|
|
// SysUserDeduction mapped from table <sys_user_deductions>
|
|
type SysUserDeduction struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
UserID string `gorm:"column:user_id;comment:用户ID" json:"user_id"` // 用户ID
|
|
OrderNo string `gorm:"column:order_no;comment:订单编号" json:"order_no"` // 订单编号
|
|
OrderCategory string `gorm:"column:order_category;comment:订单分类" json:"order_category"` // 订单分类
|
|
OperationStatus string `gorm:"column:operation_status;comment:操作状态" json:"operation_status"` // 操作状态
|
|
UserPaymentID int32 `gorm:"column:user_payment_id;comment:用户钱包ID" json:"user_payment_id"` // 用户钱包ID
|
|
UserPaymentRecordID int32 `gorm:"column:user_payment_record_id;comment:用户钱包流水记录ID" json:"user_payment_record_id"` // 用户钱包流水记录ID
|
|
Balance float32 `gorm:"column:balance;comment:价格" json:"balance"` // 价格
|
|
Note string `gorm:"column:note" json:"note"`
|
|
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 SysUserDeduction's table name
|
|
func (*SysUserDeduction) TableName() string {
|
|
return TableNameSysUserDeduction
|
|
}
|