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

28 lines
1.4 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 TableNameLegendFixPresent = "legend_fix_present"
// LegendFixPresent 固定金额赠送
type LegendFixPresent 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"` // 模板名称
Money int32 `gorm:"column:money;not null;comment:金额默认是0" json:"money"` // 金额默认是0
PresentMoney int32 `gorm:"column:present_money;comment:赠送金额" json:"present_money"` // 赠送金额
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"` // 创建时间
UID string `gorm:"column:uid;not null;default:唯一id" json:"uid"`
}
// TableName LegendFixPresent's table name
func (*LegendFixPresent) TableName() string {
return TableNameLegendFixPresent
}