Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-common
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
31944e81
authored
Mar 06, 2019
by
chenzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加权限
parent
57f6599b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
3 deletions
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/adminUser/AdminResourcesBean.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/adminUser/AdminRoleBean.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/adminUser/AdminUserRoleQuery.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/adminUser/AdminResourcesBean.java
View file @
31944e81
...
...
@@ -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
;
}
...
...
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/adminUser/AdminRoleBean.java
View file @
31944e81
...
...
@@ -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
;
}
}
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/adminUser/AdminUserRoleQuery.java
0 → 100644
View file @
31944e81
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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment