31 lines
1.5 KiB
Go
31 lines
1.5 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 TableNameMapConstellation = "mapConstellations"
|
|
|
|
// MapConstellation mapped from table <mapConstellations>
|
|
type MapConstellation struct {
|
|
RegionID int32 `gorm:"column:regionID;type:INTEGER" json:"regionID"`
|
|
ConstellationID int32 `gorm:"column:constellationID;type:INTEGER" json:"constellationID"`
|
|
ConstellationName string `gorm:"column:constellationName;type:VARCHAR(100)" json:"constellationName"`
|
|
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"`
|
|
FactionID int32 `gorm:"column:factionID;type:INTEGER" json:"factionID"`
|
|
Radius float32 `gorm:"column:radius;type:FLOAT" json:"radius"`
|
|
}
|
|
|
|
// TableName MapConstellation's table name
|
|
func (*MapConstellation) TableName() string {
|
|
return TableNameMapConstellation
|
|
}
|