public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getIddocente() == null ? 0 : this.getIddocente().hashCode() );
         result = 37 * result + ( getIddepartamento() == null ? 0 : this.getIddepartamento().hashCode() );
         result = 37 * result + ( getIdcargo() == null ? 0 : this.getIdcargo().hashCode() );
         return result;
   }