32 lines
1.3 KiB
Go
32 lines
1.3 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;primaryKey" json:"typeID"`
|
|
GroupID int32 `gorm:"column:groupID" json:"groupID"`
|
|
TypeName string `gorm:"column:typeName" json:"typeName"`
|
|
Description string `gorm:"column:description" json:"description"`
|
|
Mass float64 `gorm:"column:mass" json:"mass"`
|
|
Volume float64 `gorm:"column:volume" json:"volume"`
|
|
Capacity float64 `gorm:"column:capacity" json:"capacity"`
|
|
PortionSize int32 `gorm:"column:portionSize" json:"portionSize"`
|
|
RaceID int32 `gorm:"column:raceID" json:"raceID"`
|
|
BasePrice float64 `gorm:"column:basePrice" json:"basePrice"`
|
|
Published bool `gorm:"column:published" json:"published"`
|
|
MarketGroupID int32 `gorm:"column:marketGroupID" json:"marketGroupID"`
|
|
IconID int32 `gorm:"column:iconID" json:"iconID"`
|
|
SoundID int32 `gorm:"column:soundID" json:"soundID"`
|
|
GraphicID int32 `gorm:"column:graphicID" json:"graphicID"`
|
|
}
|
|
|
|
// TableName InvType's table name
|
|
func (*InvType) TableName() string {
|
|
return TableNameInvType
|
|
}
|