@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TarifasParqueaderosPK)) {
            return false;
        }
        TarifasParqueaderosPK other = (TarifasParqueaderosPK) object;
        if ((this.codIdparqueadero == null && other.codIdparqueadero != null) || (this.codIdparqueadero != null && !this.codIdparqueadero.equals(other.codIdparqueadero))) {
            return false;
        }
        if ((this.codIdtarifa == null && other.codIdtarifa != null) || (this.codIdtarifa != null && !this.codIdtarifa.equals(other.codIdtarifa))) {
            return false;
        }
        return true;
    }