UPDATE: fk
This commit is contained in:
@@ -18,6 +18,8 @@ public class Nodeconnection extends BaseEntity
|
||||
/** 连接ID (主键) */
|
||||
private Long id;
|
||||
|
||||
private Long treeId;
|
||||
|
||||
/** 父节点 (外键: TreeInstanceNode.id) */
|
||||
@Excel(name = "父节点 (外键: TreeInstanceNode.id)")
|
||||
private Long parentNodeId;
|
||||
@@ -40,7 +42,15 @@ public class Nodeconnection extends BaseEntity
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setParentNodeId(Long parentNodeId)
|
||||
public Long getTreeId() {
|
||||
return treeId;
|
||||
}
|
||||
|
||||
public void setTreeId(Long treeId) {
|
||||
this.treeId = treeId;
|
||||
}
|
||||
|
||||
public void setParentNodeId(Long parentNodeId)
|
||||
{
|
||||
this.parentNodeId = parentNodeId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user