source: springapp/src/main/java/mk/profesori/springapp/Repository/StudyProgrammeRepository.java@ 6c1d611

main
Last change on this file since 6c1d611 was 6c1d611, checked in by unknown <mlviktor23@…>, 2 years ago

added basic a&a + acc confirmation email sender service

  • Property mode set to 100644
File size: 550 bytes
Line 
1package mk.profesori.springapp.Repository;
2
3import java.util.List;
4
5import org.springframework.data.repository.CrudRepository;
6import org.springframework.stereotype.Repository;
7
8import mk.profesori.springapp.Model.Faculty;
9import mk.profesori.springapp.Model.StudyProgramme;
10
11
12@Repository
13public interface StudyProgrammeRepository extends CrudRepository<StudyProgramme, Long>{
14
15 public List<StudyProgramme> findAll();
16 public StudyProgramme findByStudyProgrammeId(Long id);
17 public List<StudyProgramme> findByFaculty(Faculty faculty);
18}
Note: See TracBrowser for help on using the repository browser.