source: src/main/java/com/example/medweb/repository/CovekRepository.java

Last change on this file was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago

initial commit

  • Property mode set to 100644
File size: 434 bytes
Line 
1package com.example.medweb.repository;
2
3import com.example.medweb.model.Covek;
4import org.springframework.data.jpa.repository.JpaRepository;
5import org.springframework.stereotype.Repository;
6
7import java.util.Optional;
8
9
10@Repository
11public interface CovekRepository extends JpaRepository<Covek, Long> {
12
13 Optional<Covek> findCovekByEmailAndPass(String email, String password);
14 Optional<Covek> findCovekByEmail(String email);
15}
Note: See TracBrowser for help on using the repository browser.