모델관리 수정
This commit is contained in:
@@ -7,6 +7,7 @@ import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.UUID;
|
||||
import lombok.Getter;
|
||||
@@ -56,6 +57,32 @@ public class ModelMngEntity extends CommonDateEntity {
|
||||
@Column(name = "uuid")
|
||||
private UUID uuid;
|
||||
|
||||
@Size(max = 155)
|
||||
@Column(name = "cd_model_path", length = 155)
|
||||
private String cdModelPath;
|
||||
|
||||
@Size(max = 155)
|
||||
@Column(name = "cd_model_file_name", length = 155)
|
||||
private String cdModelFileName;
|
||||
|
||||
@Size(max = 155)
|
||||
@Column(name = "cd_model_config_path", length = 155)
|
||||
private String cdModelConfigPath;
|
||||
|
||||
@Size(max = 155)
|
||||
@Column(name = "cd_model_config_file_name", length = 155)
|
||||
private String cdModelConfigFileName;
|
||||
|
||||
@Size(max = 155)
|
||||
@Column(name = "cls_model_path", length = 155)
|
||||
private String clsModelPath;
|
||||
|
||||
@Size(max = 155)
|
||||
@Column(name = "cls_model_file_name", length = 155)
|
||||
private String clsModelFileName;
|
||||
|
||||
|
||||
|
||||
public void deleted() {
|
||||
this.deleted = true;
|
||||
}
|
||||
|
||||
@@ -7,21 +7,21 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.annotations.JdbcTypeCode;
|
||||
import org.hibernate.type.SqlTypes;
|
||||
|
||||
@Entity
|
||||
|
||||
@Table(name = "tb_model_result_metric")
|
||||
@Getter
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Setter
|
||||
@Entity
|
||||
public class ModelResultMetricEntity {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "metric_uid")
|
||||
private Long id;
|
||||
private Long metricUid;
|
||||
|
||||
@Column(name = "model_uid")
|
||||
private Long modelUid;
|
||||
|
||||
Reference in New Issue
Block a user