| | |
| | | |
| | | import com.consum.model.po.BaseCategory; |
| | | import com.walker.web.param.ParamRequest; |
| | | |
| | | import java.util.List; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | @Data |
| | | @ToString |
| | | public class ProjectTreeResult extends ParamRequest { |
| | | List<ProjectTreeResult> children; |
| | | |
| | | List<ProjectTreeResult> children = null; |
| | | |
| | | 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() { |
| | | } |
| | | private Integer sort; |
| | | |
| | | public ProjectTreeResult(BaseCategory baseCategory) { |
| | | this.id = baseCategory.getId(); |
| | | this.label = baseCategory.getCategoryName(); |
| | | this.sort = baseCategory.getOrderNumber(); |
| | | } |
| | | } |