Files
zkill-susser/models/mapcelestialstatistics.gen.go
2026-01-05 16:18:18 +01:00

37 lines
1.8 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 TableNameMapCelestialStatistic = "mapCelestialStatistics"
// MapCelestialStatistic mapped from table <mapCelestialStatistics>
type MapCelestialStatistic struct {
CelestialID int32 `gorm:"column:celestialID;primaryKey" json:"celestialID"`
Temperature float64 `gorm:"column:temperature" json:"temperature"`
SpectralClass string `gorm:"column:spectralClass" json:"spectralClass"`
Luminosity float64 `gorm:"column:luminosity" json:"luminosity"`
Age float64 `gorm:"column:age" json:"age"`
Life float64 `gorm:"column:life" json:"life"`
OrbitRadius float64 `gorm:"column:orbitRadius" json:"orbitRadius"`
Eccentricity float64 `gorm:"column:eccentricity" json:"eccentricity"`
MassDust float64 `gorm:"column:massDust" json:"massDust"`
MassGas float64 `gorm:"column:massGas" json:"massGas"`
Fragmented bool `gorm:"column:fragmented" json:"fragmented"`
Density float64 `gorm:"column:density" json:"density"`
SurfaceGravity float64 `gorm:"column:surfaceGravity" json:"surfaceGravity"`
EscapeVelocity float64 `gorm:"column:escapeVelocity" json:"escapeVelocity"`
OrbitPeriod float64 `gorm:"column:orbitPeriod" json:"orbitPeriod"`
RotationRate float64 `gorm:"column:rotationRate" json:"rotationRate"`
Locked bool `gorm:"column:locked" json:"locked"`
Pressure float64 `gorm:"column:pressure" json:"pressure"`
Radius float64 `gorm:"column:radius" json:"radius"`
Mass int32 `gorm:"column:mass" json:"mass"`
}
// TableName MapCelestialStatistic's table name
func (*MapCelestialStatistic) TableName() string {
return TableNameMapCelestialStatistic
}