source: sources/app/src/main/java/parkup/repositories/ParkingSpaceRepository.java@ e8b1076

Last change on this file since e8b1076 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 
1package parkup.repositories;
2
3import org.springframework.data.jpa.repository.JpaRepository;
4import parkup.entities.ParkingSpace;
5
6import java.util.List;
7
8public 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.