public String getDepartNo() {
   Department d = getDepart();
   return (d == null) ? null : d.getNo();
 }
 public Department getDepart() {
   return Department.getSafeObject(depart);
 }
 public Integer getDepartId() {
   return (depart == null) ? null : depart.getId();
 }