[KC-99] 추론관리 등록 ai api 추가중, spotless 적용

This commit is contained in:
2026-01-09 16:12:21 +09:00
parent 3161b6dea7
commit 11b72e80cd
19 changed files with 355 additions and 77 deletions

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.postgres.entity;
import com.kamco.cd.kamcoback.model.dto.ModelMngDto;
import com.kamco.cd.kamcoback.postgres.CommonDateEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
@@ -90,8 +91,32 @@ public class ModelMngEntity extends CommonDateEntity {
@Column(name = "priority")
private Double priority;
public void deleted() {
this.deleted = true;
}
public ModelMngDto.Basic toDto() {
return new ModelMngDto.Basic(
this.modelUid,
this.modelVer,
this.createCompleteDttm,
this.recentUseDttm,
this.deleted,
this.getCreatedDate(),
this.createdUid,
this.getModifiedDate(),
this.updatedUid,
this.modelType,
this.filePath,
this.fileName,
this.cdModelPath,
this.cdModelFileName,
this.cdModelConfigPath,
this.cdModelConfigFileName,
this.clsModelPath,
this.clsModelFileName,
this.clsModelVersion,
this.priority,
this.memo);
}
}