@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final OffrirPK other = (OffrirPK) obj;
        if (!Objects.equals(this.vis_matricule, other.vis_matricule)) {
            return false;
        }
        if (!Objects.equals(this.rap_num, other.rap_num)) {
            return false;
        }
        if (!Objects.equals(this.med_depotLegal, other.med_depotLegal)) {
            return false;
        }
        return true;
    }