44323
2024-01-24 9c66102a4fae1922aac72dc153e3e76b5856bae3
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/poji/sys/SysDept.java
@@ -56,6 +56,8 @@
    /** 数据范围(1:所有数据权限;2:自定义数据权限;3:本部门数据权限;4:本部门及以下数据权限;5:仅本人数据权限) */
    @Excel(name = "数据范围", readConverterExp = "1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限,5=仅本人数据权限")
    private String dataScope;
    /**员工端数据范围(1:所有数据权限;2:自定义数据权限;3:本部门数据权限;4:本部门及以下数据权限;5:仅本人数据权限)*/
    private String dataScopeEmployee;
    
    /** 子部门 */
    private List<SysDept> children = new ArrayList<SysDept>();
@@ -227,6 +229,14 @@
        this.wxDeptId = wxDeptId;
    }
    public String getDataScopeEmployee() {
        return dataScopeEmployee;
    }
    public void setDataScopeEmployee(String dataScopeEmployee) {
        this.dataScopeEmployee = dataScopeEmployee;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@@ -246,6 +256,7 @@
            .append("updateTime", getUpdateTime())
            .append("dataScope", getDataScope())
            .append("wxDeptId", getWxDeptId())
            .append("dataScopeEmployee", getDataScopeEmployee())
            .toString();
    }
}