forked from sfms3.0/sfms3.0
5 changed files with 138 additions and 62 deletions
@ -0,0 +1,69 @@ |
|||||
|
package com.win.module.wms.controller.workstation.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 WorkstationImportErrorVO { |
||||
|
@ExcelProperty("代码") |
||||
|
private String code; |
||||
|
|
||||
|
@ExcelProperty("名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ExcelProperty("描述") |
||||
|
private String description; |
||||
|
|
||||
|
@ExcelProperty(value = "类型", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.WORK_STATION_TYPE) |
||||
|
private String type; |
||||
|
|
||||
|
@ExcelProperty("车间代码") |
||||
|
private String workshopCode; |
||||
|
|
||||
|
@ExcelProperty("生产线代码") |
||||
|
private String productionLineCode; |
||||
|
|
||||
|
@ExcelProperty("原料库位") |
||||
|
private String rawLocationCode; |
||||
|
|
||||
|
@ExcelProperty("成品库位") |
||||
|
private String fgLocationCode; |
||||
|
|
||||
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
||||
|
private String available; |
||||
|
|
||||
|
@ExcelProperty("生效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime activeTime; |
||||
|
|
||||
|
@ExcelProperty("失效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime expireTime; |
||||
|
|
||||
|
@ExcelProperty("备注") |
||||
|
private String remark; |
||||
|
|
||||
|
@ExcelProperty("创建时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime createTime; |
||||
|
|
||||
|
@ExcelProperty("创建者ID") |
||||
|
private String creator; |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
} |
Loading…
Reference in new issue