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

28 lines
1.6 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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:游戏币比例默认是1100" json:"game_money_scale"` // 游戏币比例默认是1100
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
}