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:
358 bytes
|
Line | |
---|
1 | package it.finki.tinki.repository;
|
---|
2 |
|
---|
3 | import it.finki.tinki.model.Jobs.Project;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 | import org.springframework.stereotype.Repository;
|
---|
6 |
|
---|
7 | import java.util.List;
|
---|
8 |
|
---|
9 | @Repository
|
---|
10 | public interface ProjectRepository extends JpaRepository<Project, Long> {
|
---|
11 | List<Project> findAllByAccount_Id(Long accountId);
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.