mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 21:12:33 +00:00
28 lines
1.6 KiB
Go
28 lines
1.6 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"
|
||
)
|
||
|
||
const TableNameLegendAnyMoney = "legend_any_money"
|
||
|
||
// LegendAnyMoney 充值任意金额类型
|
||
type LegendAnyMoney struct {
|
||
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
||
TemplateName string `gorm:"column:template_name;not null;default:OK;comment:模板名称" json:"template_name"` // 模板名称
|
||
GameMoneyName string `gorm:"column:game_money_name;comment:游戏币名称,默认是元宝,也可以是钻石、点券" json:"game_money_name"` // 游戏币名称,默认是元宝,也可以是钻石、点券
|
||
GameMoneyScale int32 `gorm:"column:game_money_scale;not null;default:100;comment:游戏币比例,默认是1:100" json:"game_money_scale"` // 游戏币比例,默认是1:100
|
||
LimitLow float64 `gorm:"column:limit_low;not null;default:10.00;comment:最低值金额,默认是10元" json:"limit_low"` // 最低值金额,默认是10元
|
||
UpdateTime time.Time `gorm:"column:update_time;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"update_time"` // 更新时间
|
||
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
||
}
|
||
|
||
// TableName LegendAnyMoney's table name
|
||
func (*LegendAnyMoney) TableName() string {
|
||
return TableNameLegendAnyMoney
|
||
}
|