自动化立体仓库 - WCS系统
#
lsh
2024-01-28 b17071a2983415b7a93f8847b6bb496961d40d62
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
package com.zy.common.model;
 
import com.zy.asrs.entity.WrkDetl;
import lombok.Data;
 
/**
 * Created by vincent on 2020/8/6
 */
@Data
public class MatDto {
 
    // 物料编号  规格
    private String matNo;
    private String matnr;
 
    // 物料名称  规格
    private String maknx;
 
    //规格
    private String specs;
 
    //箱号
    private String batch;
 
    //批次
    private String model;
 
    //卷号
//    private String juanNo;
    private String price;
    private String orderNo;
 
    // 物料数量
    private Double count;
    private Double weight;
    private Double volume;
 
    public MatDto() {
    }
 
    public MatDto(String matNo, String maknx, Double count) {
        this.matNo = matNo;
        this.maknx = maknx;
        this.count = count;
    }
 
    public MatDto(String matNo, String maknx, String specs, Double count) {
        this.matNo = matNo;
        this.maknx = maknx;
        this.count = count;
        this.specs = specs;
    }
    public MatDto(WrkDetl wrkDetl) {
        this.matNo = wrkDetl.getMatnr();
        this.matnr = wrkDetl.getMatnr();
        this.maknx = wrkDetl.getMaktx();
        this.specs = wrkDetl.getSpecs();
        this.batch = wrkDetl.getBatch();
        this.model = wrkDetl.getModel();
        this.price = wrkDetl.getPrice().toString();
//        this.juanNo = wrkDetl.getSku();
        this.count = wrkDetl.getAnfme();
        this.weight = wrkDetl.getWeight();
        this.volume = wrkDetl.getVolume();
        this.orderNo = wrkDetl.getOrderNo();
    }
}