package com.ruoyi.domain.vo; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import lombok.Data; import org.apache.poi.ss.usermodel.IndexedColors; import java.util.Date; @Data public class DocumentMaterialsVoSmall { @Excel(name="序号",width = 5, headerFontSize=12, headerColor = IndexedColors.BLACK, headerFontBold = true) private Long num; @Excel(name = "文件编号",width = 10, headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true) private String documentNumber; @Excel(name = "责任者",width = 10, headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true) private String creator; @Excel(name = "文件题名",width = 30, headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true) private String title; @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "日期", width = 10, headerFontSize=12,dateFormat = "yyyy-MM-dd", headerColor = IndexedColors.BLACK, headerFontBold = true) private Date date; @Excel(name = "页号",width = 10, headerFontSize=12, headerColor = IndexedColors.BLACK, headerFontBold = true) private Long pageNumber; @Excel(name = "备注",width = 8, headerFontSize=12,headerColor = IndexedColors.BLACK, headerFontBold = true) private String remarks; public DocumentMaterialsVoSmall(Long num, String documentNumber, String creator, String title, Date date, Long pageNumber, String remarks) { this.num = num; this.documentNumber = documentNumber; this.creator = creator; this.title = title; this.date = date; this.pageNumber = pageNumber; this.remarks = remarks; } public DocumentMaterialsVoSmall() { } // public DocumentMaterialsVoSmall(Long num, String documentNumber, String creator, String title, Date date, Long pageNumber, String remarks) { // this.num = num; // this.documentNumber = documentNumber; // this.creator = creator; // // } // @Excel(name = "档号") // private String recordId; // @Excel(name = "公开属性") // private String publicity; // @Excel(name = "图片", cellType = Excel.ColumnType.IMAGE) // private String url; }