package space.nstart.pcp.slots_service.dto.tgu

import java.time.Instant
import java.time.LocalDateTime
import java.util.UUID

data class TguPlatformResponse(
    val id: String?,
    val businessKey: String?,
    val name: String?,
    val status: String?,
    val noradId: Long?,
    val mission: String?,
    val validFrom: Instant?,
    val validTo: Instant?
)

data class TguPlanResponse(
    val planId: UUID,
    val spacecraftId: String,
    val startTime: LocalDateTime,
    val endTime: LocalDateTime,
    val kppId: String,
    val status: String
)

enum class TguPlanDecision {
    ACCEPTED,
    REJECTED
}

data class TguPlanDecisionMessage(
    val eventId: UUID,
    val spacecraftId: String,
    val planId: UUID,
    val attemptId: UUID,
    val decision: TguPlanDecision,
    val decisionTime: LocalDateTime,
    val reason: String?
)
