| | |
| | | import javax.validation.constraints.NotBlank;
|
| | | import javax.validation.constraints.NotNull;
|
| | | import javax.validation.constraints.Size;
|
| | |
|
| | | import com.baomidou.mybatisplus.annotation.TableField;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | | import com.ruoyi.framework.web.domain.BaseEntity;
|
| | |
| | | private String delFlag;
|
| | |
|
| | | /** 父部门名称 */
|
| | | @TableField(exist = false)
|
| | | private String parentName;
|
| | |
|
| | | /** 部门编号 */
|
| | | private String deptNick;
|
| | |
|
| | | /** 员工数量 */
|
| | | @TableField(exist = false)
|
| | | private Integer staffCount;
|
| | |
|
| | | /** 子部门 */
|
| | | @TableField(exist = false)
|
| | | private List<SysDept> children = new ArrayList<SysDept>();
|
| | |
|
| | | public Long getDeptId()
|
| | |
| | | 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())
|