source: src/main/java/project/educatum/repository/AdminRepository.java

Last change on this file was d3cf3a1, checked in by Marija Micevska <marija_micevska@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 312 bytes
Line 
1package project.educatum.repository;
2
3import org.springframework.data.jpa.repository.JpaRepository;
4import org.springframework.stereotype.Repository;
5import project.educatum.model.Admin;
6
7@Repository
8public interface AdminRepository extends JpaRepository<Admin, Integer> {
9 Admin findByEmail(String email);
10}
Note: See TracBrowser for help on using the repository browser.