TaskVo.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. package jnpf.flowable.model.task;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. import java.util.Date;
  6. /**
  7. * 类的描述
  8. *
  9. * @author JNPF@YinMai Info. Co., Ltd
  10. * @version 5.0.x
  11. * @since 2024/4/17 15:02
  12. */
  13. @Data
  14. public class TaskVo implements Serializable {
  15. /**
  16. * 主键
  17. */
  18. @Schema(description = "主键")
  19. private String id;
  20. /**
  21. * 任务编码
  22. */
  23. @Schema(description = "任务编码")
  24. private String enCode;
  25. /**
  26. * 任务标题
  27. */
  28. @Schema(description = "任务标题")
  29. private String fullName;
  30. /**
  31. * 流程名称
  32. */
  33. @Schema(description = "流程名称")
  34. private String flowName;
  35. /**
  36. * 流程编码
  37. */
  38. @Schema(description = "流程编码")
  39. private String flowCode;
  40. /**
  41. * 任务状态
  42. */
  43. @Schema(description = "任务状态")
  44. private Integer status;
  45. /**
  46. * 流程分类
  47. */
  48. @Schema(description = "流程分类")
  49. private String flowCategory;
  50. /**
  51. * 流程类型
  52. */
  53. @Schema(description = "流程类型")
  54. private String flowType;
  55. /**
  56. * 流程版本
  57. */
  58. @Schema(description = "流程版本")
  59. private String flowVersion;
  60. /**
  61. * 同步异步(0:同步,1:异步)
  62. */
  63. @Schema(description = "同步异步(0:同步,1:异步)")
  64. private Integer isAsync;
  65. /**
  66. * 父级实例id
  67. */
  68. @Schema(description = "父级实例id")
  69. private String parentId;
  70. /**
  71. * 紧急程度
  72. */
  73. @Schema(description = "紧急程度")
  74. private Integer flowUrgent;
  75. /**
  76. * 流程主键
  77. */
  78. @Schema(description = "流程主键")
  79. private String templateId;
  80. /**
  81. * 流程版本主键
  82. */
  83. @Schema(description = "流程版本主键")
  84. private String flowId;
  85. /**
  86. * 流程引擎实例id
  87. */
  88. @Schema(description = "流程引擎实例id")
  89. private String instanceId;
  90. /**
  91. * 流程引擎类型;1.flowable,2,activity,3.camunda
  92. */
  93. @Schema(description = "流程引擎类型;1.flowable,2,activity,3.camunda")
  94. private Integer engineType;
  95. /**
  96. * 委托用户
  97. */
  98. @Schema(description = "委托用户")
  99. private String delegateUser;
  100. /**
  101. * 开始时间
  102. */
  103. @Schema(description = "开始时间")
  104. private Date startTime;
  105. /**
  106. * 结束时间
  107. */
  108. @Schema(description = "结束时间")
  109. private Date endTime;
  110. /**
  111. * 当前节点名称
  112. */
  113. @Schema(description = "当前节点名称")
  114. private String currentNodeName;
  115. /**
  116. * 创建人
  117. */
  118. @Schema(description = "创建人")
  119. private String creatorUser;
  120. /**
  121. * 创建人头像
  122. */
  123. @Schema(description = "创建人头像")
  124. private String headIcon;
  125. /**
  126. * 创建时间
  127. */
  128. @Schema(description = "创建时间")
  129. private Date creatorTime;
  130. /**
  131. * 应用名称
  132. */
  133. @Schema(description = "应用名称")
  134. private String systemName;
  135. /**
  136. * 是否撤销流程
  137. */
  138. private Boolean isRevokeTask = false;
  139. }