From 068bf64f870966b160f39fd99f5125a0b4f62b87 Mon Sep 17 00:00:00 2001 From: JOO WON SEO Date: Thu, 16 May 2024 01:06:12 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20Merge:=20Main=20Merge=2030?= =?UTF-8?q?=EC=B0=A8=20(#143)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :bug: Hotfix: 모델 상세 정보 조회 성능 response 추가 * :necktie: 탈퇴한 회원 제거 로직 추가 * :bug: Hotfix: 모델 상세 정보 조회 성능 response 추가 --- .../meetfolio/domain/admin/dto/ModelResponse.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/codez4/meetfolio/domain/admin/dto/ModelResponse.java b/src/main/java/com/codez4/meetfolio/domain/admin/dto/ModelResponse.java index 7362f19..5f23141 100644 --- a/src/main/java/com/codez4/meetfolio/domain/admin/dto/ModelResponse.java +++ b/src/main/java/com/codez4/meetfolio/domain/admin/dto/ModelResponse.java @@ -74,11 +74,15 @@ public static class ModelResult { private double version; @Schema(description = "모델명") private String modelName; + @Schema(description = "파일명") + private String fileName; + @Schema(description = "파일 경로") + private String filePath; @Schema(description = "성능") private double accuracy; - @Schema(description = "생성일") + @Schema(description = "학습일") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yy-MM-dd", timezone = "Asia/Seoul") - private LocalDateTime createdDate; + private LocalDateTime learnedDate; @Schema(description = "배포일") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yy-MM-dd", timezone = "Asia/Seoul") private LocalDateTime activatedDate; @@ -125,8 +129,10 @@ public static ModelResult toModelResult(Model model) { .modelId(model.getId()) .version(model.getVersion()) .modelName(model.getName()) + .fileName(model.getFileName()) + .filePath(model.getFilePath()) .accuracy(model.getAccuracy()) - .createdDate(model.getCreatedAt()) + .learnedDate(model.getCreatedAt()) .activatedDate(model.getActivatedDate()) .build(); }