32 lines
1.5 KiB
Go
32 lines
1.5 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 models
|
|
|
|
const TableNameInvType = "invTypes"
|
|
|
|
// InvType mapped from table <invTypes>
|
|
type InvType struct {
|
|
TypeID int32 `gorm:"column:typeID;type:INTEGER" json:"typeID"`
|
|
GroupID int32 `gorm:"column:groupID;type:INTEGER" json:"groupID"`
|
|
TypeName string `gorm:"column:typeName;type:VARCHAR(100)" json:"typeName"`
|
|
Description string `gorm:"column:description;type:TEXT" json:"description"`
|
|
Mass float32 `gorm:"column:mass;type:FLOAT" json:"mass"`
|
|
Volume float32 `gorm:"column:volume;type:FLOAT" json:"volume"`
|
|
Capacity float32 `gorm:"column:capacity;type:FLOAT" json:"capacity"`
|
|
PortionSize int32 `gorm:"column:portionSize;type:INTEGER" json:"portionSize"`
|
|
RaceID int32 `gorm:"column:raceID;type:INTEGER" json:"raceID"`
|
|
BasePrice string `gorm:"column:basePrice;type:DECIMAL(19, 4)" json:"basePrice"`
|
|
Published bool `gorm:"column:published;type:BOOLEAN" json:"published"`
|
|
MarketGroupID int32 `gorm:"column:marketGroupID;type:INTEGER" json:"marketGroupID"`
|
|
IconID int32 `gorm:"column:iconID;type:INTEGER" json:"iconID"`
|
|
SoundID int32 `gorm:"column:soundID;type:INTEGER" json:"soundID"`
|
|
GraphicID int32 `gorm:"column:graphicID;type:INTEGER" json:"graphicID"`
|
|
}
|
|
|
|
// TableName InvType's table name
|
|
func (*InvType) TableName() string {
|
|
return TableNameInvType
|
|
}
|