package com.zy.common.entity; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; import lombok.Data; @Data @ExcelIgnoreUnannotated public class MatExcel { @ExcelProperty(index = 0, value = "一级分类") private String priClass; @ExcelProperty(index = 1, value = "二级分类") private String secClass; @ExcelProperty(index = 2, value = "商品编码") private String matnr; @ExcelProperty(index = 3, value = "商品名称") private String maktx; @ExcelProperty(index = 4, value = "归零阀值") private Double safeQty; @ExcelProperty(index = 5, value = "每公斤长度") private Double volume; @ExcelProperty(index = 6, value = "库存预警数量上限") private Double storeMax; @ExcelProperty(index = 7, value = "库存预警数量下限") private Double storeMin; }