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 | |
---|
1 | package mk.profesori.springapp.Repository;
|
---|
2 |
|
---|
3 | import java.util.List;
|
---|
4 |
|
---|
5 | import org.springframework.data.repository.CrudRepository;
|
---|
6 | import org.springframework.stereotype.Repository;
|
---|
7 |
|
---|
8 | import mk.profesori.springapp.Model.Faculty;
|
---|
9 | import mk.profesori.springapp.Model.StudyProgramme;
|
---|
10 |
|
---|
11 |
|
---|
12 | @Repository
|
---|
13 | public 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.