package com.its.web.dto.traffic;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("FacilityDto(시설물 DTO)")
public class FacilityDto {
    @ApiModelProperty("ID")
    @JsonProperty("ID")
    private String id;

    @ApiModelProperty("명칭")
    @JsonProperty("NAME")
    private String name;

    @ApiModelProperty("x좌표")
    @JsonProperty("X_CRDN")
    private Double xCrdn;

    @ApiModelProperty("y좌표")
    @JsonProperty("Y_CRDN")
    private Double yCrdn;

    @ApiModelProperty("시설물 유형")
    @JsonProperty("TYPE")
    private String type;

    @ApiModelProperty("이미지 경로")
    @JsonProperty("IMAGE")
    private String image;

    @ApiModelProperty("이미지 유형")
    @JsonProperty("IMAGE_TYPE")
    private String imageType;

    @ApiModelProperty("스트리밍 주소")
    @JsonProperty("URL")
    private String url;

    @ApiModelProperty("시설물 속성")
    @JsonProperty("prop")
    private Object prop;

}
