| | |
| | | package org.jeecg.modules.system.model; |
| | | |
| | | import org.jeecg.common.api.vo.ScopedSlots; |
| | | import org.jeecg.modules.system.entity.SysDepart; |
| | | |
| | | import java.io.Serializable; |
| | |
| | | |
| | | private List<SysDepartTreeModel> children = new ArrayList<>(); |
| | | |
| | | private ScopedSlots scopedSlots = new ScopedSlots(); |
| | | |
| | | private SysDepart entity; |
| | | /** |
| | | * 将SysDepart对象转换成SysDepartTreeModel对象 |
| | | * @param sysDepart |
| | |
| | | this.directorUserIds = sysDepart.getDirectorUserIds(); |
| | | this.useDepartNum = sysDepart.getUseDepartNum(); |
| | | this.repairDepartNum = sysDepart.getRepairDepartNum(); |
| | | this.entity = sysDepart; |
| | | } |
| | | |
| | | public boolean getIsLeaf() { |
| | |
| | | this.repairDepartNum = repairDepartNum; |
| | | } |
| | | |
| | | public ScopedSlots getScopedSlots(){return scopedSlots;} |
| | | |
| | | public void setScopedSlots(ScopedSlots scopedSlots){this.scopedSlots = scopedSlots;} |
| | | |
| | | public SysDepart getEntity(){return entity;} |
| | | |
| | | public void setEntity(SysDepart entity){this.entity = entity;} |
| | | |
| | | |
| | | |
| | | /** |
| | | * 重写equals方法 |
| | | */ |