diff --git a/src/main/java/com/endlesshorses/oot/custom/result/controller/ResultController.java b/src/main/java/com/endlesshorses/oot/custom/result/controller/ResultController.java new file mode 100644 index 0000000..53c1d26 --- /dev/null +++ b/src/main/java/com/endlesshorses/oot/custom/result/controller/ResultController.java @@ -0,0 +1,15 @@ +package com.endlesshorses.oot.custom.result.controller; + +import com.endlesshorses.oot.custom.result.service.ResultService; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.RequiredArgsConstructor; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@RequiredArgsConstructor +@Tag(name = "Result", description = "타이어 커스텀 결과물 관련 API") +@RequestMapping("/api/results") +public class ResultController { + private final ResultService resultService; +} diff --git a/src/main/java/com/endlesshorses/oot/custom/result/repository/ResultRepository.java b/src/main/java/com/endlesshorses/oot/custom/result/repository/ResultRepository.java new file mode 100644 index 0000000..964e179 --- /dev/null +++ b/src/main/java/com/endlesshorses/oot/custom/result/repository/ResultRepository.java @@ -0,0 +1,9 @@ +package com.endlesshorses.oot.custom.result.repository; + +import com.endlesshorses.oot.custom.result.entity.Result; +import org.springframework.data.jpa.repository.JpaRepository; + +import java.util.UUID; + +public interface ResultRepository extends JpaRepository { +} diff --git a/src/main/java/com/endlesshorses/oot/custom/result/service/ResultService.java b/src/main/java/com/endlesshorses/oot/custom/result/service/ResultService.java new file mode 100644 index 0000000..84607bc --- /dev/null +++ b/src/main/java/com/endlesshorses/oot/custom/result/service/ResultService.java @@ -0,0 +1,11 @@ +package com.endlesshorses.oot.custom.result.service; + +import com.endlesshorses.oot.custom.result.repository.ResultRepository; +import lombok.RequiredArgsConstructor; +import org.springframework.stereotype.Service; + +@Service +@RequiredArgsConstructor +public class ResultService { + private final ResultRepository resultRepository; +}