Last change
on this file since a8e8545 was 7987457, checked in by i-ina <76742075+i-ina@…>, 4 years ago |
added repositories
|
-
Property mode
set to
100644
|
File size:
409 bytes
|
Rev | Line | |
---|
[e6ff724] | 1 | package it.finki.tinki.repository;
|
---|
| 2 |
|
---|
| 3 | import it.finki.tinki.model.Jobs.Internship;
|
---|
| 4 | import it.finki.tinki.model.Jobs.Work;
|
---|
| 5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
[7987457] | 6 | import org.springframework.stereotype.Repository;
|
---|
[e6ff724] | 7 |
|
---|
| 8 | import java.util.List;
|
---|
| 9 |
|
---|
[7987457] | 10 | @Repository
|
---|
[e6ff724] | 11 | public interface InternshipRepository extends JpaRepository<Internship, Long> {
|
---|
| 12 | List<Internship> findAllByAccount_Id(Long accountId);
|
---|
| 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.