package com.its.api.its.model.dto.view;

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("VwFcltSttsCntDto(시설물현황)")
public class VwFcltSttsCntDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("시설물유형")  // Y VARCHAR(4)
    @JsonProperty("fclt_type")
    private String fcltType;

    @ApiModelProperty("시설물명")  // Y VARCHAR(100)
    @JsonProperty("fclt_nm")
    private String fcltNm;

    @ApiModelProperty("전체개수")  // Y NUMBER(0)
    @JsonProperty("total_cnt")
    private Integer totalCnt;

    @ApiModelProperty("정상개수")  // Y NUMBER(0)
    @JsonProperty("normal_cnt")
    private Integer normalCnt;

    @ApiModelProperty("오류개수")  // Y NUMBER(0)
    @JsonProperty("error_cnt")
    private Integer errorCnt;

}
