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;

import java.util.List;

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

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

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

    @ApiModelProperty("phas_cnt")
    @JsonProperty("phas_cnt")
    private String phasCnt;

    @ApiModelProperty("지점 정보")
    @JsonProperty("spot_fetr")
    private String spotFetr;

    @ApiModelProperty("X 좌표")
    @JsonProperty("x_crdn")
    private String xCrdn;

    @ApiModelProperty("Y 좌표")
    @JsonProperty("y_crdn")
    private String yCrdn;

    @ApiModelProperty("교차로 유형")
    @JsonProperty("ixr_type")
    private String ixrType;

    @ApiModelProperty("SEQ")
    @JsonProperty("seq")
    private String seq;

    @ApiModelProperty("DVSN")
    @JsonProperty("dvsn")
    private String dvsn;

    @ApiModelProperty("USE_EN")
    @JsonProperty("use_en")
    private String useEn;

    @ApiModelProperty("CLCT_DT")
    @JsonProperty("clct_dt")
    private String clctDt;

    @ApiModelProperty("IXR_LOS")
    @JsonProperty("ixr_los")
    private String ixrLos;

    @ApiModelProperty("DELY_HH")
    @JsonProperty("dely_hh")
    private String delyHh;
    
    @ApiModelProperty("교차로 상세정보")
    @JsonProperty("detail")
    private List<IntersectionCameraDto> detail;

}
