23 lines
783 B
Go
23 lines
783 B
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 TableNameInvTrait = "invTraits"
|
|
|
|
// InvTrait mapped from table <invTraits>
|
|
type InvTrait struct {
|
|
TraitID int32 `gorm:"column:traitID;type:INTEGER" json:"traitID"`
|
|
TypeID int32 `gorm:"column:typeID;type:INTEGER" json:"typeID"`
|
|
SkillID int32 `gorm:"column:skillID;type:INTEGER" json:"skillID"`
|
|
Bonus float32 `gorm:"column:bonus;type:FLOAT" json:"bonus"`
|
|
BonusText string `gorm:"column:bonusText;type:TEXT" json:"bonusText"`
|
|
UnitID int32 `gorm:"column:unitID;type:INTEGER" json:"unitID"`
|
|
}
|
|
|
|
// TableName InvTrait's table name
|
|
func (*InvTrait) TableName() string {
|
|
return TableNameInvTrait
|
|
}
|