wlzboy
2025-10-18 b46065a201c09ce69f111806f2bda4a5f476bc4e
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysDept.java
@@ -52,6 +52,9 @@
    /** 父部门名称 */
    private String parentName;
    
    /** SQL Server中的部门ID */
    private Integer departmentId;
    /** 子部门 */
    private List<SysDept> children = new ArrayList<SysDept>();
@@ -181,6 +184,16 @@
        this.children = children;
    }
    public Integer getDepartmentId()
    {
        return departmentId;
    }
    public void setDepartmentId(Integer departmentId)
    {
        this.departmentId = departmentId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@@ -198,6 +211,7 @@
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("departmentId", getDepartmentId())
            .toString();
    }
}