Class Department

java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<T>
org.beangle.commons.entity.pojo.NumberIdTimeObject<Integer>
org.openurp.base.model.AbstractBaseInfo
org.openurp.base.model.Department
All Implemented Interfaces:
Serializable, Comparable<BaseInfo>, org.beangle.commons.entity.Entity<Integer>, org.beangle.commons.entity.HierarchyEntity<Department,Integer>, org.beangle.commons.entity.TimeEntity, BaseInfo

@Entity(name="org.openurp.base.model.Department") public class Department extends AbstractBaseInfo implements org.beangle.commons.entity.HierarchyEntity<Department,Integer>
部门组织机构信息
Since:
2005
See Also:
  • Field Details

    • indexno

      @Size(max=30) @NotNull protected String indexno
      索引号
  • Constructor Details

    • Department

      public Department()
    • Department

      public Department(Integer id)
  • Method Details

    • getSchool

      public School getSchool()
    • setSchool

      public void setSchool(School school)
    • getTop

      public Department getTop()
    • isTeaching

      public boolean isTeaching()
    • setTeaching

      public void setTeaching(boolean teaching)
    • getParent

      public Department getParent()
      Specified by:
      getParent in interface org.beangle.commons.entity.HierarchyEntity<Department,Integer>
    • setParent

      public void setParent(Department parent)
      Specified by:
      setParent in interface org.beangle.commons.entity.HierarchyEntity<Department,Integer>
    • getChildren

      public List<Department> getChildren()
      Specified by:
      getChildren in interface org.beangle.commons.entity.HierarchyEntity<Department,Integer>
    • setChildren

      public void setChildren(List<Department> children)
      Specified by:
      setChildren in interface org.beangle.commons.entity.HierarchyEntity<Department,Integer>
    • getIndexno

      public String getIndexno()
      Specified by:
      getIndexno in interface org.beangle.commons.entity.HierarchyEntity<Department,Integer>
    • setIndexno

      public void setIndexno(String indexno)