@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Product product = (Product) o;

        return number == product.number && !(name != null ? !name.equals(product.name) : product.name != null);

    }