package space.nstart.pcp.pcp_types_lib.dto.requests

import io.swagger.v3.oas.annotations.media.Schema
import java.util.UUID

@Schema(description = "Заявка для покрытия ячейками")
class RequestDTO(
    @field:Schema(
        description = "Идентификатор",
         example = "aaa-bbb-sss"
    )
    val requestId : UUID? = UUID.randomUUID(),
    @field:Schema(
        description = "Важность заявки",
        example = "0.76"
    )
    val importance : Double = 0.0,
    @field:Schema(
        description = "Контур заявки",
        example = "POLYGON ((10 10, 15 15, 20 10, 15 5, 10 10))"
    )
    val contour : String = "",

    val name : String = "empty",

    val square : Double? = 0.0,

    val geoType : GeoType? = null
)