MaterialTaskPageVo.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. package com.xjrsoft.module.material.vo;
  2. import com.alibaba.excel.annotation.ExcelProperty;
  3. import com.alibaba.excel.annotation.write.style.ContentStyle;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import lombok.Data;
  7. import java.time.LocalDate;
  8. import java.time.LocalDateTime;
  9. /**
  10. * @title: 材料提交任务分页列表出参
  11. * @Author baicai
  12. * @Date: 2023-10-31
  13. * @Version 1.0
  14. */
  15. @Data
  16. public class MaterialTaskPageVo {
  17. /**
  18. * 主键编号
  19. */
  20. @ContentStyle(dataFormat = 49)
  21. @ExcelProperty("主键编号")
  22. @ApiModelProperty("主键编号")
  23. private String id;
  24. /**
  25. * 创建时间
  26. */
  27. @ContentStyle(dataFormat = 49)
  28. @ExcelProperty("创建时间")
  29. @ApiModelProperty("创建时间")
  30. private LocalDate createDate;
  31. /**
  32. * 有效标志
  33. */
  34. @ContentStyle(dataFormat = 49)
  35. @ExcelProperty("有效标志")
  36. @ApiModelProperty("有效标志")
  37. private Integer enabledMark;
  38. /**
  39. * 材料提交任务类型(material_type)
  40. */
  41. @ContentStyle(dataFormat = 49)
  42. @ExcelProperty("材料提交任务类型(material_type)")
  43. @ApiModelProperty("材料提交任务类型(material_type)")
  44. private Long materialTypeId;
  45. /**
  46. * 材料提交任务类型(material_type)
  47. */
  48. @ContentStyle(dataFormat = 49)
  49. @ExcelProperty("材料提交任务类型(material_type)")
  50. @ApiModelProperty("材料提交任务类型(material_type)")
  51. private String materialTypeIdCn;
  52. /**
  53. * 任务名称
  54. */
  55. @ContentStyle(dataFormat = 49)
  56. @ExcelProperty("任务名称")
  57. @ApiModelProperty("任务名称")
  58. private String name;
  59. /**
  60. * 状态 1=未开始 2=进行中 3=结束
  61. */
  62. @ContentStyle(dataFormat = 49)
  63. @ExcelProperty("状态 1=未开始 2=进行中 3=结束")
  64. @ApiModelProperty("状态 1=未开始 2=进行中 3=结束")
  65. private Integer status;
  66. /**
  67. * 要求完成日期
  68. */
  69. @ContentStyle(dataFormat = 49)
  70. @ExcelProperty("要求完成日期")
  71. @ApiModelProperty("要求完成日期")
  72. @JsonFormat(pattern = "yyyy-MM-dd")
  73. private LocalDate requiredCompleteTime;
  74. /**
  75. * 要求
  76. */
  77. @ContentStyle(dataFormat = 49)
  78. @ExcelProperty("要求")
  79. @ApiModelProperty("要求")
  80. private String requirement;
  81. /**
  82. * 指派给几人
  83. */
  84. @ContentStyle(dataFormat = 49)
  85. @ExcelProperty("指派给几人")
  86. @ApiModelProperty("指派给几人")
  87. private Integer assignPerson;
  88. /**
  89. * 已提交人数
  90. */
  91. @ContentStyle(dataFormat = 49)
  92. @ExcelProperty("已提交人数")
  93. @ApiModelProperty("已提交人数")
  94. private Integer submitedPerson;
  95. /**
  96. * 按时提交
  97. */
  98. @ContentStyle(dataFormat = 49)
  99. @ExcelProperty("按时提交")
  100. @ApiModelProperty("按时提交")
  101. private Integer onTimePerson;
  102. /**
  103. * 延迟提交
  104. */
  105. @ContentStyle(dataFormat = 49)
  106. @ExcelProperty("延迟提交")
  107. @ApiModelProperty("延迟提交")
  108. private Integer timeDelay;
  109. }