@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Product)) return false;

        Product product = (Product) o;

        if (id != product.id) return false;
        if (catalog != null ? !catalog.equals(product.catalog) : product.catalog != null) return false;
        if (description != null ? !description.equals(product.description) : product.description != null) return false;

        return true;
    }