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

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

Added full functionality for adding review

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