5 changed files with 122 additions and 57 deletions
@ -0,0 +1,53 @@ |
|||
package com.win.module.wms.controller.saleprice.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 SalepriceImportErrorVO { |
|||
|
|||
@ExcelProperty("客户代码") |
|||
private String customerCode; |
|||
|
|||
@ExcelProperty("物料代码") |
|||
private String itemCode; |
|||
|
|||
@ExcelProperty(value = "货币", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.CURRENCY) |
|||
private String currency; |
|||
|
|||
@ExcelProperty("价格") |
|||
private BigDecimal price; |
|||
|
|||
@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("备注") |
|||
private String remark; |
|||
|
|||
@ExcelProperty(value = "导入状态", index = 0) |
|||
private String importStatus; |
|||
|
|||
@ExcelProperty(value = "导入说明", index = 1) |
|||
private String importRemark; |
|||
} |
Loading…
Reference in new issue