source: sources/app/src/main/java/parkup/repositories/RegistriranParkiracRepository.java@ ce6ad22

Last change on this file since ce6ad22 was ce6ad22, checked in by DavidTrajkovski <davidtrajkovski11@…>, 3 years ago

v1 initial prototype

  • Property mode set to 100644
File size: 448 bytes
Line 
1package parkup.repositories;
2
3import java.util.Optional;
4import org.springframework.data.jpa.repository.JpaRepository;
5import parkup.entities.RegistriranParkirac;
6
7public interface RegistriranParkiracRepository extends JpaRepository<RegistriranParkirac, Integer> {
8 RegistriranParkirac findByRegParkId(int regParkId);
9
10 void deleteByRegParkId(int regParkId);
11
12 Optional<RegistriranParkirac> findRegistriranParkiracByEmail(String email);
13}
Note: See TracBrowser for help on using the repository browser.