package com.its.api.its.model.dto.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("TrafDto(소통상황정보)")
public class TrafDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")  // N NUMBER(10)
    @JsonProperty("id")
    private Long id;

    @ApiModelProperty("속도")  // Y NUMBER(3)
    @JsonProperty("sped")
    private Integer sped;

    @ApiModelProperty("통행 시간")  // Y NUMBER(6)
    @JsonProperty("trvl_hh")
    private Integer trvlHh;

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

    @ApiModelProperty("결측 여부")  // Y CHAR(1)
    @JsonProperty("miss_yn")
    private String missYn;

    @ApiModelProperty("가공 일시")
    @JsonProperty("prcn_dt")
    private String prcnDt;

}
