heheng
2026-03-19 680a9877fe64c40aced1f4e04ea34056fac204fc
gkhy-common/src/main/java/com/gkhy/common/core/domain/model/LoginUser.java
@@ -66,6 +66,8 @@
     */
    private Set<String> permissions;
    private Long[] deptIds;
    /**
     * 用户信息
     */
@@ -87,6 +89,14 @@
        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()
@@ -263,4 +273,12 @@
    {
        return null;
    }
    public Long[] getDeptIds() {
        return deptIds;
    }
    public void setDeptIds(Long[] deptIds) {
        this.deptIds = deptIds;
    }
}