동영상관리 추가 및 수정
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package com.kamco.cd.kamcoback.postgres.entity;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Entity
|
||||
@Table(name = "tb_map_sheet_mng_files")
|
||||
public class MapSheetMngFileEntity {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "file_uid", nullable = false)
|
||||
private Long fileUid;
|
||||
|
||||
@NotNull
|
||||
@Column(name = "mng_yyyy", nullable = false)
|
||||
private Integer mngYyyy;
|
||||
|
||||
@NotNull
|
||||
@Column(name = "map_sheet_num", nullable = false)
|
||||
private Integer mapSheetNum;
|
||||
|
||||
@Column(name = "ref_map_sheet_num")
|
||||
private Integer refMapSheetNum;
|
||||
|
||||
@Size(max = 255)
|
||||
@Column(name = "file_path")
|
||||
private String filePath;
|
||||
|
||||
@Size(max = 100)
|
||||
@Column(name = "file_name", length = 100)
|
||||
private String fileName;
|
||||
|
||||
@Size(max = 20)
|
||||
@Column(name = "file_ext", length = 20)
|
||||
private String fileExt;
|
||||
|
||||
@Column(name = "mng_uid")
|
||||
private Long mngUid;
|
||||
|
||||
@Column(name = "hst_uid")
|
||||
private Long hstUid;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user