package space.nstart.pcp.slots_service.dto.pdcm

import space.nstart.pcp.pcp_types_lib.dto.ballistics.AscNodeDTO
import java.time.LocalDateTime

/*
 * Времена ([LocalDateTime]) — naive ISO без зоны (локальное настенное время, без UTC-семантики).
 */

data class SatellitePdcmAvailabilityDTO(
    val timeStart: LocalDateTime,
    val timeStop: LocalDateTime
)

data class SatellitePdcmSummaryDTO(
    val satelliteId: Long,
    val code: String,
    val name: String,
    val activeInterval: Boolean,
    val availableInterval: SatellitePdcmAvailabilityDTO?
)

data class SatellitePdcmDetailsDTO(
    val satelliteId: Long,
    val code: String,
    val name: String,
    val activeInterval: Boolean,
    val availableInterval: SatellitePdcmAvailabilityDTO?,
    val ascNodes: List<AscNodeDTO> = emptyList()
)
