Files
zkill-susser/models/dgmeffects.gen.go

45 lines
3.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 TableNameDgmEffect = "dgmEffects"
// DgmEffect mapped from table <dgmEffects>
type DgmEffect struct {
EffectID int32 `gorm:"column:effectID;type:INTEGER" json:"effectID"`
EffectName string `gorm:"column:effectName;type:VARCHAR(400)" json:"effectName"`
EffectCategory int32 `gorm:"column:effectCategory;type:INTEGER" json:"effectCategory"`
PreExpression int32 `gorm:"column:preExpression;type:INTEGER" json:"preExpression"`
PostExpression int32 `gorm:"column:postExpression;type:INTEGER" json:"postExpression"`
Description string `gorm:"column:description;type:VARCHAR(1000)" json:"description"`
GUID string `gorm:"column:guid;type:VARCHAR(60)" json:"guid"`
IconID int32 `gorm:"column:iconID;type:INTEGER" json:"iconID"`
IsOffensive bool `gorm:"column:isOffensive;type:BOOLEAN" json:"isOffensive"`
IsAssistance bool `gorm:"column:isAssistance;type:BOOLEAN" json:"isAssistance"`
DurationAttributeID int32 `gorm:"column:durationAttributeID;type:INTEGER" json:"durationAttributeID"`
TrackingSpeedAttributeID int32 `gorm:"column:trackingSpeedAttributeID;type:INTEGER" json:"trackingSpeedAttributeID"`
DischargeAttributeID int32 `gorm:"column:dischargeAttributeID;type:INTEGER" json:"dischargeAttributeID"`
RangeAttributeID int32 `gorm:"column:rangeAttributeID;type:INTEGER" json:"rangeAttributeID"`
FalloffAttributeID int32 `gorm:"column:falloffAttributeID;type:INTEGER" json:"falloffAttributeID"`
DisallowAutoRepeat bool `gorm:"column:disallowAutoRepeat;type:BOOLEAN" json:"disallowAutoRepeat"`
Published bool `gorm:"column:published;type:BOOLEAN" json:"published"`
DisplayName string `gorm:"column:displayName;type:VARCHAR(100)" json:"displayName"`
IsWarpSafe bool `gorm:"column:isWarpSafe;type:BOOLEAN" json:"isWarpSafe"`
RangeChance bool `gorm:"column:rangeChance;type:BOOLEAN" json:"rangeChance"`
ElectronicChance bool `gorm:"column:electronicChance;type:BOOLEAN" json:"electronicChance"`
PropulsionChance bool `gorm:"column:propulsionChance;type:BOOLEAN" json:"propulsionChance"`
Distribution int32 `gorm:"column:distribution;type:INTEGER" json:"distribution"`
SfxName string `gorm:"column:sfxName;type:VARCHAR(20)" json:"sfxName"`
NpcUsageChanceAttributeID int32 `gorm:"column:npcUsageChanceAttributeID;type:INTEGER" json:"npcUsageChanceAttributeID"`
NpcActivationChanceAttributeID int32 `gorm:"column:npcActivationChanceAttributeID;type:INTEGER" json:"npcActivationChanceAttributeID"`
FittingUsageChanceAttributeID int32 `gorm:"column:fittingUsageChanceAttributeID;type:INTEGER" json:"fittingUsageChanceAttributeID"`
ModifierInfo string `gorm:"column:modifierInfo;type:TEXT" json:"modifierInfo"`
}
// TableName DgmEffect's table name
func (*DgmEffect) TableName() string {
return TableNameDgmEffect
}