fei
4 天以前 07a2f9c762efb3be3a29e2e8cc7004d4164cc9d8
archiveManager/src/main/java/com/ruoyi/domain/DocumentMaterials.java
@@ -7,13 +7,15 @@
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.NumberFormatHandler;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.poi.ss.usermodel.IndexedColors;
/**
 * 【请填写功能名称】对象 document_materials
 * 【文件材料综合信息】对象 document_materials
 *
 * @author ruoyi
 * @date 2025-07-26
@@ -25,8 +27,14 @@
    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long materialId;
    @Excel(name = "文件材料序号")
    @Excel(name = "文件材料序号", handler = NumberFormatHandler.class)
    private Long fileNumber;
    @Excel(name = "文件编号")
    private String documentNumber;
    public Long getFileNumber() {
        return fileNumber;
@@ -37,97 +45,106 @@
    }
    /** $column.columnComment */
    @Excel(name = "编任者")
    @Excel(name = "编任者", headerColor = IndexedColors.BLACK)
    private String creator;
    /** $column.columnComment */
    @Excel(name = "文件题名")
    @Excel(name = "文件题名", headerColor = IndexedColors.BLACK)
    private String title;
    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd", headerColor = IndexedColors.BLACK)
    private Date date;
    /** $column.columnComment */
    @Excel(name = "页号")
    @Excel(name = "页号", handler = NumberFormatHandler.class, headerColor = IndexedColors.BLACK)
    private Long pageNumber;
    /** $column.columnComment */
    @Excel(name = "页次")
    @Excel(name = "页次", headerColor = IndexedColors.BLACK)
    private Long pageOrder;
    /** $column.columnComment */
    @Excel(name = "所处阶段")
    @Excel(name = "所处阶段", headerColor = IndexedColors.BLACK)
    private String stage;
    /** $column.columnComment */
    @Excel(name = "公开属性")
    @Excel(name = "公开属性", headerColor = IndexedColors.BLACK)
    private String publicity;
    /** $column.columnComment */
    @Excel(name = "是否为附件")
    @Excel(name = "是否为附件附图", headerColor = IndexedColors.BLACK)
    private String isAttachment;
    /** $column.columnComment */
    @Excel(name = "是否为附图")
//    @Excel(name = "是否为附图")
    private String isDiagram;
    /** $column.columnComment */
    @Excel(name = "保管期限")
    @Excel(name = "保管期限", headerColor = IndexedColors.BLACK)
    private String retentionPeriod;
    /** $column.columnComment */
    @Excel(name = "密级")
    @Excel(name = "密级", headerColor = IndexedColors.BLACK)
    private String securityLevel;
    /** $column.columnComment */
    @Excel(name = "是否涉密及敏感信息")
    @Excel(name = "是否涉密及敏感信息", headerColor = IndexedColors.BLACK)
    private String isSensitive;
    /** $column.columnComment */
    @Excel(name = "是否注销")
    @Excel(name = "是否注销", headerColor = IndexedColors.BLACK)
    private String isCanceled;
    /** $column.columnComment */
    @Excel(name = "格式")
    @Excel(name = "格式", headerColor = IndexedColors.BLACK)
    private String format;
    /** $column.columnComment */
    @Excel(name = "幅面")
    @Excel(name = "幅面", headerColor = IndexedColors.BLACK)
    private String sizeType;
    /** $column.columnComment */
    @Excel(name = "水平分辨率")
    @Excel(name = "水平分辨率", headerColor = IndexedColors.BLACK)
    private Long horizontalResolution;
    /** $column.columnComment */
    @Excel(name = "垂直分辨率")
    @Excel(name = "垂直分辨率", headerColor = IndexedColors.BLACK)
    private Long verticalResolution;
    /** $column.columnComment */
    @Excel(name = "宽度")
    @Excel(name = "宽度", headerColor = IndexedColors.BLACK)
    private Long width;
    /** $column.columnComment */
    @Excel(name = "高度")
    @Excel(name = "高度", headerColor = IndexedColors.BLACK)
    private Long height;
    /** $column.columnComment */
    @Excel(name = "大小")
    @Excel(name = "大小", headerColor = IndexedColors.BLACK)
    private Double fileSize;
    /** $column.columnComment */
    @Excel(name = "附件及历史发文号")
    @Excel(name = "附件及历史发文号", headerColor = IndexedColors.BLACK)
    private String attachmentHistoryNumbers;
    /** $column.columnComment */
    @Excel(name = "备注")
    @Excel(name = "备注", headerColor = IndexedColors.BLACK)
    private String remarks;
    /** $column.columnComment */
    private Date createdAt;
    public Integer getVisible() {
        return visible;
    }
    public void setVisible(Integer visible) {
        this.visible = visible;
    }
    private Integer visible;
    /** $column.columnComment */
    private Date updatedAt;
    private String fileStyle;
@@ -279,6 +296,14 @@
        return securityLevel;
    }
    public String getDocumentNumber() {
        return documentNumber;
    }
    public void setDocumentNumber(String documentNumber) {
        this.documentNumber = documentNumber;
    }
    public void setIsSensitive(String isSensitive)
    {
        this.isSensitive = isSensitive;