[ADD] FileUploadEntity 필드 추가 (title, version, description) 및 주석 수정

main
bjkim 9 months ago
parent e942e39fdf
commit ed4267df39

@ -24,7 +24,7 @@ public class FileUploadEntity {
@Schema(description = "첨부파일 ID", example = "1") @Schema(description = "첨부파일 ID", example = "1")
private Long id; private Long id;
// 연관 엔티티 ex) orkflow_step, projectentity // 연관 엔티티 ex) workflow_step, projectentity
@Schema(description = "연관 엔티티 타입", example = "workflow_step") @Schema(description = "연관 엔티티 타입", example = "workflow_step")
@Column(nullable = false, length = 50) @Column(nullable = false, length = 50)
private String refType; private String refType;
@ -61,4 +61,17 @@ public class FileUploadEntity {
@CreatedDate @CreatedDate
@Column(nullable = false, updatable = false) @Column(nullable = false, updatable = false)
private LocalDateTime regDt; 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;
} }

Loading…
Cancel
Save