@Override
    public boolean equals(Object obj) {
        if (obj == null) { return false; }
        if (getClass() != obj.getClass()) { return false; }
        final Rdv other = (Rdv) obj;
        if (!Objects.equals(this.dateRdv, other.dateRdv)) { return false; }
        if (!Objects.equals(this.patient, other.patient)) { return false; }
        if (!Objects.equals(this.medecin, other.medecin)) { return false; }
        if (!Objects.equals(this.typeRdv, other.typeRdv)) { return false; }
        if (this.heure != other.heure) { return false; }
        return true;
    }