角色管理新增分配用户功能

This commit is contained in:
RuoYi
2021-07-05 14:54:09 +08:00
parent ce6bea4ba0
commit 90c41d498c
13 changed files with 681 additions and 7 deletions

View File

@ -92,6 +92,9 @@ public class SysUser extends BaseEntity
/** 岗位组 */
private Long[] postIds;
/** 角色ID */
private Long roleId;
public SysUser()
{
@ -300,6 +303,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)