From d5a0483293d379d1247d047ce73888f3966dec48 Mon Sep 17 00:00:00 2001 From: Rajbir Singh Date: Mon, 21 Oct 2024 13:06:38 +0200 Subject: [PATCH] PMT-4: Implement Repository --- src/main/java/de/hmmh/pmt/db/AllocationRepository.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/java/de/hmmh/pmt/db/AllocationRepository.java diff --git a/src/main/java/de/hmmh/pmt/db/AllocationRepository.java b/src/main/java/de/hmmh/pmt/db/AllocationRepository.java new file mode 100644 index 0000000..5d4bc07 --- /dev/null +++ b/src/main/java/de/hmmh/pmt/db/AllocationRepository.java @@ -0,0 +1,10 @@ +package de.hmmh.pmt.db; + +import org.springframework.data.repository.CrudRepository; + +import java.util.List; + +public interface AllocationRepository extends CrudRepository { + + List findAllocationsByEmployeeId(Long employeeId); +}