Last change
on this file since d770228 was ad4da86, checked in by andrejTavchioski <andrej.tavchioski@…>, 3 years ago |
calculate payment fix and added error handling
|
-
Property mode
set to
100644
|
File size:
422 bytes
|
Rev | Line | |
---|
[ce6ad22] | 1 | package parkup.repositories;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 4 | import parkup.entities.ParkingSpace;
|
---|
| 5 |
|
---|
[9ff45d6] | 6 | import java.util.List;
|
---|
| 7 |
|
---|
[ce6ad22] | 8 | public interface ParkingSpaceRepository extends JpaRepository<ParkingSpace, Integer> {
|
---|
| 9 | ParkingSpace findByPsName(String psName);
|
---|
| 10 | ParkingSpace findByPsId(int parkingSpaceId);
|
---|
| 11 | void deleteByPsId(int parkingSpaceId);
|
---|
[ad4da86] | 12 | void deleteAllByPsName(String name);
|
---|
[ce6ad22] | 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.