| | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.annotation.NumberFormatHandler; |
| | | import lombok.Data; |
| | | import org.apache.poi.ss.usermodel.IndexedColors; |
| | | |
| | | import java.util.Date; |
| | | |
| | |
| | | this.title = title; |
| | | } |
| | | |
| | | @Excel(name="序号") |
| | | @Excel(name="序号", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private int num; |
| | | @Excel(name="档号") |
| | | @Excel(name="档号",headerColor = IndexedColors.RED,width = 15, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String recordId; |
| | | @Excel(name = "文件材料序号", handler = NumberFormatHandler.class) |
| | | @Excel(name = "文件材料序号", width=10,headerColor = IndexedColors.RED,handler = NumberFormatHandler.class, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long fileNumber; |
| | | |
| | | |
| | | @Excel(name = "文件编号") |
| | | @Excel(name = "文件编号",width=9,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String documentNumber; |
| | | |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "编任者") |
| | | @Excel(name = "责任者",width=8,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String creator; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "文件题名") |
| | | @Excel(name = "文件题名",headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String title; |
| | | |
| | | /** $column.columnComment */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @Excel(name = "日期", width = 10, headerColor = IndexedColors.BLACK,dateFormat = "yyyy-MM-dd", headerBackgroundColor = IndexedColors.WHITE) |
| | | private Date date; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "页号", handler = NumberFormatHandler.class) |
| | | @Excel(name = "页号", width = 10,headerColor = IndexedColors.RED,handler = NumberFormatHandler.class, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long pageNumber; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "页次") |
| | | @Excel(name = "页次", width = 10,headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long pageOrder; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "所处阶段") |
| | | @Excel(name = "所处阶段", width = 10,headerColor = IndexedColors.RED, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String stage; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "公开属性") |
| | | @Excel(name = "公开属性", width = 10,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String publicity; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "是否为附件附图") |
| | | @Excel(name = "是否为附件附图", width = 10,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String isAttachment; |
| | | |
| | | /** $column.columnComment */ |
| | |
| | | private String isDiagram; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "保管期限") |
| | | @Excel(name = "保管期限", width = 10,headerColor = IndexedColors.BLACK, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String retentionPeriod; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "密级", readConverterExp = "该页另存=普通,普通=普通,内部用图=内部用图,内部用途=内部用途,秘密=秘密") |
| | | @Excel(name = "密级", width = 10,headerColor = IndexedColors.BLACK,readConverterExp = "该页另存=普通,普通=普通,内部用图=内部用图,内部用途=内部用途,秘密=秘密", headerBackgroundColor = IndexedColors.WHITE) |
| | | private String securityLevel; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "是否涉密及敏感信息") |
| | | @Excel(name = "是否涉密及敏感信息",headerColor = IndexedColors.BLACK, width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String isSensitive; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "是否注销") |
| | | @Excel(name = "是否注销" ,headerColor = IndexedColors.BLACK,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String isCanceled; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "格式") |
| | | @Excel(name = "格式",headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String format; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "幅面") |
| | | @Excel(name = "幅面", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String sizeType; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "水平分辨率") |
| | | @Excel(name = "水平分辨率",headerColor = IndexedColors.RED, width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long horizontalResolution; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "垂直分辨率") |
| | | @Excel(name = "垂直分辨率",headerColor = IndexedColors.RED, width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long verticalResolution; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "宽度") |
| | | @Excel(name = "宽度", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long width; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "高度") |
| | | @Excel(name = "高度", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Long height; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "大小") |
| | | @Excel(name = "大小", headerColor = IndexedColors.RED,width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private Double fileSize; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "附件及历史发文号") |
| | | @Excel(name = "附件及历史发文号",headerColor = IndexedColors.BLACK, width = 10, headerBackgroundColor = IndexedColors.WHITE) |
| | | private String attachmentHistoryNumbers; |
| | | |
| | | /** $column.columnComment */ |
| | | @Excel(name = "备注") |
| | | //@Excel(name = "备注", width = 10) |
| | | private String remarks; |
| | | public String getUrl() { |
| | | return url; |