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:
448 bytes
|
Line | |
---|
1 | package com.example.medweb.repository;
|
---|
2 |
|
---|
3 |
|
---|
4 | import com.example.medweb.model.Pacient;
|
---|
5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
6 | import org.springframework.stereotype.Repository;
|
---|
7 |
|
---|
8 | import java.util.Optional;
|
---|
9 |
|
---|
10 |
|
---|
11 | @Repository
|
---|
12 | public interface PacientRepository extends JpaRepository<Pacient, Integer> {
|
---|
13 |
|
---|
14 | Optional<Pacient> findPacientByEmailAndPass(String email, String pass);
|
---|
15 | Optional<Pacient> findPacientByEmail(String email);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.