|
@@ -1,6 +1,7 @@
|
|
|
package com.onemap.apply.domain.yzt;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
+import com.sun.org.apache.xpath.internal.operations.Bool;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
@@ -11,11 +12,38 @@ public class ZymlTreeDataDTO {
|
|
|
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
|
|
private String pid;
|
|
|
private String label;
|
|
|
+ private String title;
|
|
|
private String type;
|
|
|
private String url;
|
|
|
- private Boolean disabled;
|
|
|
+ private Boolean disabled = false;
|
|
|
+ private Boolean expand = false;
|
|
|
+ private Boolean contextmenu = true;
|
|
|
private List<ZymlTreeDataDTO> children = new ArrayList<>();
|
|
|
|
|
|
+ public Boolean getExpand() {
|
|
|
+ return expand;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExpand(Boolean expand) {
|
|
|
+ this.expand = expand;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getContextmenu() {
|
|
|
+ return contextmenu;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setContextmenu(Boolean contextmenu) {
|
|
|
+ this.contextmenu = contextmenu;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getTitle() {
|
|
|
+ return title;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTitle(String title) {
|
|
|
+ this.title = title;
|
|
|
+ }
|
|
|
+
|
|
|
public String getLabel() {
|
|
|
return label;
|
|
|
}
|