package com.its.op.dto.its.dashboard;

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("CmtrGradCountSttsDto(소통등급갯수상태)")
public class CmtrGradCountSttsDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("가공시각")
    @JsonProperty("prcn_cd")
    private String prcnDt;

    @ApiModelProperty("원활갯수")
    @JsonProperty("ltc1")
    private Integer ltc1;

    @ApiModelProperty("지체갯수")
    @JsonProperty("ltc2")
    private Integer ltc2;

    @ApiModelProperty("정체갯수")
    @JsonProperty("ltc3")
    private Integer ltc3;

    @ApiModelProperty("정보없음갯수")
    @JsonProperty("ltc0")
    private Integer ltc0;

    @ApiModelProperty("전체갯수")
    @JsonProperty("total")
    private Integer total;

    @ApiModelProperty("원활비율")
    @JsonProperty("rate_ltc1")
    private Double rateLtc1;

    @ApiModelProperty("지체비율")
    @JsonProperty("rate_ltc2")
    private Double rateLtc2;

    @ApiModelProperty("정체비율")
    @JsonProperty("rate_ltc3")
    private Double rateLtc3;

    @ApiModelProperty("정보없음비율")
    @JsonProperty("rate_ltc0")
    private Double rateLtc0;

}
