Last change
on this file since 3a58bd6 was ce6ad22, checked in by DavidTrajkovski <davidtrajkovski11@…>, 3 years ago |
v1 initial prototype
|
-
Property mode
set to
100644
|
File size:
327 bytes
|
Rev | Line | |
---|
[ce6ad22] | 1 | package parkup.repositories;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 4 | import parkup.entities.ParkingZone;
|
---|
| 5 |
|
---|
| 6 | public interface ParkingZoneRepository extends JpaRepository<ParkingZone, Integer> {
|
---|
| 7 | ParkingZone findByPzId(int id);
|
---|
| 8 |
|
---|
| 9 | ParkingZone findByPzName(String name);
|
---|
| 10 |
|
---|
| 11 | void deleteByPzId(int id);
|
---|
| 12 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.