package space.nstart.pcp.complan.types

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import io.swagger.v3.oas.annotations.media.Schema
import space.nstart.pcp.pcp_types_lib.dto.ballistics.PositionDTO
import java.util.UUID

@Schema(description = "Модель данных объекта для расчета наблюдения")
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonSerialize
data class ObjDTO(
    @get:JsonProperty("id")
    @param:JsonProperty("id")
    val id: UUID,

    @get:JsonProperty("position")
    @param:JsonProperty("position")
    val position: PositionDTO? = null,

    @get:JsonProperty("contourWKT")
    @param:JsonProperty("contourWKT")
    val contourWKT: String? = null
)
