package space.nstart.pcp.slots_service.entity

import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
import space.nstart.pcp.pcp_types_lib.utils.UtcDateTimes
import java.time.LocalDateTime

@Entity
@Table(name = "satellite_ic")
class SatelliteIcEntity(
    @Id
    @Column(name = "satellite_id", nullable = false)
    val satelliteId: Long = 0,
    @Column(name = "orb_time", nullable = false)
    val orbTime: LocalDateTime = UtcDateTimes.now(),
    @Column(name = "orb_revolution", nullable = false)
    val orbRevolution: Long = 0,
    @Column(nullable = false)
    val x: Double = 0.0,
    @Column(nullable = false)
    val y: Double = 0.0,
    @Column(nullable = false)
    val z: Double = 0.0,
    @Column(nullable = false)
    val vx: Double = 0.0,
    @Column(nullable = false)
    val vy: Double = 0.0,
    @Column(nullable = false)
    val vz: Double = 0.0,
    @Column(name = "s_ball", nullable = false)
    val sBall: Double = 0.0,
    @Column(nullable = false)
    val f81: Double = 147.8
)
