Last change
on this file since b2e6513 was 97fbc67, checked in by andrejTavchioski <andrej.tavchioski@…>, 3 years ago |
fixed deleteVraboten and deleteRegistriranParkirac
|
-
Property mode
set to
100644
|
File size:
408 bytes
|
Rev | Line | |
---|
[ce6ad22] | 1 | package parkup.repositories;
|
---|
| 2 |
|
---|
| 3 | import java.util.Optional;
|
---|
| 4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
[97fbc67] | 5 | import org.springframework.stereotype.Repository;
|
---|
[ce6ad22] | 6 | import parkup.entities.Guest;
|
---|
| 7 |
|
---|
[97fbc67] | 8 | @Repository
|
---|
[ce6ad22] | 9 | public interface GuestRepository extends JpaRepository<Guest, Integer> {
|
---|
| 10 | Guest findByGuestId(int id);
|
---|
| 11 |
|
---|
| 12 | void deleteByGuestId(int id);
|
---|
| 13 |
|
---|
| 14 | Optional<Guest> findGuestByEmail(String email);
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.