Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge: Main Merge 30차 #143

Merged
merged 4 commits into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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