|
@@ -23,15 +23,18 @@ public class FlwProcessDTO {
|
|
|
@Schema(description = "流程定义ID")
|
|
|
private Long processId;
|
|
|
|
|
|
+ @Schema(description = "流程定义 key 唯一标识")
|
|
|
+ private String processKey;
|
|
|
+
|
|
|
@Schema(description = "流程定义名称")
|
|
|
private String processName;
|
|
|
|
|
|
- @Schema(description = "流程定义说明")
|
|
|
- private String displayName;
|
|
|
-
|
|
|
- @Schema(description = "流程定义图标")
|
|
|
+ @Schema(description = "流程定义名称")
|
|
|
private String processIcon;
|
|
|
|
|
|
+ @Schema(description = "备注说明")
|
|
|
+ private String remark;
|
|
|
+
|
|
|
@Schema(description = "流程分类ID")
|
|
|
private Long categoryId;
|
|
|
|
|
@@ -63,8 +66,8 @@ public class FlwProcessDTO {
|
|
|
public static FlwProcessDTO of(FlwProcess flwProcess) {
|
|
|
FlwProcessDTO dto = new FlwProcessDTO();
|
|
|
dto.setProcessId(flwProcess.getId());
|
|
|
+ dto.setProcessKey(flwProcess.getProcessKey());
|
|
|
dto.setProcessName(flwProcess.getProcessName());
|
|
|
- dto.setDisplayName(flwProcess.getDisplayName());
|
|
|
dto.setProcessIcon(flwProcess.getProcessIcon());
|
|
|
dto.setUseScope(flwProcess.getUseScope());
|
|
|
dto.setModelContent(flwProcess.getModelContent());
|