FlowHandleModel.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package jnpf.flowable.model.task;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import jnpf.base.Pagination;
  4. import jnpf.flowable.model.util.FlowNature;
  5. import lombok.Data;
  6. import java.util.ArrayList;
  7. import java.util.HashMap;
  8. import java.util.List;
  9. import java.util.Map;
  10. /**
  11. * @author JNPF开发平台组
  12. * @version V3.1.0
  13. * @copyright 引迈信息技术有限公司
  14. * @date 2021/3/15 9:17
  15. */
  16. @Data
  17. public class FlowHandleModel extends Pagination {
  18. /**
  19. * 意见
  20. **/
  21. @Schema(description = "意见")
  22. private String handleOpinion;
  23. /**
  24. * 拓展字段
  25. **/
  26. @Schema(description = "拓展字段")
  27. private List<Map<String,Object>> approvalField = new ArrayList<>();
  28. /**
  29. * 处理人,如 转审人、指派人
  30. **/
  31. @Schema(description = "处理人")
  32. private String handleIds;
  33. /**
  34. * 审批数据
  35. **/
  36. @Schema(description = "审批数据")
  37. private Map<String, Object> formData = new HashMap<>();
  38. /**
  39. * 自定义抄送人
  40. **/
  41. @Schema(description = "自定义抄送人")
  42. private String copyIds;
  43. /**
  44. * 签名
  45. **/
  46. @Schema(description = "签名")
  47. private String signImg;
  48. /**
  49. * 指派节点
  50. **/
  51. @Schema(description = "指派节点")
  52. private String nodeCode;
  53. /**
  54. * 候选人
  55. */
  56. @Schema(description = "候选人")
  57. private Map<String, List<String>> candidateList = new HashMap<>();
  58. /**
  59. * 异常处理人
  60. */
  61. @Schema(description = "异常处理人")
  62. private Map<String, List<String>> errorRuleUserList = new HashMap<>();
  63. /**
  64. * 选择分支
  65. */
  66. @Schema(description = "选择分支")
  67. private List<String> branchList = new ArrayList<>();
  68. /**
  69. * 批量审批id
  70. */
  71. @Schema(description = "批量审批主键")
  72. private List<String> ids = new ArrayList<>();
  73. /**
  74. * 签收类型,0、签收 1、退签 2、表示流程监控的类型为任务流程
  75. */
  76. @Schema(description = "签收类型")
  77. private Integer type = 0;
  78. /**
  79. * 经办文件
  80. **/
  81. @Schema(description = "经办文件")
  82. private List<Map<String,Object>> fileList = new ArrayList<>();
  83. /**
  84. * 批量审批类型 0.通过 1.拒绝 2.转办 3.退回
  85. */
  86. @Schema(description = "批量审批类型")
  87. private Integer batchType = 0;
  88. /**
  89. * 退回节点
  90. */
  91. @Schema(description = "退回节点")
  92. private String backNodeCode = FlowNature.Start;
  93. /**
  94. * 退回类型 1.重新审批 2.从当前节点审批
  95. */
  96. @Schema(description = "退回类型")
  97. private Integer backType = FlowNature.RestartType;
  98. }