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 | |
---|
1 | package com.example.medweb.repository;
|
---|
2 |
|
---|
3 | import com.example.medweb.model.Covek;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 | import org.springframework.stereotype.Repository;
|
---|
6 |
|
---|
7 | import java.util.Optional;
|
---|
8 |
|
---|
9 |
|
---|
10 | @Repository
|
---|
11 | public 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.