@Override
    public Object getValueAt(int rowIndex, int columnIndex) {
         switch (columnIndex) {
            case 0:
                return listpharmacie.get(rowIndex).getId_pharmacie();
            case 1:
                return listpharmacie.get(rowIndex).getNom_pharmacie();
            case 2:
                return listpharmacie.get(rowIndex).getAdresse_pharmacie();
            case 3:
                return listpharmacie.get(rowIndex).getMail_pharmacie();
            case 4:
                return listpharmacie.get(rowIndex).getTelephone_pharmacie();
            case 5:
                return listpharmacie.get(rowIndex).getNumero_patente();
            case 6:
                return listpharmacie.get(rowIndex).getGouvernaurat();    
            case 7:
                return listpharmacie.get(rowIndex).getJour_de_garde();
            default:
                return null;     
      }
    }