|
@@ -25,16 +25,20 @@ public class ProcessTaskVO {
|
|
|
private String processName;
|
|
|
|
|
|
@Schema(description = "流程实例ID")
|
|
|
- private Long instanceId;;
|
|
|
+ private Long instanceId;
|
|
|
|
|
|
@Schema(description = "当前状态")
|
|
|
private Integer instanceState;
|
|
|
|
|
|
- @Schema(description = "当前任务ID")
|
|
|
- private Long taskId;;
|
|
|
+ @Schema(description = "发起人")
|
|
|
+ private String launchBy;
|
|
|
|
|
|
- @Schema(description = "当前任务名称")
|
|
|
- private String taskName;
|
|
|
+ @JsonFormat(pattern = ApiConstants.DATE_MM)
|
|
|
+ @Schema(description = "发起时间")
|
|
|
+ private Date launchTime;
|
|
|
+
|
|
|
+ @Schema(description = "当前任务ID")
|
|
|
+ private Long id;
|
|
|
|
|
|
@Schema(description = "发起人ID")
|
|
|
private String createId;
|
|
@@ -46,4 +50,50 @@ public class ProcessTaskVO {
|
|
|
@Schema(description = "创建时间")
|
|
|
private Date createTime;
|
|
|
|
|
|
+ @Schema(description = "当前任务名称")
|
|
|
+ private String taskName;
|
|
|
+
|
|
|
+ @Schema(description = "任务显示名称")
|
|
|
+ private String displayName;
|
|
|
+ /**
|
|
|
+ * 任务类型 {@link com.flowlong.bpm.engine.core.enums.TaskType}
|
|
|
+ */
|
|
|
+ @Schema(description = "任务类型")
|
|
|
+ protected Integer taskType;
|
|
|
+ /**
|
|
|
+ * 参与方式 {@link com.flowlong.bpm.engine.core.enums.PerformType}
|
|
|
+ */
|
|
|
+ @Schema(description = "参与方式")
|
|
|
+ protected Integer performType;
|
|
|
+
|
|
|
+ @Schema(description = "任务关联的表单url")
|
|
|
+ protected String actionUrl;
|
|
|
+
|
|
|
+ @Schema(description = "变量json")
|
|
|
+ protected String variable;
|
|
|
+
|
|
|
+ @Schema(description = "委托人ID")
|
|
|
+ protected String assignorId;
|
|
|
+
|
|
|
+ @Schema(description = "委托人")
|
|
|
+ protected String assignor;
|
|
|
+
|
|
|
+ @JsonFormat(pattern = ApiConstants.DATE_MM)
|
|
|
+ @Schema(description = "期望任务完成时间")
|
|
|
+ protected Date expireTime;
|
|
|
+
|
|
|
+ @JsonFormat(pattern = ApiConstants.DATE_MM)
|
|
|
+ @Schema(description = "提醒时间")
|
|
|
+ protected Date remindTime;
|
|
|
+
|
|
|
+ @Schema(description = "提醒次数")
|
|
|
+ protected Integer remindRepeat;
|
|
|
+
|
|
|
+ @Schema(description = "已阅 0,否 1,是")
|
|
|
+ protected Integer viewed;
|
|
|
+
|
|
|
+ @JsonFormat(pattern = ApiConstants.DATE_MM)
|
|
|
+ @Schema(description = "完成时间")
|
|
|
+ protected Date finishTime;
|
|
|
+
|
|
|
}
|