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
89
90
91
92
package doumeemes.dao.ext.bean;
 
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Data
public class WOutboundRedisCodeBean {
 
    @ApiModelProperty(value = "单据主键")
    private Integer wOutboundId;
 
    @ApiModelProperty(value = "明细行主键信息")
    private Integer wOutboundDetailId;
 
    @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;
 
    //选择的库存记录主键  2023年7月19日10:09:27
    @ApiModelProperty(value = "库存记录主键")
    private Integer stockId;
 
 
    public WoScanMaterialBean toWoScanMaterialBean(){
        WoScanMaterialBean woScanMaterialBean = new WoScanMaterialBean();
        woScanMaterialBean.setWOutboundDetailId(this.getWOutboundDetailId());
        woScanMaterialBean.setMaterialId(this.getMaterialId());
        woScanMaterialBean.setMaterialCode(this.getMaterialCode());
        woScanMaterialBean.setMaterialName(this.getMaterialName());
        woScanMaterialBean.setUnitId(this.getUnitId());
        woScanMaterialBean.setUnitName(this.getUnitName());
        woScanMaterialBean.setBatch(this.getBatch());
        woScanMaterialBean.setLocationId(this.getLocationId());
        woScanMaterialBean.setLocationName(this.getLocationName());
        woScanMaterialBean.setScanNum(this.getNum());
        woScanMaterialBean.setProcedureId(this.getProcedureId());
        woScanMaterialBean.setProcedureName(this.getProcedureName());
        woScanMaterialBean.setQualityType(this.getQualityType());
        return woScanMaterialBean;
    }
 
}