package com.its.op.dto.its.facility;

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

import java.io.Serializable;

/**
 *  DTO Class
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("FcltSttsCntDto(시설물현황)")
public class FcltSttsCntDto 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;

}
