Untitled

 avatar
Shubh
plain_text
a month ago
299 B
4
Indexable
package com.warehouse.repository;

import com.warehouse.model.Product;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface ProductRepository extends JpaRepository<Product, Integer> {
        List<Product> findByStockGreaterThanEqual(int stock);
}
}
Editor is loading...
Leave a Comment