@Override
    public int hashCode() {
        int hash = 0;
        hash += (name != null ? name.hashCode() : 0);
        hash += (type != null ? type.hashCode() : 0);
        hash += (modelName != null ? modelName.hashCode() : 0);
        hash += (vendor != null ? vendor.hashCode() : 0);
        return hash;
    }