Quellcode durchsuchen

标签树增加标签体系字段

2507040827 vor 15 Stunden
Ursprung
Commit
ad7b773ad8

+ 32 - 2
server/yusp-tagging-core/src/main/java/cn/com/yusys/yusp/domain/vo/TagNodeVo.java

@@ -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;
     }