PMT-4: Implement Repository
This commit is contained in:
parent
81230367b5
commit
7e1ae9ed2c
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