[KC-99] 추론관리 등록 ai api 추가중, spotless 적용
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user