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 | |
---|
1 | package com.example.autopartz.repository;
|
---|
2 |
|
---|
3 | import com.example.autopartz.model.views.OrdersForUserId;
|
---|
4 | import com.example.autopartz.model.views.RepairsForUser;
|
---|
5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
6 | import org.springframework.stereotype.Repository;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 | @Repository
|
---|
11 | public interface RepairsForUserRepository extends JpaRepository<RepairsForUser, Integer> {
|
---|
12 | List<RepairsForUser> findAllByUserid(Integer userid);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.