| | |
| | | */
|
| | | private SysUser user;
|
| | |
|
| | | /**
|
| | | * 租户ID
|
| | | */
|
| | | private Integer tenantId;
|
| | |
|
| | | public LoginUser()
|
| | | {
|
| | | }
|
| | |
| | | this.deptId = deptId;
|
| | | this.user = user;
|
| | | this.permissions = permissions;
|
| | | }
|
| | |
|
| | | public LoginUser(Long userId, Long deptId, SysUser user,Integer tenantId, Set<String> permissions)
|
| | | {
|
| | | this.userId = userId;
|
| | | this.deptId = deptId;
|
| | | this.user = user;
|
| | | this.permissions = permissions;
|
| | | this.tenantId = tenantId;
|
| | | }
|
| | |
|
| | | public Long getUserId()
|
| | |
| | | {
|
| | | return null;
|
| | | }
|
| | |
|
| | | public Integer getTenantId() {
|
| | | return tenantId;
|
| | | }
|
| | |
|
| | | public void setTenantId(Integer tenantId) {
|
| | | this.tenantId = tenantId;
|
| | | }
|
| | | }
|