mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
31 lines
1.4 KiB
Go
31 lines
1.4 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 TableNameRechargeTMallAccount = "recharge_t_mall_account"
|
|
|
|
// RechargeTMallAccount mapped from table <recharge_t_mall_account>
|
|
type RechargeTMallAccount struct {
|
|
ID string `gorm:"column:id;primaryKey" json:"id"`
|
|
AccountNumber string `gorm:"column:account_number;not null;comment:账户" json:"account_number"` // 账户
|
|
Balance float32 `gorm:"column:balance;not null;comment:余额" json:"balance"` // 余额
|
|
RechargeTimes int32 `gorm:"column:recharge_times;not null;comment:充值次数" json:"recharge_times"` // 充值次数
|
|
Status string `gorm:"column:status;not null;comment:状态" json:"status"` // 状态
|
|
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 RechargeTMallAccount's table name
|
|
func (*RechargeTMallAccount) TableName() string {
|
|
return TableNameRechargeTMallAccount
|
|
}
|