package com.ruoyi.stock.execl; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; @Data public class StockInRecordExportData { @Excel(name = "入库批次") private String inboundBatches; @Excel(name = "产品名称") private String productName; @Excel(name = "规格型号") private String model; @Excel(name = "单位") private String unit; @Excel(name = "入库来源") private String recordType; @Excel(name = "入库数量") private String stockInNum; @Excel(name = "入库时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @Excel(isExport = false) private String type; }