Last change
on this file since b2e6513 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
|
Line | |
---|
1 | package parkup.repositories;
|
---|
2 |
|
---|
3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
4 | import org.springframework.stereotype.Repository;
|
---|
5 | import parkup.entities.ParkingSpace;
|
---|
6 | import parkup.entities.ParkingZone;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 | @Repository
|
---|
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.