public boolean equals()

in dashboard-web-app/src/main/java/org/inventory/hub/model/ProductsInventory.java [73:85]


    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (o == null || !(o instanceof ProductsInventory)) {
            return false;
        }
        final ProductsInventory ProductsInventory = (ProductsInventory) o;
        return Objects.equals(this.getProductName(), ProductsInventory.getProductName())
                && Objects.equals(this.getLocation(), 
                    ProductsInventory.getLocation())
                && Objects.equals(this.totalCount, ProductsInventory.getTotalCount());
    }