package cn.iocoder.yudao.module.archive.dal.dataobject.document; import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; import com.baomidou.mybatisplus.annotation.KeySequence; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.*; import java.time.LocalDate; /** * 档案-档案主表 DO * * @author 超级管理员 */ @TableName("archive_document") @KeySequence("archive_document_seq") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) @Builder @NoArgsConstructor @AllArgsConstructor public class ArchiveDocumentDO extends BaseDO { @TableId private Long id; /** 档案编号 DA+yyyyMMdd+6位流水 */ private String no; /** 档案标题 */ private String title; /** 档案分类 ID */ private Long categoryId; /** 密级:1-公开 2-内部 3-保密 */ private Integer secretLevel; /** 载体:1-电子 2-实体 3-电子+实体 */ private Integer carrierType; /** 实体-书架号 */ private String shelfNo; /** 实体-层号 */ private String layerNo; /** 实体-列号 */ private String columnNo; /** 实体-册号/档案盒号 */ private String boxNo; /** 实体存放位置描述 */ private String storePlace; /** 来源类型:1-手工 2-课题 3-会员 4-财务 */ private Integer sourceType; /** 来源单号 */ private String sourceNo; /** 来源单据 ID */ private Long sourceId; /** 来源单据标题(冗余快照) */ private String sourceTitle; /** 归档日期 */ private LocalDate archiveDate; /** 归档人用户 ID */ private Long archivistUserId; /** 档案状态:10-在库 20-借出中 */ private Integer status; /** 摘要 */ private String summary; /** 关键词,英文逗号分隔 */ private String tags; /** 备注 */ private String remark; }