| | |
| | | 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; |
| | |
| | | @Accessors(chain = true) |
| | | @ToString(callSuper = true) |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class MatnrsTemplate implements IExcelModel, IExcelDataModel, Serializable { |
| | | public class MatnrsTemplate implements Serializable { |
| | | |
| | | @Excel(name = "物料名称") |
| | | @ExcelComment(example = "华为手机") |
| | | private String name; |
| | | |
| | | @Excel(name = "货主编码") |
| | | @ExcelComment(example = "PO12625") |
| | | private String shipperCode; |
| | | @Excel(name = "分类助记码") |
| | | @ExcelComment(example = "256874556") |
| | | private String groupCode; |
| | | |
| | | @Excel(name = "分类名称") |
| | | @ExcelComment(example = "移动设备") |
| | |
| | | private String purUnit; |
| | | |
| | | @Excel(name = "ABC类") |
| | | @ExcelComment(notNull = false, example = "A") |
| | | @ExcelComment(notNull = false, example = "0") |
| | | private String stockLevel; |
| | | |
| | | @Excel(name = "安全库存量") |
| | |
| | | private String barcode; |
| | | |
| | | @Excel(name = "效期预警阈值") |
| | | @ExcelComment(notNull = false, example = "2025-01-25 14:25:36") |
| | | @ExcelComment(notNull = false, example = "90") |
| | | private String validWarn; |
| | | |
| | | @Excel(name = "是否免检") |
| | | @ExcelComment(notNull = false, example = "否") |
| | | @ExcelComment(notNull = false, example = "0") |
| | | private String flagCheck; |
| | | |
| | | 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; |
| | | } |
| | | } |