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