학습 상세 API에 beforeModelUuid 추가

This commit is contained in:
2026-06-23 15:25:03 +09:00
parent 5fc93b64b6
commit ad750f0f06
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);
}
}