Last change
on this file since ad4da86 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:
449 bytes
|
Rev | Line | |
---|
[ce6ad22] | 1 | package parkup.repositories;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
[97fbc67] | 4 | import org.springframework.stereotype.Repository;
|
---|
[9ff45d6] | 5 | import parkup.entities.ParkingSpace;
|
---|
[ce6ad22] | 6 | import parkup.entities.ParkingZone;
|
---|
| 7 |
|
---|
[9ff45d6] | 8 | import java.util.List;
|
---|
| 9 |
|
---|
[97fbc67] | 10 | @Repository
|
---|
[ce6ad22] | 11 | public interface ParkingZoneRepository extends JpaRepository<ParkingZone, Integer> {
|
---|
| 12 | ParkingZone findByPzId(int id);
|
---|
| 13 |
|
---|
| 14 | ParkingZone findByPzName(String name);
|
---|
| 15 | void deleteByPzId(int id);
|
---|
| 16 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.