| | |
| | | */ |
| | | private Set<String> permissions; |
| | | |
| | | private Long[] deptIds; |
| | | |
| | | /** |
| | | * 用户信息 |
| | | */ |
| | |
| | | this.deptId = deptId; |
| | | this.user = user; |
| | | this.permissions = permissions; |
| | | } |
| | | |
| | | public LoginUser(Long userId, Long deptId, SysUser user, Set<String> permissions, Long[] deptIds) { |
| | | this.userId = userId; |
| | | this.deptId = deptId; |
| | | this.user = user; |
| | | this.permissions = permissions; |
| | | this.deptIds = deptIds; |
| | | } |
| | | |
| | | public Long getUserId() |
| | |
| | | { |
| | | return null; |
| | | } |
| | | |
| | | public Long[] getDeptIds() { |
| | | return deptIds; |
| | | } |
| | | |
| | | public void setDeptIds(Long[] deptIds) { |
| | | this.deptIds = deptIds; |
| | | } |
| | | } |