CZT
2023-11-02 99f928a971a5d2c58d5fafb38728471a39b5a759
igds-manager/src/main/java/com/ld/igds/models/OAArchives.java
@@ -2,11 +2,9 @@
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.*;
import lombok.Data;
@@ -14,71 +12,73 @@
/**
 * OA-档案管理
 *
 *
 * @author: andy.jia
 * @description:
 * @version:
 * @data:2020年5月30日
 *
 */
@Data
@Entity
@Table(name = "D_OA_ARCHIVES")
public class OAArchives implements Serializable {
   private static final long serialVersionUID = 1L;
    private static final long serialVersionUID = 1L;
   @Id
   @Column(name = "ID_", length = 40)
   @PropertyDef(label = "ID")
   private String id;
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "ID")
    private String id;
   @Column(name = "COMPANY_ID_", length = 10)
   @PropertyDef(label = "组织编码")
   private String companyId;
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
   @Column(name = "DEPT_ID_", length = 40)
   @PropertyDef(label = "所属分库")
   private String deptId;
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
   @Column(name = "NAME_", length = 100)
   @PropertyDef(label = "文件正名题")
   private String name;
    @Column(name = "NAME_", length = 100)
    @PropertyDef(label = "文件正名题")
    private String name;
   @Column(name = "CODE_", length = 40)
   @PropertyDef(label = "档案编码")
   private String code;
    @Column(name = "CODE_", length = 40)
    @PropertyDef(label = "档案编码")
    private String code;
   @Column(name = "CATEGORY_", length = 20)
   @PropertyDef(label = "文件分类")
   private String category;
    @Column(name = "CATEGORY_", length = 20)
    @PropertyDef(label = "文件分类")
    private String category;
   @Column(name = "YEAR_", length = 10)
   @PropertyDef(label = "归档年份")
   private String year;
    @Column(name = "YEAR_", length = 10)
    @PropertyDef(label = "归档年份")
    private String year;
   @Column(name = "LOCATION_", length = 100)
   @PropertyDef(label = "档案存址")
   private String location;
    @Column(name = "LOCATION_", length = 100)
    @PropertyDef(label = "档案存址")
    private String location;
   @Column(name = "SEC_LEVEL_", length = 20)
   @PropertyDef(label = "安全级别")
   private String secLevel;
    @Column(name = "SEC_LEVEL_", length = 20)
    @PropertyDef(label = "安全级别")
    private String secLevel;
   @Column(name = "FILE_NAME_", length = 50)
   @PropertyDef(label = "附件名称")
   private String fileName;
    @Column(name = "FILE_NAME_", length = 50)
    @PropertyDef(label = "附件名称")
    private String fileName;
   @Column(name = "UPDATE_TIME_")
   @PropertyDef(label = "修改时间", description = "最后修改时间")
   private Date updateTime;
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "修改时间", description = "最后修改时间")
    private Date updateTime;
   @Column(name = "UPDATE_USER_", length = 30)
   @PropertyDef(label = "修改人", description = "最后修改人")
   private String updateUser;
    @Column(name = "UPDATE_USER_", length = 30)
    @PropertyDef(label = "修改人", description = "最后修改人")
    private String updateUser;
   @Column(name = "REMARK_", length = 255)
   @PropertyDef(label = "备注")
   private String remark;
    @Column(name = "REMARK_", length = 255)
    @PropertyDef(label = "备注")
    private String remark;
    @Transient
    private List<FileInfo> fileData;
}