| | |
| | | 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 io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.ToString; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | import java.io.Serializable; |
| | |
| | | @Data |
| | | @ExcelAutoColumnSize |
| | | @Accessors(chain = true) |
| | | //@ToString(callSuper = true) |
| | | //@EqualsAndHashCode(callSuper = false) |
| | | public class AsnOrderTemplate implements IExcelModel, IExcelDataModel, Serializable { |
| | | public class AsnOrderTemplate { |
| | | |
| | | /** |
| | | * 编号 |
| | | */ |
| | | @Excel(name = "编号") |
| | | @ApiModelProperty(value= "编号") |
| | | @ExcelComment(value = "code", example = "ASN5945272236") |
| | | private String code; |
| | | |
| | | /** |
| | | * PO单号 |
| | | */ |
| | | @Excel(name = "PO单号") |
| | | @ApiModelProperty(value= "PO单号") |
| | | @ExcelComment(value = "poCode", example = "PO59755695") |
| | | private String poCode; |
| | | |
| | | /** |
| | | * PO单据标识 |
| | | */ |
| | | @Excel(name = "PO单据标识") |
| | | @ApiModelProperty(value= "PO单据标识") |
| | | @ExcelComment(value = "poId", example = "123456698") |
| | | private String poId; |
| | | |
| | | /** |
| | | * 单据类型 |
| | | */ |
| | | @Excel(name = "单据类型") |
| | | @ApiModelProperty(value= "单据类型") |
| | | @ExcelComment(value = "type", example = "入库单") |
| | | private String type; |
| | | |
| | | /** |
| | | * 业务类型 |
| | | */ |
| | | @Excel(name = "业务类型") |
| | | @ApiModelProperty(value= "业务类型") |
| | | @ExcelComment(value = "wkType", example = "生产入库") |
| | | private String wkType; |
| | | |
| | | |
| | | @Excel(name = "执行状态") |
| | | @ApiModelProperty(value= "执行状态") |
| | | @ExcelComment(value = "exceStatus", example = "1") |
| | | private String exceStatus; |
| | | |
| | | @Excel(name = "行号") |
| | | @ApiModelProperty("行号") |
| | | @ExcelComment(value = "platItemId", example = "1357564255478") |
| | | private String platItemId; |
| | | |
| | | @Excel(name = "物料名称") |
| | | @ExcelComment(value = "matnk",example = "物料名称") |
| | | private String matnk; |
| | | @ApiModelProperty("物料名称") |
| | | @ExcelComment(value = "maktx",example = "物料名称") |
| | | private String maktx; |
| | | |
| | | @Excel(name = "物料编码") |
| | | @ApiModelProperty("物料编码") |
| | | @ExcelComment(value = "matnrCode",example = "物料编码") |
| | | private String matnrCode; |
| | | |
| | | @Excel(name = "数量") |
| | | @ApiModelProperty("数量") |
| | | @ExcelComment(value = "anfme",example = "25") |
| | | private Double anfme; |
| | | private String anfme; |
| | | |
| | | @Excel(name = "库存单位") |
| | | @ApiModelProperty("库存单位") |
| | | @ExcelComment(value = "stockUnit",example = "个") |
| | | private String stockUnit; |
| | | |
| | | @Excel(name = "采购数量") |
| | | @ApiModelProperty("采购数量") |
| | | @ExcelComment(value = "purQty",example = "25") |
| | | private Double purQty; |
| | | private String purQty; |
| | | |
| | | @Excel(name = "采购单位") |
| | | @ApiModelProperty("采购单位") |
| | | @ExcelComment(value = "purUnit",example = "个") |
| | | private String purUnit; |
| | | |
| | | @Excel(name = "已完成数量") |
| | | @ApiModelProperty("已完成数量") |
| | | @ExcelComment(value = "qty",example = "25") |
| | | private Double qty; |
| | | private String qty; |
| | | |
| | | @Excel(name = "供应商编码") |
| | | @ApiModelProperty("供应商编码") |
| | | @ExcelComment(value = "splrCode",example = "3654821") |
| | | private String splrCode; |
| | | |
| | | @Excel(name = "供应商名称") |
| | | @ApiModelProperty("供应商名称") |
| | | @ExcelComment(value = "splrName",example = "浙江中扬技术公司") |
| | | private String splrName; |
| | | |
| | | @Excel(name = "供应商批次") |
| | | @ApiModelProperty("供应商批次") |
| | | @ExcelComment(value = "splrBatch",example = "25251212") |
| | | private String splrBatch; |
| | | |
| | | @Excel(name = "二维码") |
| | | @ApiModelProperty("二维码") |
| | | @ExcelComment(value = "qrcode",example = "") |
| | | private String qrcode; |
| | | |
| | | @Excel(name = "条形码") |
| | | @ApiModelProperty("条形码") |
| | | @ExcelComment(value = "barcode",example = "2354788") |
| | | private String barcode; |
| | | |
| | | @Excel(name = "跟踪码") |
| | | @ApiModelProperty("跟踪码") |
| | | @ExcelComment(value = "trackCode",example = "2354788") |
| | | private String trackCode; |
| | | |
| | | @Excel(name = "包装名称") |
| | | @ApiModelProperty("包装名称") |
| | | @ExcelComment(value = "packName",example = "箱") |
| | | private String packName; |
| | | |
| | | @Excel(name = "备注") |
| | | @ApiModelProperty("备注") |
| | | @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; |
| | | } |
| | | } |