RepairTotalDataVo.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package com.repair.model.vo;
  2. import lombok.Data;
  3. @Data
  4. public class RepairTotalDataVo {
  5. // 待审核
  6. private Integer checkCount;
  7. // 待接单
  8. private Integer receivingCount;
  9. // 待处理
  10. private Integer disposeCount;
  11. // 待确认
  12. private Integer affirmCount;
  13. // 维修中
  14. private Integer maintainCount;
  15. // 已完成总数=(已完成+已取消+已关单)
  16. private Integer accomplishTotalCount;
  17. public Integer getAccomplishTotalCount() {
  18. return accomplishCount + cancelCount + shutCount;
  19. }
  20. public void setAccomplishTotalCount(Integer accomplishTotalCount) {
  21. this.accomplishTotalCount = accomplishTotalCount;
  22. }
  23. // 已完成
  24. private Integer accomplishCount;
  25. // 已取消
  26. private Integer cancelCount;
  27. // 已关单
  28. private Integer shutCount;
  29. // 总单数
  30. private Integer totalCount;
  31. public Integer getTotalCount() {
  32. return checkCount + receivingCount + disposeCount + affirmCount + maintainCount + accomplishCount + cancelCount + shutCount;
  33. }
  34. public void setTotalCount(Integer totalCount) {
  35. this.totalCount = totalCount;
  36. }
  37. }