From ed4267df394b7cae5f043d8a539b62adbd5125fe Mon Sep 17 00:00:00 2001 From: bjkim Date: Wed, 17 Sep 2025 15:37:22 +0900 Subject: [PATCH] =?UTF-8?q?[ADD]=20FileUploadEntity=20=ED=95=84=EB=93=9C?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80=20(title,=20version,=20description)=20?= =?UTF-8?q?=EB=B0=8F=20=EC=A3=BC=EC=84=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../re/etri/autoflow/entity/FileUploadEntity.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/java/kr/re/etri/autoflow/entity/FileUploadEntity.java b/src/main/java/kr/re/etri/autoflow/entity/FileUploadEntity.java index 58155dc..d6c11ac 100644 --- a/src/main/java/kr/re/etri/autoflow/entity/FileUploadEntity.java +++ b/src/main/java/kr/re/etri/autoflow/entity/FileUploadEntity.java @@ -24,7 +24,7 @@ public class FileUploadEntity { @Schema(description = "첨부파일 ID", example = "1") private Long id; - // 연관 엔티티 ex) orkflow_step, projectentity + // 연관 엔티티 ex) workflow_step, projectentity @Schema(description = "연관 엔티티 타입", example = "workflow_step") @Column(nullable = false, length = 50) private String refType; @@ -61,4 +61,17 @@ public class FileUploadEntity { @CreatedDate @Column(nullable = false, updatable = false) private LocalDateTime regDt; + + // 추가된 필드들 + @Schema(description = "파일 제목", example = "자율주행차량 데이터 셋") + @Column(length = 200) + private String title; + + @Schema(description = "파일 버전 (정수)", example = "1") + @Column(nullable = false) + private Integer version; + + @Schema(description = "파일 설명", example = "자율주행차량 데이터 모음집입니다.") + @Column(length = 1000) + private String description; }