PMT-4: Implement Repository
This commit is contained in:
parent
17e20ee830
commit
d5a0483293
1 changed files with 10 additions and 0 deletions
10
src/main/java/de/hmmh/pmt/db/AllocationRepository.java
Normal file
10
src/main/java/de/hmmh/pmt/db/AllocationRepository.java
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
package de.hmmh.pmt.db;
|
||||||
|
|
||||||
|
import org.springframework.data.repository.CrudRepository;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public interface AllocationRepository extends CrudRepository<Allocation, AllocationId> {
|
||||||
|
|
||||||
|
List<Allocation> findAllocationsByEmployeeId(Long employeeId);
|
||||||
|
}
|
Loading…
Reference in a new issue