package com.repair.model.vo; import lombok.Data; @Data public class RepairTotalDataVo { // 待审核 private Integer checkCount; // 待接单 private Integer receivingCount; // 待处理 private Integer disposeCount; // 待确认 private Integer affirmCount; // 维修中 private Integer maintainCount; // 已完成总数=(已完成+已取消+已关单) private Integer accomplishTotalCount; public Integer getAccomplishTotalCount() { return accomplishCount + cancelCount + shutCount; } public void setAccomplishTotalCount(Integer accomplishTotalCount) { this.accomplishTotalCount = accomplishTotalCount; } // 已完成 private Integer accomplishCount; // 已取消 private Integer cancelCount; // 已关单 private Integer shutCount; // 总单数 private Integer totalCount; public Integer getTotalCount() { return checkCount + receivingCount + disposeCount + affirmCount + maintainCount + accomplishCount + cancelCount + shutCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } }