Ignore:
Timestamp:
01/09/21 03:04:38 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
a3d2b0d
Parents:
297bd16
Message:

added full text search on work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/repository/InternshipRepository.java

    r297bd16 rf067338  
    11package it.finki.tinki.repository;
    22
     3import it.finki.tinki.model.Skill;
    34import it.finki.tinki.model.Work.Internship;
     5import it.finki.tinki.model.Work.Job;
    46import org.springframework.data.jpa.repository.JpaRepository;
    57import org.springframework.stereotype.Repository;
     
    1012public interface InternshipRepository extends JpaRepository<Internship, Long> {
    1113    List<Internship> findAllByAccount_Id(Long accountId);
     14    List<Internship> findAllByTitleContainsOrDescriptionContains(String title, String description);
     15    List<Internship> findAllBySkillsTrainedContaining(Skill skill);
    1216}
Note: See TracChangeset for help on using the changeset viewer.