Last change
on this file since 9ff45d6 was 9ff45d6, checked in by andrejTavchioski <andrej.tavchioski@…>, 3 years ago |
Fixed some functionalities related to parkingSessions and parkingZones
|
-
Property mode
set to
100644
|
File size:
414 bytes
|
Rev | Line | |
---|
[ce6ad22] | 1 | package parkup.repositories;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 4 | import parkup.entities.ParkingSession;
|
---|
| 5 |
|
---|
[9ff45d6] | 6 | import java.util.List;
|
---|
| 7 |
|
---|
[ce6ad22] | 8 | public interface ParkingSessionRepository extends JpaRepository<ParkingSession, Integer> {
|
---|
| 9 |
|
---|
| 10 | ParkingSession findByPssId(int parkingSessionId);
|
---|
[9ff45d6] | 11 | List<ParkingSession> findByParkingZonePzName(String pzName);
|
---|
[ce6ad22] | 12 | void deleteByPssId(int parkingSessionId);
|
---|
| 13 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.