| | |
| | |
|
| | | /** 部门编号 */
|
| | | private String deptNick;
|
| | |
|
| | | /** 员工数量 */
|
| | | private Integer staffCount;
|
| | |
|
| | | /** 子部门 */
|
| | | private List<SysDept> children = new ArrayList<SysDept>();
|
| | |
| | | this.deptNick = deptNick;
|
| | | }
|
| | |
|
| | | public Integer getStaffCount() {
|
| | | return staffCount;
|
| | | }
|
| | |
|
| | | public void setStaffCount(Integer staffCount) {
|
| | | this.staffCount = staffCount;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public String toString() {
|
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
| | |
| | | .append("parentId", getParentId())
|
| | | .append("ancestors", getAncestors())
|
| | | .append("deptName", getDeptName())
|
| | | .append("staffCount", getStaffCount())
|
| | | .append("orderNum", getOrderNum())
|
| | | .append("leader", getLeader())
|
| | | .append("phone", getPhone())
|