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:
430 bytes
|
Line | |
---|
1 | package com.example.medweb.repository;
|
---|
2 |
|
---|
3 | import com.example.medweb.model.Doktor;
|
---|
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 DoktorRepository extends JpaRepository<Doktor, Integer> {
|
---|
12 |
|
---|
13 | Optional<Doktor> findDoktorByEmailAndPass(String email, String pass);
|
---|
14 |
|
---|
15 | Optional<Doktor> findById(Integer id);
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.