@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Hospede other = (Hospede) obj;
        if (this.IdHospede != other.IdHospede && (this.IdHospede == null || !this.IdHospede.equals(other.IdHospede))) {
            return false;
        }
        return true;
    }