EquipStatisticVO.java 926 字节
package com.skua.modules.equipment.vo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

/**
 * @author sonin
 * @date 2021/10/27 14:03
 */
@Data
public class EquipStatisticVO {

    private LineData lineData;

    private IPage<TableData> tableData;

    public EquipStatisticVO() {
        lineData = new LineData();
        tableData = new Page<>();
    }

    @Data
    public static class LineData {
        // 待维修
        private Integer todo = 0;
        // 维修中
        private Integer doing = 0;
        // 已完成
        private Integer done = 0;
    }

    @Data
    public static class TableData {
        private String departId;
        private String departName;
        private String equipmentName;
        private String name;
        private String faultReason;
        private String status;
    }
}