Last change
on this file since 4d7e387 was 4d7e387, checked in by makyjovanovsky <mjovanovski04@…>, 18 months ago |
commit 1
|
-
Property mode
set to
100644
|
File size:
476 bytes
|
Rev | Line | |
---|
[4d7e387] | 1 | package com.example.salonbella.repository;
|
---|
| 2 |
|
---|
| 3 | import com.example.salonbella.entity.ConfirmationTokenEntity;
|
---|
| 4 | import com.example.salonbella.entity.UserEntity;
|
---|
| 5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 6 | import org.springframework.stereotype.Repository;
|
---|
| 7 |
|
---|
| 8 | import java.util.Optional;
|
---|
| 9 |
|
---|
| 10 | @Repository
|
---|
| 11 | public interface ConfirmationTokenRepository extends JpaRepository<ConfirmationTokenEntity, Long> {
|
---|
| 12 | Optional<ConfirmationTokenEntity> findByToken(String token);
|
---|
| 13 |
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.