package space.nstart.pcp.pcp_types_lib.dto.satellite.mission

import jakarta.validation.constraints.Positive
import jakarta.validation.constraints.Size
import java.time.LocalDateTime
import java.util.UUID

data class MissionRequestDTO(
    val missionId: UUID? = UUID.randomUUID(),

    @field:Positive
    val satelliteId: Long,

    @field:Size(max = 32)
    val station: String? = null,

    val missionStart: LocalDateTime? = null,
    val missionStop: LocalDateTime? = null,

    @field:Size(max = 15)
    val status: String? = null
)

data class MissionResponseDTO(
    val missionId: UUID,
    val satelliteId: Long,
    val station: String?,
    val missionStart: LocalDateTime?,
    val missionStop: LocalDateTime?,
    val status: String
)
