Skip to content

Commit

Permalink
๐Ÿ”€ Merge: Main Merge 30์ฐจ (#143)
Browse files Browse the repository at this point in the history
* ๐Ÿ› Hotfix: ๋ชจ๋ธ ์ƒ์„ธ ์ •๋ณด ์กฐํšŒ ์„ฑ๋Šฅ response ์ถ”๊ฐ€

* ๐Ÿ‘” ํƒˆํ‡ดํ•œ ํšŒ์› ์ œ๊ฑฐ ๋กœ์ง ์ถ”๊ฐ€

* ๐Ÿ› Hotfix: ๋ชจ๋ธ ์ƒ์„ธ ์ •๋ณด ์กฐํšŒ ์„ฑ๋Šฅ response ์ถ”๊ฐ€
  • Loading branch information
joowojr authored May 15, 2024
1 parent 0799280 commit 068bf64
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 068bf64

Please sign in to comment.