diff --git a/dss-orchestrator/orchestrators/dss-workflow/dss-workflow-common/src/main/java/com/webank/wedatasphere/dss/workflow/common/entity/DSSFlowRelation.java b/dss-orchestrator/orchestrators/dss-workflow/dss-workflow-common/src/main/java/com/webank/wedatasphere/dss/workflow/common/entity/DSSFlowRelation.java index 2d5a35ac52..8cce61e60c 100644 --- a/dss-orchestrator/orchestrators/dss-workflow/dss-workflow-common/src/main/java/com/webank/wedatasphere/dss/workflow/common/entity/DSSFlowRelation.java +++ b/dss-orchestrator/orchestrators/dss-workflow/dss-workflow-common/src/main/java/com/webank/wedatasphere/dss/workflow/common/entity/DSSFlowRelation.java @@ -21,6 +21,14 @@ public class DSSFlowRelation { private Long flowID; private Long parentFlowID; + public DSSFlowRelation() { + } + + public DSSFlowRelation(Long flowID, Long parentFlowID) { + this.flowID = flowID; + this.parentFlowID = parentFlowID; + } + public Long getId() { return id; }