forked from sfms3.0/sfms3.0
6 changed files with 153 additions and 66 deletions
@ -0,0 +1,75 @@ |
|||||
|
package com.win.module.wms.controller.customeritem.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.Builder; |
||||
|
import lombok.Data; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
@Data |
||||
|
@Builder |
||||
|
@ToString(callSuper = true) |
||||
|
public class CustomeritemImportErrorVO { |
||||
|
|
||||
|
@ExcelProperty("客户代码") |
||||
|
private String customerCode; |
||||
|
|
||||
|
@ExcelProperty("物料代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty("客户物料代码") |
||||
|
private String customerItemCode; |
||||
|
|
||||
|
@ExcelProperty(value = "客户计量单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String cusotmerUom; |
||||
|
|
||||
|
@ExcelProperty("转换率") |
||||
|
private String convertRate; |
||||
|
|
||||
|
@ExcelProperty(value = "客户包装单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.PACK_UNIT) |
||||
|
private String packUnit; |
||||
|
|
||||
|
@ExcelProperty("客户包装量") |
||||
|
private BigDecimal packQty; |
||||
|
|
||||
|
@ExcelProperty(value = "客户替代包装单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.PACK_UNIT) |
||||
|
private String altPackUnit; |
||||
|
|
||||
|
@ExcelProperty("客户替代包装量") |
||||
|
private String altPackQty; |
||||
|
|
||||
|
@ExcelProperty("每器具包装数") |
||||
|
private Integer packQtyOfContainer; |
||||
|
|
||||
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
||||
|
private String available; |
||||
|
|
||||
|
@ExcelProperty(value = "生效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime activeTime; |
||||
|
|
||||
|
@ExcelProperty(value = "失效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime expireTime; |
||||
|
|
||||
|
@ExcelProperty(value = "备注") |
||||
|
private String remark; |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue