Ver Fonte

初始化

wanger há 1 ano atrás
commit
726eb24925

+ 76 - 0
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/domain/yzt/ZymlTreeDataDTO.java

@@ -0,0 +1,76 @@
+package com.onemap.apply.domain.yzt;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import java.util.ArrayList;
+import java.util.List;
+
+//资源目录树状结构实体类
+public class ZymlTreeDataDTO {
+    private String id;
+    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
+    private String pid;
+    private String label;
+    private String type;
+    private String url;
+    private Boolean disabled;
+    private List<ZymlTreeDataDTO> children = new ArrayList<>();
+
+    public String getLabel() {
+        return label;
+    }
+
+    public void setLabel(String label) {
+        this.label = label;
+    }
+
+    public Boolean getDisabled() {
+        return disabled;
+    }
+
+    public void setDisabled(Boolean disabled) {
+        this.disabled = disabled;
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public String getPid() {
+        return pid;
+    }
+
+    public void setPid(String pid) {
+        this.pid = pid;
+    }
+
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public void setUrl(String url) {
+        this.url = url;
+    }
+
+
+    public List<ZymlTreeDataDTO> getChildren() {
+        return children;
+    }
+
+    public void setChildren(List<ZymlTreeDataDTO> children) {
+        this.children = children;
+    }
+}