自动化立体仓库 - WCS系统
#
lsh
2023-03-07 204e15023a4443ac2849f732763ee41ee2918f06
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
package com.zy.common.model;
 
import com.zy.asrs.entity.OrderDetl;
import lombok.Data;
 
/**
 * Created by vincent on 2020/8/6
 */
@Data
public class MatDto {
 
    // 物料编号
    private String matnr;
 
    // 物料名称
    private String maknx;
 
    // 库位规格
    private String specs;
 
    // 物料数量
    private Double count;
 
    // 库位数量
    private Double total;
 
    // 物料名称
    private String model;
 
    // 条码
    private String batch;
 
    // 订单编号
    private String orderNo;
 
    public MatDto() {
    }
 
    public MatDto(OrderDetl orderDetl) {
        this.matnr = orderDetl.getMatnr();
        this.model = orderDetl.getModel();
        this.batch = orderDetl.getBatch();
        this.orderNo = orderDetl.getOrderNo();
        this.count = orderDetl.getQty();
        this.total = orderDetl.getAnfme();
    }
    public MatDto(String matNo, String maknx, Double count) {
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
    }
    public MatDto(String matNo, String maknx, Double count,String specs) {
        this.specs = specs;
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
    }
    public MatDto(String matNo, String maknx, Double count,Double total,String specs) {
        this.specs = specs;
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
        this.total = total;
    }
}