source: src/main/java/com/example/autopartz/repository/ReviewsForUserRepository.java

main
Last change on this file was ae042f4, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Configured spring security, changed spring version

  • Property mode set to 100644
File size: 395 bytes
Line 
1package com.example.autopartz.repository;
2
3import com.example.autopartz.model.views.ReviewsForUser;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7import java.util.List;
8
9@Repository
10public interface ReviewsForUserRepository extends JpaRepository<ReviewsForUser,Integer> {
11 List<ReviewsForUser> findAllByUserid(Integer id);
12}
Note: See TracBrowser for help on using the repository browser.