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;
import org.springframework.context.annotation.Profile;

@Profile("itcs")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("IntersectionCameraDto(스마트교차로 카메라 DTO)")
public class IntersectionCameraDto {

    @ApiModelProperty("교차로 ID")
    @JsonProperty("ixr_id")
    private String ixrId;

    @ApiModelProperty("카메라 ID")
    @JsonProperty("cmra_id")
    private String cmraId;

    @ApiModelProperty("방향 코드")
    @JsonProperty("drct_dvsn_cd")
    private Integer drctDvsnCd;

    @ApiModelProperty("방향 위치")
    @JsonProperty("drct_lctn")
    private String drctLctn;

    @ApiModelProperty("버스 노선 유무")
    @JsonProperty("bus_dvrs_lane_en")
    private Integer busDvrsLaneEn;

    @ApiModelProperty("서비스 분석 여부")
    @JsonProperty("srvc_anly_en")
    private Integer srvcAnlyEn;

    @ApiModelProperty("교차로 명칭")
    @JsonProperty("ixr_nm")
    private String ixrNm;

    @ApiModelProperty("카메라 IP")
    @JsonProperty("cmra_ip")
    private String cmraIp;

    @ApiModelProperty("카메라 포트")
    @JsonProperty("cmra_port")
    private String cmraPort;

    @ApiModelProperty("카메라 HTTP 포트")
    @JsonProperty("cmra_http_port")
    private Integer cmraHttpPort;

    @ApiModelProperty("카메라 URL")
    @JsonProperty("cmra_url")
    private String cmraUrl;

    @ApiModelProperty("카메라 유형")
    @JsonProperty("cmra_type")
    private Integer cmraType;

    @ApiModelProperty("카메라 X 좌표")
    @JsonProperty("cmra_x_crdn")
    private Double cmraXCrdn;

    @ApiModelProperty("카메라 Y 좌표")
    @JsonProperty("cmra_y_crdn")
    private Double cmraYCrdn;

    @ApiModelProperty("카메라 앵글")
    @JsonProperty("cmra_angn")
    private Integer cmraAngn;

    @ApiModelProperty("소통등급")
    @JsonProperty("acrd_los")
    private String acrdLos;

    @ApiModelProperty("지연 시간")
    @JsonProperty("dely_hh")
    private String delyHh;

    @ApiModelProperty("카메라 사용 여부")
    @JsonProperty("cmra_use_yn")
    private Integer cmraUseYn;

    @ApiModelProperty("홈페이지 카메라 URL")
    @JsonProperty("hmpg_cmra_url")
    private String hmpgCmraUrl;

    @ApiModelProperty("화살표 시작 X좌표")
    @JsonProperty("start_x")
    private Double startX;

    @ApiModelProperty("화살표 끝 X 좌표")
    @JsonProperty("end_x")
    private Double endX;

    @ApiModelProperty("화살표 시작 X 좌표")
    @JsonProperty("start_y")
    private Double startY;

    @ApiModelProperty("화살표 끝 Y 좌표")
    @JsonProperty("end_y")
    private Double endY;
}
