@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 Detallecotizacion)) {
            return false;
        }
        Detallecotizacion other = (Detallecotizacion) object;
        if ((this.idDetallecotizacion == null && other.idDetallecotizacion != null) || (this.idDetallecotizacion != null && !this.idDetallecotizacion.equals(other.idDetallecotizacion))) {
            return false;
        }
        return true;
    }