package space.nstart.pcp.pcp_satellite_catalog_service.entity

import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
import java.time.LocalDateTime

@Entity
@Table(name = "satellite_slot_profile")
class SatelliteSlotProfileEntity(
    @Id
    @Column(name = "satellite_id")
    val satelliteId: Long = 0,
    @Column(name = "cycle_revs", nullable = false)
    val cycleRevs: Long = 0,
    @Column(name = "tn_calc")
    val tnCalc: LocalDateTime? = null,
    @Column(name = "slot_duration", nullable = false)
    val slotDuration: Long = 10,
    @Column(name = "duration_calc_days", nullable = false)
    val durationCalcDays: Long = 0,
    @Column(name = "max_chain_length", nullable = false)
    val maxChainLength: Int = 0
)
