Commit 31944e81 by chenzhang

添加权限

parent 57f6599b
......@@ -12,7 +12,7 @@ public class AdminResourcesBean {
/**
* 父级路径id
*/
private String parentId;
private Integer parentId;
/**
* 资源KEY
*/
......@@ -67,11 +67,11 @@ public class AdminResourcesBean {
}
public String getParentId() {
public Integer getParentId() {
return parentId;
}
public void setParentId(String parentId) {
public void setParentId(Integer parentId) {
this.parentId = parentId;
}
......
......@@ -27,6 +27,9 @@ public class AdminRoleBean {
*/
private Integer enable;
private Integer[] resIds;
private String resStr;
public Integer getId() {
return id;
......@@ -68,4 +71,21 @@ public class AdminRoleBean {
this.enable = enable;
}
public Integer[] getResIds() {
return resIds;
}
public void setResIds(Integer[] resIds) {
this.resIds = resIds;
}
public String getResStr() {
return resStr;
}
public void setResStr(String resStr) {
this.resStr = resStr;
}
}
package com.ctrip.fun.common.vo.adminUser;
import com.ctrip.fun.common.vo.AbstractPagedQuery;
public class AdminUserRoleQuery extends AbstractPagedQuery{
// 权限id
private Integer id;
// 权限名称
private String roleName;
// 权限描述
private String roleDescription;
// 资源名称
private String resourcesName;
// 资源url
private String resUrl;
// 是否可用
private Integer enable;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String getRoleDescription() {
return roleDescription;
}
public void setRoleDescription(String roleDescription) {
this.roleDescription = roleDescription;
}
public String getResourcesName() {
return resourcesName;
}
public void setResourcesName(String resourcesName) {
this.resourcesName = resourcesName;
}
public String getResUrl() {
return resUrl;
}
public void setResUrl(String resUrl) {
this.resUrl = resUrl;
}
public Integer getEnable() {
return enable;
}
public void setEnable(Integer enable) {
this.enable = enable;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment