- 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/InternshipRepository.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.Internship; 5 import it.finki.tinki.model.Work.Job; 4 6 import org.springframework.data.jpa.repository.JpaRepository; 5 7 import org.springframework.stereotype.Repository; … … 10 12 public interface InternshipRepository extends JpaRepository<Internship, Long> { 11 13 List<Internship> findAllByAccount_Id(Long accountId); 14 List<Internship> findAllByTitleContainsOrDescriptionContains(String title, String description); 15 List<Internship> findAllBySkillsTrainedContaining(Skill skill); 12 16 }
Note:
See TracChangeset
for help on using the changeset viewer.