refactor: extract Onnba3011ReqDto into separate file

This commit is contained in:
jade
2026-07-21 16:32:40 +09:00
parent 0afa489165
commit 60ac3bc4be
2 changed files with 25 additions and 6 deletions

View File

@@ -0,0 +1,23 @@
package io.shinhanlife.dap.mcc.dto;
import lombok.Data;
/**
* @package io.shinhanlife.dap.mcc.dto
* @className Onnba3011ReqDto
* @description 보종By가입설계한도계산조회 MCI 요청 DTO
* @author 김형식
* @create 2026.09.01
* <pre>
* ---------- 개정이력 ----------
* 수정일 수정자 수정내용
* ---------- -------- ---------------------------
* 2026.09.01 김형식 최초생성
*
* </pre>
*/
@Data
public class Onnba3011ReqDto {
// 실제 가입설계한도계산 조회에 필요한 필드
private String customerId;
}

View File

@@ -8,6 +8,7 @@ import io.shinhanlife.dap.mcc.annotation.McpTool;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import io.shinhanlife.dap.mcc.dto.Onnba3011ReqDto;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
@@ -37,12 +38,7 @@ public class OnnbaMciToolService {
@Value("${shinhan.integration.mci.default-url:http://localhost:8081/api/mock/esb/api}")
private String mciTargetUrl;
// AI가 인식하게 될 파라미터 DTO (기존 ONNBA3011_I 와 동일한 구조)
@Data
public static class Onnba3011ReqDto {
// 실제 가입설계한도계산 조회에 필요한 필드
private String customerId;
}
/**
* AI Agent가 호출하게 될 메서드입니다.