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 // -------------------------