diff options
Diffstat (limited to 'src/main/java/com/stileeducation/markr/repository/TestRepository.java')
| -rw-r--r-- | src/main/java/com/stileeducation/markr/repository/TestRepository.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/stileeducation/markr/repository/TestRepository.java b/src/main/java/com/stileeducation/markr/repository/TestRepository.java new file mode 100644 index 0000000..f30ae0b --- /dev/null +++ b/src/main/java/com/stileeducation/markr/repository/TestRepository.java @@ -0,0 +1,10 @@ +package com.stileeducation.markr.repository; + +import com.stileeducation.markr.entity.Test; +import org.springframework.data.jpa.repository.JpaRepository; + +import java.util.Optional; + +public interface TestRepository extends JpaRepository<Test, Long> { + Optional<Test> findByTestId(String testId); +} |
