Last change
on this file since 747e0ab 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
|
Line | |
---|
1 | package parkup.repositories;
|
---|
2 |
|
---|
3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
4 | import parkup.entities.ParkingSession;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public interface ParkingSessionRepository extends JpaRepository<ParkingSession, Integer> {
|
---|
9 |
|
---|
10 | ParkingSession findByPssId(int parkingSessionId);
|
---|
11 | List<ParkingSession> findByParkingZonePzName(String pzName);
|
---|
12 | void deleteByPssId(int parkingSessionId);
|
---|
13 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.