package com.njcn.pojo.commons.runmanage;

import java.io.Serializable;
import java.util.List;

/**
 * @author hongawen
 * @date: 2024/07/25
 */
public class IntegrityAnalysisData implements Serializable {

    private String deptIndex;

    private String deptName;

    private List<TypeList> typeLists;

    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public static class TypeList {

        private String name;

        List<DataList> dataLists;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<DataList> getDataLists() {
            return dataLists;
        }

        public void setDataLists(List<DataList> dataLists) {
            this.dataLists = dataLists;
        }
    }

    public static class DataList {
        //分类型名称
        private String name;

        //总监测点个数
        private Integer allLineCount;

        //投运监测点个数
        private Integer runLineCount;

        //检修监测点个数
        private Integer checkLineCount;

        //退运监测点个数
        private Integer backLineCount;


        public Integer getAllLineCount() {
            return allLineCount;
        }

        public void setAllLineCount(Integer allLineCount) {
            this.allLineCount = allLineCount;
        }

        public Integer getRunLineCount() {
            return runLineCount;
        }

        public void setRunLineCount(Integer runLineCount) {
            this.runLineCount = runLineCount;
        }

        public Integer getCheckLineCount() {
            return checkLineCount;
        }

        public void setCheckLineCount(Integer checkLineCount) {
            this.checkLineCount = checkLineCount;
        }

        public Integer getBackLineCount() {
            return backLineCount;
        }

        public void setBackLineCount(Integer backLineCount) {
            this.backLineCount = backLineCount;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public String getDeptIndex() {
        return deptIndex;
    }

    public void setDeptIndex(String deptIndex) {
        this.deptIndex = deptIndex;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public List<TypeList> getTypeLists() {
        return typeLists;
    }

    public void setTypeLists(List<TypeList> typeLists) {
        this.typeLists = typeLists;
    }

    @Override
    public String toString() {
        return "IntegrityAnalysisData{" +
                "deptIndex='" + deptIndex + '\'' +
                ", deptName='" + deptName + '\'' +
                ", typeLists=" + typeLists +
                '}';
    }
}
