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