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