source: src/main/java/it/finki/charitable/repository/UserRepository.java

Last change on this file was 3fc9e50, checked in by KostaFortumanov <kfortumanov@…>, 3 years ago

prototip part1

  • Property mode set to 100644
File size: 362 bytes
Line 
1package it.finki.charitable.repository;
2
3import it.finki.charitable.entities.AppUser;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7import java.util.Optional;
8
9@Repository
10public interface UserRepository extends JpaRepository<AppUser, Long> {
11
12 Optional<AppUser> findByEmail(String email);
13}
Note: See TracBrowser for help on using the repository browser.