|
@@ -21,28 +21,20 @@ public class TreeNodeVO extends BaseNode<TreeNode> {
|
|
|
)
|
|
|
private Long value;
|
|
|
|
|
|
- //新增字段
|
|
|
- @JsonSerialize(
|
|
|
- using = ToStringSerializer.class
|
|
|
- )
|
|
|
private Integer type;
|
|
|
|
|
|
- //主键id
|
|
|
- @JsonSerialize(
|
|
|
- using = ToStringSerializer.class
|
|
|
- )
|
|
|
- private Integer pKeyId;
|
|
|
+ private Integer prKeyId;
|
|
|
|
|
|
|
|
|
public TreeNodeVO() {
|
|
|
}
|
|
|
|
|
|
- public Integer getpKeyId() {
|
|
|
- return pKeyId;
|
|
|
+ public Integer getPrKeyId() {
|
|
|
+ return prKeyId;
|
|
|
}
|
|
|
|
|
|
- public void setpKeyId(Integer pKeyId) {
|
|
|
- this.pKeyId = pKeyId;
|
|
|
+ public void setPrKeyId(Integer pKeyId) {
|
|
|
+ this.prKeyId = pKeyId;
|
|
|
}
|
|
|
|
|
|
public Integer getType() {
|
|
@@ -78,7 +70,7 @@ public class TreeNodeVO extends BaseNode<TreeNode> {
|
|
|
}
|
|
|
|
|
|
public String toString() {
|
|
|
- return "TreeNode(pKeyId=" + this.getpKeyId() + ", type=" + this.getType() + ", title=" + this.getTitle() + ", key=" + this.getKey() + ", value=" + this.getValue() + ")";
|
|
|
+ return "TreeNode(pKeyId=" + this.getPrKeyId() + ", type=" + this.getType() + ", title=" + this.getTitle() + ", key=" + this.getKey() + ", value=" + this.getValue() + ")";
|
|
|
}
|
|
|
|
|
|
public boolean equals(final Object o) {
|