package com.zy.common.utils.excel.matcode; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.ColumnWidth; /** * Created by vincent on 2020/6/6 */ public class MatCodeExcel { /** * 物料编码 */ @ColumnWidth(24) @ExcelProperty(value = "物料编码", index = 0) private String matNo; /** * 条码 */ @ColumnWidth(12) @ExcelProperty(value = "条码", index = 1) private String barcode; /** * 物料名称 */ @ColumnWidth(36) @ExcelProperty(value = "物料名称", index = 2) private String matName; /** * 物料单位 */ @ColumnWidth(10) @ExcelProperty(value = "物料单位", index = 3) private String str1; public String getMatNo() { return matNo; } public void setMatNo(String matNo) { this.matNo = matNo; } public String getBarcode() { return barcode; } public void setBarcode(String barcode) { this.barcode = barcode; } public String getMatName() { return matName; } public void setMatName(String matName) { this.matName = matName; } public String getStr1() { return str1; } public void setStr1(String str1) { this.str1 = str1; } }