source: src/main/java/tech/techharbor/Repository/ReviewRepository.java

main
Last change on this file was f4b4afa, checked in by Nikola Todoroski <nikola.todoroski@…>, 6 months ago

Pushed whole project, original project location on github:https://github.com/hehxd/Tech-Harbor

  • Property mode set to 100644
File size: 308 bytes
Line 
1package tech.techharbor.Repository;
2
3import org.springframework.data.jpa.repository.JpaRepository;
4import tech.techharbor.Model.ReviewModel;
5
6import java.util.List;
7
8public interface ReviewRepository extends JpaRepository<ReviewModel, Integer> {
9
10 List<ReviewModel> findByProductId(Integer productId);
11
12}
Note: See TracBrowser for help on using the repository browser.