forked from sfms3.0/sfms3.0
9 changed files with 183 additions and 89 deletions
@ -0,0 +1,88 @@ |
|||||
|
package com.win.module.wms.controller.itempackaging.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; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 采购索赔申请子 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@Builder |
||||
|
@ToString(callSuper = true) |
||||
|
public class ItempackagingImportErrorVO { |
||||
|
|
||||
|
|
||||
|
@ExcelProperty("物品代码") |
||||
|
private String itemCode; |
||||
|
|
||||
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String uom; |
||||
|
|
||||
|
@ExcelProperty(value = "包装单位", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String stdPackUnit; |
||||
|
|
||||
|
@ExcelProperty("包装数量") |
||||
|
private BigDecimal stdPackQty; |
||||
|
|
||||
|
@ExcelProperty(value = "替代包装单位1", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String altPackUnit1; |
||||
|
|
||||
|
@ExcelProperty("替代包装量1") |
||||
|
private BigDecimal altPackQty1; |
||||
|
|
||||
|
@ExcelProperty(value = "替代包装单位2", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String altPackUnit2; |
||||
|
|
||||
|
@ExcelProperty("替代包装量2") |
||||
|
private BigDecimal altPackQty2; |
||||
|
|
||||
|
@ExcelProperty(value = "替代包装单位3", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String altPackUnit3; |
||||
|
|
||||
|
@ExcelProperty("替代包装量3") |
||||
|
private BigDecimal altPackQty3; |
||||
|
|
||||
|
@ExcelProperty(value = "替代包装单位4", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.UOM) |
||||
|
private String altPackUnit4; |
||||
|
|
||||
|
@ExcelProperty("替代包装量4") |
||||
|
private BigDecimal altPackQty4; |
||||
|
|
||||
|
@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