package space.nstart.pcp.slots_service.czml

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.v3.oas.annotations.media.Schema
import lombok.AllArgsConstructor
import lombok.Data
import lombok.NoArgsConstructor


@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(description = "Узел CZML")
@JsonInclude(JsonInclude.Include.NON_NULL)
class CZMLPolygon(
    val positions : CZMLPosition,
    val show : Boolean = true,
    val perPositionHeight : Boolean = false,
    val stRotation : Double = 0.0,
    val extrudedHeight : Double = 0.0,
    val height : Double = 0.0,
    val fill : Boolean = false,
    val outline : Boolean = true,
    val outlineWidth : Double = 3.0,
    val outlineColor : CZMLColor = CZMLColor(0,0,225,225),
    val material : CZMLMaterial? = null
) {
}