43 lines
2.4 KiB
Go
43 lines
2.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 TableNameMapSolarSystem = "mapSolarSystems"
|
|
|
|
// MapSolarSystem mapped from table <mapSolarSystems>
|
|
type MapSolarSystem struct {
|
|
RegionID int32 `gorm:"column:regionID;type:INTEGER" json:"regionID"`
|
|
ConstellationID int32 `gorm:"column:constellationID;type:INTEGER" json:"constellationID"`
|
|
SolarSystemID int32 `gorm:"column:solarSystemID;type:INTEGER" json:"solarSystemID"`
|
|
SolarSystemName string `gorm:"column:solarSystemName;type:VARCHAR(100)" json:"solarSystemName"`
|
|
X float32 `gorm:"column:x;type:FLOAT" json:"x"`
|
|
Y float32 `gorm:"column:y;type:FLOAT" json:"y"`
|
|
Z float32 `gorm:"column:z;type:FLOAT" json:"z"`
|
|
XMin float32 `gorm:"column:xMin;type:FLOAT" json:"xMin"`
|
|
XMax float32 `gorm:"column:xMax;type:FLOAT" json:"xMax"`
|
|
YMin float32 `gorm:"column:yMin;type:FLOAT" json:"yMin"`
|
|
YMax float32 `gorm:"column:yMax;type:FLOAT" json:"yMax"`
|
|
ZMin float32 `gorm:"column:zMin;type:FLOAT" json:"zMin"`
|
|
ZMax float32 `gorm:"column:zMax;type:FLOAT" json:"zMax"`
|
|
Luminosity float32 `gorm:"column:luminosity;type:FLOAT" json:"luminosity"`
|
|
Border bool `gorm:"column:border;type:BOOLEAN" json:"border"`
|
|
Fringe bool `gorm:"column:fringe;type:BOOLEAN" json:"fringe"`
|
|
Corridor bool `gorm:"column:corridor;type:BOOLEAN" json:"corridor"`
|
|
Hub bool `gorm:"column:hub;type:BOOLEAN" json:"hub"`
|
|
International bool `gorm:"column:international;type:BOOLEAN" json:"international"`
|
|
Regional bool `gorm:"column:regional;type:BOOLEAN" json:"regional"`
|
|
Constellation bool `gorm:"column:constellation;type:BOOLEAN" json:"constellation"`
|
|
Security float32 `gorm:"column:security;type:FLOAT" json:"security"`
|
|
FactionID int32 `gorm:"column:factionID;type:INTEGER" json:"factionID"`
|
|
Radius float32 `gorm:"column:radius;type:FLOAT" json:"radius"`
|
|
SunTypeID int32 `gorm:"column:sunTypeID;type:INTEGER" json:"sunTypeID"`
|
|
SecurityClass string `gorm:"column:securityClass;type:VARCHAR(2)" json:"securityClass"`
|
|
}
|
|
|
|
// TableName MapSolarSystem's table name
|
|
func (*MapSolarSystem) TableName() string {
|
|
return TableNameMapSolarSystem
|
|
}
|