Merge pull request '학습 상세 API에 beforeModelUuid 추가' (#202) from feat/training_260623 into develop

Reviewed-on: #202
This commit was merged in pull request #202.
This commit is contained in:
2026-06-23 15:25:47 +09:00
2 changed files with 7 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ public class ModelTrainMngDto {
private Long beforeModelId;
private Integer bestEpoch;
private UUID beforeModelUuid;
public String getStatusName() {
if (this.statusCd == null || this.statusCd.isBlank()) return null;
try {

View File

@@ -136,6 +136,9 @@ public class ModelMasterEntity {
@Column(name = "tmp_file_err_message", columnDefinition = "TEXT")
private String tmpFileErrMessage;
@Column(name = "before_model_uuid")
private UUID beforeModelUuid;
public ModelTrainMngDto.Basic toDto() {
return new ModelTrainMngDto.Basic(
this.id,
@@ -157,6 +160,7 @@ public class ModelMasterEntity {
this.packingStrtDttm,
this.packingEndDttm,
this.beforeModelId,
this.bestEpoch);
this.bestEpoch,
this.beforeModelUuid);
}
}