From 1b41d774274c784adce2df6ed19fdffe0c22a113 Mon Sep 17 00:00:00 2001 From: luqingyang <lqy5492@163.com> Date: 星期一, 30 十月 2023 17:35:52 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- consum-base/src/main/java/com/consum/base/pojo/ProjectTreeResult.java | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/consum-base/src/main/java/com/consum/base/pojo/ProjectTreeResult.java b/consum-base/src/main/java/com/consum/base/pojo/ProjectTreeResult.java new file mode 100644 index 0000000..12c9001 --- /dev/null +++ b/consum-base/src/main/java/com/consum/base/pojo/ProjectTreeResult.java @@ -0,0 +1,46 @@ +package com.consum.base.pojo; + +import com.consum.model.po.BaseCategory; +import com.walker.web.param.ParamRequest; + +import java.util.List; + +public class ProjectTreeResult extends ParamRequest { + List<ProjectTreeResult> children; + + private Long id; + + private String label; + + public List<ProjectTreeResult> getChildren() { + return children; + } + + public void setChildren(List<ProjectTreeResult> children) { + this.children = children; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getLabel() { + return label; + } + + public void setLabel(String label) { + this.label = label; + } + + public ProjectTreeResult() { + } + + public ProjectTreeResult(BaseCategory baseCategory) { + this.id = baseCategory.getId(); + this.label = baseCategory.getCategoryName(); + } +} \ No newline at end of file -- Gitblit v1.9.1