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