package com.its.op.dto.its.common;

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

import java.io.Serializable;

/**
 *  DTO Class
 */
@Data
@Builder
@ApiModel("CongestTrafficDto(도로 지정체 정보)")
public class CongestTrafficDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("정보제공구간ID")  // Y VARCHAR(4)
    @JsonProperty("ifsc_id")
    private String ifscId;

    @ApiModelProperty("속도")  // Y VARCHAR(30)
    @JsonProperty("sped")
    private Integer sped;

    @ApiModelProperty("소통등급")  // Y VARCHAR(100)
    @JsonProperty("cmtr_grad_cd")
    private String cmtrGradCd;

    @ApiModelProperty("시점명")  // Y VARCHAR(256)
    @JsonProperty("strt_nm")
    private String strtNm;

    @ApiModelProperty("종점명")  // Y VARCHAR(32)
    @JsonProperty("end_nm")
    private String endNm;

    @ApiModelProperty("소통등급코드명")  // Y VARCHAR(1)
    @JsonProperty("cmmn_cd_kor_nm")
    private String cmmnCdKorNm;

    @ApiModelProperty("구간거리")
    @JsonProperty("sect_lngt")
    private Integer sectLngt;

    @ApiModelProperty("도로명")
    @JsonProperty("atrd_nm")
    private String atrdNm;

}
