28 lines
1.4 KiB
Go
28 lines
1.4 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 TableNameChrFaction = "chrFactions"
|
|
|
|
// ChrFaction mapped from table <chrFactions>
|
|
type ChrFaction struct {
|
|
FactionID int32 `gorm:"column:factionID;type:INTEGER" json:"factionID"`
|
|
FactionName string `gorm:"column:factionName;type:VARCHAR(100)" json:"factionName"`
|
|
Description string `gorm:"column:description;type:VARCHAR(2000)" json:"description"`
|
|
RaceIDs int32 `gorm:"column:raceIDs;type:INTEGER" json:"raceIDs"`
|
|
SolarSystemID int32 `gorm:"column:solarSystemID;type:INTEGER" json:"solarSystemID"`
|
|
CorporationID int32 `gorm:"column:corporationID;type:INTEGER" json:"corporationID"`
|
|
SizeFactor float32 `gorm:"column:sizeFactor;type:FLOAT" json:"sizeFactor"`
|
|
StationCount int32 `gorm:"column:stationCount;type:INTEGER" json:"stationCount"`
|
|
StationSystemCount int32 `gorm:"column:stationSystemCount;type:INTEGER" json:"stationSystemCount"`
|
|
MilitiaCorporationID int32 `gorm:"column:militiaCorporationID;type:INTEGER" json:"militiaCorporationID"`
|
|
IconID int32 `gorm:"column:iconID;type:INTEGER" json:"iconID"`
|
|
}
|
|
|
|
// TableName ChrFaction's table name
|
|
func (*ChrFaction) TableName() string {
|
|
return TableNameChrFaction
|
|
}
|