|  |  |  | 
|---|
|  |  |  | import javax.validation.constraints.NotBlank; | 
|---|
|  |  |  | import javax.validation.constraints.NotNull; | 
|---|
|  |  |  | import javax.validation.constraints.Size; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
|---|
|  |  |  | import org.apache.commons.lang3.builder.ToStringBuilder; | 
|---|
|  |  |  | import org.apache.commons.lang3.builder.ToStringStyle; | 
|---|
|  |  |  | import com.ruoyi.common.core.domain.BaseEntity; | 
|---|
|  |  |  | 
|---|
|  |  |  | private static final long serialVersionUID = 1L; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 部门ID */ | 
|---|
|  |  |  | @TableId | 
|---|
|  |  |  | private Long deptId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 父部门ID */ | 
|---|
|  |  |  | 
|---|
|  |  |  | private String delFlag; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 父部门名称 */ | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String parentName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 子部门 */ | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private List<SysDept> children = new ArrayList<SysDept>(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private boolean disabled; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public boolean isDisabled() { | 
|---|
|  |  |  | return disabled; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setDisabled(boolean disabled) { | 
|---|
|  |  |  | this.disabled = disabled; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Long getDeptId() | 
|---|
|  |  |  | { | 
|---|
|  |  |  | return deptId; | 
|---|