|
@@ -7,7 +7,6 @@ import lombok.Data;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
-@Data
|
|
|
public class MenuVO {
|
|
|
|
|
|
//主键
|
|
@@ -28,4 +27,97 @@ public class MenuVO {
|
|
|
private String visible;
|
|
|
@WChildren
|
|
|
private List<MenuVO> children;
|
|
|
+
|
|
|
+
|
|
|
+ public MenuVO() {
|
|
|
+ }
|
|
|
+
|
|
|
+ public MenuVO(String id, String name, String router, String icon, int sort, String parentId, String visible, List<MenuVO> children) {
|
|
|
+ this.id = id;
|
|
|
+ this.name = name;
|
|
|
+ this.router = router;
|
|
|
+ this.icon = icon;
|
|
|
+ this.sort = sort;
|
|
|
+ this.parentId = parentId;
|
|
|
+ this.visible = visible;
|
|
|
+ this.children = children;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "MenuVO{" +
|
|
|
+ "id='" + id + '\'' +
|
|
|
+ ", name='" + name + '\'' +
|
|
|
+ ", router='" + router + '\'' +
|
|
|
+ ", icon='" + icon + '\'' +
|
|
|
+ ", sort=" + sort +
|
|
|
+ ", parentId='" + parentId + '\'' +
|
|
|
+ ", visible='" + visible + '\'' +
|
|
|
+ ", children=" + children +
|
|
|
+ '}';
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(String id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName() {
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setName(String name) {
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRouter() {
|
|
|
+ return router;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRouter(String router) {
|
|
|
+ this.router = router;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getIcon() {
|
|
|
+ return icon;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIcon(String icon) {
|
|
|
+ this.icon = icon;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getSort() {
|
|
|
+ return sort;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSort(int sort) {
|
|
|
+ this.sort = sort;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getParentId() {
|
|
|
+ return parentId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setParentId(String parentId) {
|
|
|
+ this.parentId = parentId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getVisible() {
|
|
|
+ return visible;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVisible(String visible) {
|
|
|
+ this.visible = visible;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<MenuVO> getChildren() {
|
|
|
+ return children;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setChildren(List<MenuVO> children) {
|
|
|
+ this.children = children;
|
|
|
+ }
|
|
|
}
|