Index: sources/app/src/main/java/parkup/repositories/AdministratorRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/AdministratorRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/AdministratorRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,26 @@
+package parkup.repositories;
+
+import java.util.Optional;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.Modifying;
+import org.springframework.data.jpa.repository.Query;
+import org.springframework.stereotype.Repository;
+import parkup.entities.Administrator;
+
+import javax.transaction.Transactional;
+
+@Repository
+public interface AdministratorRepository extends JpaRepository<Administrator, Integer> {
+
+    Administrator findByAdministratorId(int id);
+
+    void deleteByAdministratorId(int id);
+
+    Optional<Administrator> findAdministratorByEmail(String email);
+
+    @Transactional
+    @Modifying
+    @Query("UPDATE Administrator a " +
+            "SET a.enabled = TRUE WHERE a.email = ?1")
+    int enableAdministrator(String email);
+}
Index: sources/app/src/main/java/parkup/repositories/GuestRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/GuestRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/GuestRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,13 @@
+package parkup.repositories;
+
+import java.util.Optional;
+import org.springframework.data.jpa.repository.JpaRepository;
+import parkup.entities.Guest;
+
+public interface GuestRepository extends JpaRepository<Guest, Integer> {
+    Guest findByGuestId(int id);
+
+    void deleteByGuestId(int id);
+
+    Optional<Guest> findGuestByEmail(String email);
+}
Index: sources/app/src/main/java/parkup/repositories/ParkingSessionRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/ParkingSessionRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/ParkingSessionRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,11 @@
+package parkup.repositories;
+
+import org.springframework.data.jpa.repository.JpaRepository;
+import parkup.entities.ParkingSession;
+
+public interface ParkingSessionRepository extends JpaRepository<ParkingSession, Integer> {
+
+    ParkingSession findByPssId(int parkingSessionId);
+
+    void deleteByPssId(int parkingSessionId);
+}
Index: sources/app/src/main/java/parkup/repositories/ParkingSpaceRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/ParkingSpaceRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/ParkingSpaceRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,12 @@
+package parkup.repositories;
+
+import org.springframework.data.jpa.repository.JpaRepository;
+import parkup.entities.ParkingSpace;
+
+public interface ParkingSpaceRepository extends JpaRepository<ParkingSpace, Integer> {
+    ParkingSpace findByPsName(String psName);
+
+    ParkingSpace findByPsId(int parkingSpaceId);
+
+    void deleteByPsId(int parkingSpaceId);
+}
Index: sources/app/src/main/java/parkup/repositories/ParkingZoneRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/ParkingZoneRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/ParkingZoneRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,12 @@
+package parkup.repositories;
+
+import org.springframework.data.jpa.repository.JpaRepository;
+import parkup.entities.ParkingZone;
+
+public interface ParkingZoneRepository extends JpaRepository<ParkingZone, Integer> {
+    ParkingZone findByPzId(int id);
+
+    ParkingZone findByPzName(String name);
+
+    void deleteByPzId(int id);
+}
Index: sources/app/src/main/java/parkup/repositories/RegistriranParkiracRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/RegistriranParkiracRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/RegistriranParkiracRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,13 @@
+package parkup.repositories;
+
+import java.util.Optional;
+import org.springframework.data.jpa.repository.JpaRepository;
+import parkup.entities.RegistriranParkirac;
+
+public interface RegistriranParkiracRepository extends JpaRepository<RegistriranParkirac, Integer> {
+    RegistriranParkirac findByRegParkId(int regParkId);
+
+    void deleteByRegParkId(int regParkId);
+
+    Optional<RegistriranParkirac> findRegistriranParkiracByEmail(String email);
+}
Index: sources/app/src/main/java/parkup/repositories/VrabotenRepository.java
===================================================================
--- sources/app/src/main/java/parkup/repositories/VrabotenRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
+++ sources/app/src/main/java/parkup/repositories/VrabotenRepository.java	(revision ce6ad22249e902dea17e6ba473846ccebdd4330c)
@@ -0,0 +1,13 @@
+package parkup.repositories;
+
+import java.util.Optional;
+import org.springframework.data.jpa.repository.JpaRepository;
+import parkup.entities.Vraboten;
+
+public interface VrabotenRepository extends JpaRepository<Vraboten, Integer> {
+    Vraboten findByVrabotenId(int id);
+
+    void deleteByVrabotenId(int id);
+
+    Optional<Vraboten> findVrabotenByEmail(String email);
+}
