mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-09-01 18:34:30 +00:00
角色管理新增分配用户功能
This commit is contained in:
@@ -91,6 +91,9 @@ public class SysUser extends BaseEntity
|
||||
/** 岗位组 */
|
||||
private Long[] postIds;
|
||||
|
||||
/** 角色ID */
|
||||
private Long roleId;
|
||||
|
||||
public SysUser()
|
||||
{
|
||||
|
||||
@@ -297,7 +300,16 @@ public class SysUser extends BaseEntity
|
||||
{
|
||||
this.postIds = postIds;
|
||||
}
|
||||
|
||||
|
||||
public Long getRoleId()
|
||||
{
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId)
|
||||
{
|
||||
this.roleId = roleId;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
|
Reference in New Issue
Block a user