- Timestamp:
- 01/09/21 03:04:38 (4 years ago)
- Branches:
- master
- Children:
- a3d2b0d
- Parents:
- 297bd16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/repository/JobRepository.java
r297bd16 rf067338 1 1 package it.finki.tinki.repository; 2 2 3 import it.finki.tinki.model.Skill; 3 4 import it.finki.tinki.model.Work.Job; 4 5 import org.springframework.data.jpa.repository.JpaRepository; … … 6 7 7 8 import java.util.List; 9 import java.util.Set; 8 10 9 11 @Repository 10 12 public interface JobRepository extends JpaRepository<Job, Long>{ 11 13 List<Job> findAllByAccount_Id(Long accountId); 14 List<Job> findAllByTitleContainsOrDescriptionContains(String title, String description); 15 List<Job> findAllBySkillsRequiredContaining(Skill skill); 12 16 }
Note:
See TracChangeset
for help on using the changeset viewer.