package com.vincent.rsf.server.manager.entity.excel; import cn.afterturn.easypoi.excel.annotation.Excel; import cn.afterturn.easypoi.handler.inter.IExcelDataModel; import cn.afterturn.easypoi.handler.inter.IExcelModel; import com.vincent.rsf.server.manager.entity.excel.annotation.ExcelAutoColumnSize; import com.vincent.rsf.server.manager.entity.excel.annotation.ExcelComment; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; import java.io.Serializable; /** * @author Ryan * @version 1.0 * @title AsnOrderTemplate * @description * @create 2025/3/12 13:49 */ @Data @ExcelAutoColumnSize @Accessors(chain = true) //@ToString(callSuper = true) //@EqualsAndHashCode(callSuper = false) public class AsnOrderTemplate implements IExcelModel, IExcelDataModel, Serializable { @Excel(name = "行号") @ExcelComment(value = "platItemId", example = "1357564255478") private String platItemId; @Excel(name = "物料名称") @ExcelComment(value = "matnk",example = "物料名称") private String matnk; @Excel(name = "数量") @ExcelComment(value = "anfme",example = "25") private Double anfme; @Excel(name = "库存单位") @ExcelComment(value = "stockUnit",example = "个") private String stockUnit; @Excel(name = "采购数量") @ExcelComment(value = "purQty",example = "25") private Double purQty; @Excel(name = "采购单位") @ExcelComment(value = "purUnit",example = "个") private String purUnit; @Excel(name = "已完成数量") @ExcelComment(value = "qty",example = "25") private Double qty; @Excel(name = "供应商编码") @ExcelComment(value = "splrCode",example = "3654821") private String splrCode; @Excel(name = "供应商名称") @ExcelComment(value = "splrName",example = "浙江中扬技术公司") private String splrName; @Excel(name = "供应商批次") @ExcelComment(value = "splrBatch",example = "25251212") private String splrBatch; @Excel(name = "二维码") @ExcelComment(value = "qrcode",example = "") private String qrcode; @Excel(name = "条形码") @ExcelComment(value = "barcode",example = "2354788") private String barcode; @Excel(name = "包装名称") @ExcelComment(value = "packName",example = "箱") private String packName; @Excel(name = "备注") @ExcelComment(value = "memo",example = "注:易碎品,轻拿放") private String memo; private Integer rowNum; private String errorMsg; @Override public Integer getRowNum() { return this.rowNum; } @Override public void setRowNum(Integer rowNum) { this.rowNum = rowNum; } @Override public String getErrorMsg() { return this.errorMsg; } @Override public void setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; } }