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 CZMLMaterial(
    val solidColor: CZMLSolidColor? = null,
) {
    constructor(r : Int, g : Int, b : Int, a : Int) : this(CZMLSolidColor(r, g, b, a))

}