Last change
on this file since f6bc52d was ce6ad22, checked in by DavidTrajkovski <davidtrajkovski11@…>, 3 years ago |
v1 initial prototype
|
-
Property mode
set to
100644
|
File size:
359 bytes
|
Line | |
---|
1 | package parkup.repositories;
|
---|
2 |
|
---|
3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
4 | import parkup.entities.ParkingSpace;
|
---|
5 |
|
---|
6 | public interface ParkingSpaceRepository extends JpaRepository<ParkingSpace, Integer> {
|
---|
7 | ParkingSpace findByPsName(String psName);
|
---|
8 |
|
---|
9 | ParkingSpace findByPsId(int parkingSpaceId);
|
---|
10 |
|
---|
11 | void deleteByPsId(int parkingSpaceId);
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.