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("TbIncdOcrrDto(돌발 테이블 DTO)")
public class TbIncdOcrrDto {

    @ApiModelProperty("돌발 번호")
    @JsonProperty("incd_ocrr_id")
    private String incdOcrrId;

    @ApiModelProperty("링크 ID")
    @JsonProperty("link_id")
    private Long linkId;

    @ApiModelProperty("돌발 시작 일시")
    @JsonProperty("incd_strt_dt")
    private String incdStrtDt;

    @ApiModelProperty("돌발 종료 예정 일시")
    @JsonProperty("incd_end_prar_dt")
    private String incdEndPrarDt;

    @ApiModelProperty("도로명")
    @JsonProperty("road_nm")
    private String roadNm;

    @ApiModelProperty("돌발 제목")
    @JsonProperty("incd_titl")
    private String incdTitl;

    @ApiModelProperty("돌발 설명")
    @JsonProperty("incd_expl")
    private String incdExpl;

    @ApiModelProperty("돌발 유형 코드")
    @JsonProperty("incd_type_clsf_cd")
    private String incdTypeClsfCd;

    @ApiModelProperty("소통등급 코드")
    @JsonProperty("cmtr_grad_cd")
    private String cmtrGradCd;

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

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

    @ApiModelProperty("등록 경과 시간")
    @JsonProperty("ago_minutes")
    private String agoMinutes;

}
