|
package com.vci.pagemodel;
|
|
|
import java.io.Serializable;
|
import java.util.ArrayList;
|
import java.util.HashMap;
|
import java.util.List;
|
|
/**
|
* 视图实体类
|
*
|
* @author Chill
|
*/
|
public class MenuVO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
private String id;
|
|
/**
|
* 父节点ID
|
*/
|
private String parentId;
|
|
/**
|
* 子孙节点
|
*/
|
private List<MenuVO> children = new ArrayList<>();
|
|
/**
|
* 是否有子孙节点
|
*/
|
private Boolean hasChildren;
|
|
/**
|
* 菜单编号
|
*/
|
private String code;
|
|
/**
|
* 菜单名称
|
*/
|
private String name;
|
|
/**
|
* 菜单别名
|
*/
|
private String alias;
|
|
/**
|
* 请求地址,界面路径
|
*/
|
private String path;
|
|
/**
|
* 客户端地址
|
*/
|
private String pathC;
|
|
/**
|
* resourceDotNet
|
*/
|
private String resourceDotNet;
|
|
/**
|
* resourceDotMobile
|
*/
|
private String resourceMobile;
|
|
/**
|
* 菜单资源
|
*/
|
private String source;
|
|
/**
|
* 排序
|
*/
|
private Integer sort;
|
|
/**
|
* 菜单类型: 0:菜单,1:按钮
|
*/
|
private Integer category;
|
|
/**
|
* 操作按钮类型
|
*/
|
private Integer action;
|
|
/**
|
* 是否打开新页面
|
*/
|
private Integer isOpen;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 上级菜单
|
*/
|
private String parentName;
|
|
/**
|
* 菜单类型
|
*/
|
private String categoryName;
|
|
/**
|
* 按钮功能
|
*/
|
private String actionName;
|
|
/**
|
* 是否新窗口打开
|
*/
|
private String isOpenName;
|
|
/**
|
* 只针对于首页系统模块配置使用,用于区分点击不同的节点,展开的不同查询逻辑
|
*/
|
private String modeType;
|
|
/**
|
* 是模块下子对象是模块还是操作:0表示无子节点,1表示是模块,2表示是操作
|
*/
|
private Integer childType;
|
|
/**
|
* 1有效0无效:无效时,在功能权限界面不显示
|
*/
|
private Boolean isValid;
|
|
/**
|
* 合并了functionOperate对象中的属性的模块的id
|
*/
|
private String funcId;
|
|
/**
|
* 模块下关联的操作类型id
|
*/
|
private String operId;
|
/**
|
* 是否有权限,0没有,1有
|
*/
|
private Integer havePermission;
|
|
/**
|
* 前端是否隐藏
|
*/
|
private HashMap<String,Boolean> meta = new HashMap<>();
|
|
public void setFuncId(String funcId) {
|
this.funcId = funcId;
|
}
|
|
public void setOperId(String operId) {
|
this.operId = operId;
|
}
|
|
public String getFuncId() {
|
return funcId;
|
}
|
|
public String getOperId() {
|
return operId;
|
}
|
|
public void setPathC(String pathC) {
|
this.pathC = pathC;
|
}
|
|
public void setResourceDotNet(String resourceDotNet) {
|
this.resourceDotNet = resourceDotNet;
|
}
|
|
public void setResourceMobile(String resourceMobile) {
|
this.resourceMobile = resourceMobile;
|
}
|
|
public String getPathC() {
|
return pathC;
|
}
|
|
public String getResourceDotNet() {
|
return resourceDotNet;
|
}
|
|
public String getResourceMobile() {
|
return resourceMobile;
|
}
|
|
public void setIsValid(Boolean isValid) {
|
this.isValid = isValid;
|
}
|
|
public Boolean getIsValid() {
|
return isValid;
|
}
|
|
public void setChildType(Integer childType) {
|
this.childType = childType;
|
}
|
|
public Integer getChildType() {
|
return childType;
|
}
|
|
public String getModeType() {
|
return modeType;
|
}
|
|
public void setModeType(String modeType) {
|
this.modeType = modeType;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(String parentId) {
|
this.parentId = parentId;
|
}
|
|
public List<MenuVO> getChildren() {
|
return children;
|
}
|
|
public void setChildren(List<MenuVO> children) {
|
this.children = children;
|
}
|
|
public Boolean getHasChildren() {
|
return hasChildren;
|
}
|
|
public void setHasChildren(Boolean hasChildren) {
|
this.hasChildren = hasChildren;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAlias() {
|
return alias;
|
}
|
|
public void setAlias(String alias) {
|
this.alias = alias;
|
}
|
|
public String getPath() {
|
return path;
|
}
|
|
public void setPath(String path) {
|
this.path = path;
|
}
|
|
public String getSource() {
|
return source;
|
}
|
|
public void setSource(String source) {
|
this.source = source;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
public Integer getCategory() {
|
return category;
|
}
|
|
public void setCategory(Integer category) {
|
this.category = category;
|
}
|
|
public Integer getAction() {
|
return action;
|
}
|
|
public void setAction(Integer action) {
|
this.action = action;
|
}
|
|
public Integer getIsOpen() {
|
return isOpen;
|
}
|
|
public void setIsOpen(Integer isOpen) {
|
this.isOpen = isOpen;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public String getParentName() {
|
return parentName;
|
}
|
|
public void setParentName(String parentName) {
|
this.parentName = parentName;
|
}
|
|
public String getCategoryName() {
|
return categoryName;
|
}
|
|
public void setCategoryName(String categoryName) {
|
this.categoryName = categoryName;
|
}
|
|
public String getActionName() {
|
return actionName;
|
}
|
|
public void setActionName(String actionName) {
|
this.actionName = actionName;
|
}
|
|
public String getIsOpenName() {
|
return isOpenName;
|
}
|
|
public void setIsOpenName(String isOpenName) {
|
this.isOpenName = isOpenName;
|
}
|
|
public HashMap<String, Boolean> getMeta() {
|
return meta;
|
}
|
|
public void setMeta(HashMap<String, Boolean> meta) {
|
this.meta = meta;
|
}
|
}
|