Last change
on this file since a70db1a was f067338, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago |
added full text search on work
|
-
Property mode
set to
100644
|
File size:
594 bytes
|
Rev | Line | |
---|
[7987457] | 1 | package it.finki.tinki.repository;
|
---|
| 2 |
|
---|
[f067338] | 3 | import it.finki.tinki.model.Skill;
|
---|
| 4 | import it.finki.tinki.model.Work.Job;
|
---|
[bd46dbb] | 5 | import it.finki.tinki.model.Work.Project;
|
---|
[7987457] | 6 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 7 | import org.springframework.stereotype.Repository;
|
---|
| 8 |
|
---|
| 9 | import java.util.List;
|
---|
| 10 |
|
---|
| 11 | @Repository
|
---|
| 12 | public interface ProjectRepository extends JpaRepository<Project, Long> {
|
---|
| 13 | List<Project> findAllByAccount_Id(Long accountId);
|
---|
[f067338] | 14 | List<Project> findAllByTitleContainsOrDescriptionContains(String title, String description);
|
---|
| 15 | List<Project> findAllBySkillsRequiredContaining(Skill skill);
|
---|
[7987457] | 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.