jiangping
2023-08-17 6365ab0a976afdd247742c9b3dca15deb3a7a7a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package doumeemes.dao.ext.bean;
 
import doumeemes.dao.business.model.WTransfer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Data
public class WTransferRedisCodeBean {
 
    @ApiModelProperty(value = "转库单主键")
    private Integer wTransferId;
 
    @ApiModelProperty(value = "转库单明细行主键信息")
    private Integer wTransferDetailId;
 
    @ApiModelProperty(value = "扫描条码主键")
    private Integer appliancesId;
 
    @ApiModelProperty(value = "扫描条码")
    private String scanCode;
 
    @ApiModelProperty(value = "物料主键")
    private Integer materialId;
 
    @ApiModelProperty(value = "物料编码")
    private String materialCode;
 
    @ApiModelProperty(value = "物料名称")
    private String materialName;
 
    @ApiModelProperty(value = "规格主键")
    private Integer unitId;
 
    @ApiModelProperty(value = "规格名称")
    private String unitName;
 
    @ApiModelProperty(value = "仓库编码")
    private Integer warehouseId;
 
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
 
    @ApiModelProperty(value = "库位编码")
    private Integer locationId;
 
    @ApiModelProperty(value = "库位名称")
    private String locationName;
 
    @ApiModelProperty(value = "批次")
    private String batch;
 
    @ApiModelProperty(value = "数量")
    private BigDecimal num;
 
    @ApiModelProperty(value = "属性")
    private String type;
 
 
    @ApiModelProperty(value = "工序编码")
    private Integer procedureId;
 
    @ApiModelProperty(value = "工序名称")
    private String procedureName;
 
    @ApiModelProperty(value = "产品质量属性 0合格 1不良 2报废")
    private Integer qualityType;
 
    public WtScanMaterialBean toWtScanMaterialBean(){
        WtScanMaterialBean wtScanMaterialBean = new WtScanMaterialBean();
        wtScanMaterialBean.setWTransferDetailId(this.getWTransferDetailId());
        wtScanMaterialBean.setMaterialId(this.getMaterialId());
        wtScanMaterialBean.setMaterialCode(this.getMaterialCode());
        wtScanMaterialBean.setMaterialName(this.getMaterialName());
        wtScanMaterialBean.setUnitId(this.getUnitId());
        wtScanMaterialBean.setUnitName(this.getUnitName());
        wtScanMaterialBean.setBatch(this.getBatch());
        wtScanMaterialBean.setLocationId(this.getLocationId());
        wtScanMaterialBean.setLocationName(this.getLocationName());
        wtScanMaterialBean.setScanNum(this.getNum());
        wtScanMaterialBean.setQualityType(this.getQualityType());
        wtScanMaterialBean.setProcedureId(this.getProcedureId());
        wtScanMaterialBean.setProcedureName(this.getProcedureName());
        return wtScanMaterialBean;
    }
 
}