|
|
@@ -12,11 +12,32 @@ import java.util.List;
|
|
|
public class TagNodeVo {
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 标签Id
|
|
|
+ */
|
|
|
private String id;
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 父标签Id
|
|
|
+ */
|
|
|
private String parentId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标签名称
|
|
|
+ */
|
|
|
private String tagNm;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标签编码
|
|
|
+ */
|
|
|
private String tagCode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标签体系Id
|
|
|
+ */
|
|
|
+ private String categoryId;
|
|
|
+
|
|
|
private List<TagNodeVo> children = new ArrayList<>();
|
|
|
|
|
|
|
|
|
@@ -25,6 +46,15 @@ public class TagNodeVo {
|
|
|
this.parentId = entity.getParentId();
|
|
|
this.tagNm = entity.getTagNm();
|
|
|
this.tagCode = entity.getTagCode();
|
|
|
+ this.categoryId = entity.getCategoryId();
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCategoryId() {
|
|
|
+ return categoryId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCategoryId(String categoryId) {
|
|
|
+ this.categoryId = categoryId;
|
|
|
}
|
|
|
|
|
|
public String getId() {
|
|
|
@@ -35,11 +65,11 @@ public class TagNodeVo {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|
|
|
- public String getparentId() {
|
|
|
+ public String getParentId() {
|
|
|
return parentId;
|
|
|
}
|
|
|
|
|
|
- public void setparentId(String parentId) {
|
|
|
+ public void setParentId(String parentId) {
|
|
|
this.parentId = parentId;
|
|
|
}
|
|
|
|