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 StockOutRecordExportData { @Excel(name = "出库批次") private String outboundBatches; @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; }