모델학습 설정 dto 수정

This commit is contained in:
2026-02-04 12:32:22 +09:00
parent f9d081970d
commit 2c825b14ee
2 changed files with 3 additions and 7 deletions

View File

@@ -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;

View File

@@ -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")