모델학습 설정 dto 수정
This commit is contained in:
@@ -156,13 +156,9 @@ public class DatasetDto {
|
||||
@Schema(description = "제목", example = "1차 제작")
|
||||
private String title;
|
||||
|
||||
@NotBlank(message = "비교연도는 필수입니다")
|
||||
@Size(max = 4, message = "비교연도는 4자리입니다")
|
||||
@Schema(description = "비교연도 (YYYY)", example = "2023")
|
||||
private Integer compareYear;
|
||||
|
||||
@NotBlank(message = "기준연도는 필수입니다")
|
||||
@Size(max = 4, message = "기준연도는 4자리입니다")
|
||||
@Schema(description = "기준연도 (YYYY)", example = "2024")
|
||||
private Integer targetYyyy;
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ public class DatasetEntity {
|
||||
|
||||
@NotNull
|
||||
@Column(name = "id", nullable = false)
|
||||
private Long id1;
|
||||
private Long LegacyId;
|
||||
|
||||
@Size(max = 50)
|
||||
@Column(name = "created_by", length = 50)
|
||||
@@ -88,7 +88,7 @@ public class DatasetEntity {
|
||||
@NotNull
|
||||
@ColumnDefault("now()")
|
||||
@Column(name = "created_dttm", nullable = false)
|
||||
private ZonedDateTime createdDttm;
|
||||
private ZonedDateTime createdDttm = ZonedDateTime.now();
|
||||
|
||||
@NotNull
|
||||
@ColumnDefault("false")
|
||||
@@ -112,7 +112,7 @@ public class DatasetEntity {
|
||||
@NotNull
|
||||
@ColumnDefault("uuid_generate_v4()")
|
||||
@Column(name = "uuid", nullable = false)
|
||||
private UUID uuid;
|
||||
private UUID uuid = UUID.randomUUID();
|
||||
|
||||
@ColumnDefault("0")
|
||||
@Column(name = "total_object_count")
|
||||
|
||||
Reference in New Issue
Block a user