package com.ruoyi.domain.vo; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import lombok.Data; import java.util.Date; @Data public class DocumentMaterialsVoSmall { @Excel(name="序号") private Long num; @Excel(name = "文件编号") private String documentNumber; @Excel(name = "编任者") private String creator; @Excel(name = "文件题名") private String title; @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd") private Date date; @Excel(name = "页号") private Long pageNumber; @Excel(name = "备注") 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(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; }