main
Last change
on this file since f194b4e was f0232fb, checked in by trajchevaM <118018439+trajchevaM@…>, 19 months ago |
login and home
|
-
Property mode
set to
100644
|
File size:
378 bytes
|
Rev | Line | |
---|
[af3f18f] | 1 | package finki.paw5.repository;
|
---|
| 2 |
|
---|
| 3 | import finki.paw5.model.entities.User;
|
---|
| 4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 5 | import org.springframework.stereotype.Repository;
|
---|
| 6 |
|
---|
[f0232fb] | 7 |
|
---|
[af3f18f] | 8 | @Repository
|
---|
| 9 | public interface UserRepository extends JpaRepository<User, Integer> {
|
---|
[f0232fb] | 10 | User findByEmailAndPassword(String email, String password);
|
---|
| 11 | User findByEmail(String email);
|
---|
[af3f18f] | 12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.