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 materialCode; @Excel(name = "单位") private String unit; @Excel(name = "成品类别") private String processCategory; @Excel(name = "电压") private String voltage; @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; }