From 901dde066d29b3ba05ac73b82578c5a12822121e Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 24 Feb 2026 16:54:58 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=98=EC=9D=B4=ED=8C=8C=EB=9D=BC=EB=AF=B8?= =?UTF-8?q?=ED=84=B0=20=EC=83=81=EC=84=B8=EC=A1=B0=ED=9A=8C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cd/training/hyperparam/HyperParamApiController.java | 8 ++++---- .../kamco/cd/training/hyperparam/dto/HyperParamDto.java | 2 ++ .../training/postgres/entity/ModelHyperParamEntity.java | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java b/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java index 80ce295..ef04353 100644 --- a/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java +++ b/src/main/java/com/kamco/cd/training/hyperparam/HyperParamApiController.java @@ -97,9 +97,9 @@ public class HyperParamApiController { String type, @Parameter(description = "시작일", example = "2026-02-01") @RequestParam(required = false) LocalDate startDate, - @Parameter(description = "종료일", example = "2026-02-28") @RequestParam(required = false) + @Parameter(description = "종료일", example = "2026-03-31") @RequestParam(required = false) LocalDate endDate, - @Parameter(description = "버전명", example = "G_000001") @RequestParam(required = false) + @Parameter(description = "버전명", example = "G1_000019") @RequestParam(required = false) String hyperVer, @Parameter(description = "모델 타입 (G1, G2, G3 중 하나)", example = "G1") @RequestParam(required = false) @@ -142,7 +142,7 @@ public class HyperParamApiController { }) @DeleteMapping("/{uuid}") public ApiResponseDto deleteHyperParam( - @Parameter(description = "하이퍼파라미터 uuid", example = "c3b5a285-8f68-42af-84f0-e6d09162deb5") + @Parameter(description = "하이퍼파라미터 uuid", example = "57fc9170-64c1-4128-aa7b-0657f08d6d10") @PathVariable UUID uuid) { hyperParamService.deleteHyperParam(uuid); @@ -164,7 +164,7 @@ public class HyperParamApiController { }) @GetMapping("/{uuid}") public ApiResponseDto getHyperParam( - @Parameter(description = "하이퍼파라미터 uuid", example = "c3b5a285-8f68-42af-84f0-e6d09162deb5") + @Parameter(description = "하이퍼파라미터 uuid", example = "57fc9170-64c1-4128-aa7b-0657f08d6d10") @PathVariable UUID uuid) { return ApiResponseDto.ok(hyperParamService.getHyperParam(uuid)); diff --git a/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java b/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java index b6becca..64f1abe 100644 --- a/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java +++ b/src/main/java/com/kamco/cd/training/hyperparam/dto/HyperParamDto.java @@ -29,6 +29,8 @@ public class HyperParamDto { private UUID uuid; private String hyperVer; @JsonFormatDttm private ZonedDateTime createdDttm; + @JsonFormatDttm private ZonedDateTime lastUsedDttm; + private Integer totalUseCnt; // ------------------------- // Important diff --git a/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java b/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java index 3ffd1aa..35601be 100644 --- a/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java +++ b/src/main/java/com/kamco/cd/training/postgres/entity/ModelHyperParamEntity.java @@ -319,6 +319,8 @@ public class ModelHyperParamEntity { this.uuid, this.hyperVer, this.createdDttm, + this.lastUsedDttm, + this.totalUseCnt, // ------------------------- // Important // -------------------------