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