pang.jiabao
2025-10-16 29ccba30133dec6ec0516c0782da5fe7d046848d
src/main/java/com/zy/common/model/MatDto.java
@@ -8,21 +8,80 @@
@Data
public class MatDto {
    private String orderNo;
    // 物料编号
    private String matNo;
    private String matnr;
    // 物料名称
    private String maknx;
    private String batch;
    private String specs;
    private String model;
    private Double anfme;
    private String manuDate;
    private double weight;
    private double length;
    private double volume;
    // 客户信息
    private String manu;
    // 备注
    private String memo;
    // 物料数量
    private Double count;
    private Double total;
    public MatDto() {
    }
    public MatDto(String matnr, String maknx, String batch, String specs, String manu, String memo, Double count, Double total) {
        this.matnr = matnr;
        this.maknx = maknx;
        this.batch = batch;
        this.specs = specs;
        this.manu = manu;
        this.memo = memo;
        this.count = count;
        this.total = total;
    }
    public MatDto(String orderNo,String matnr,String maknx, String batch,String specs,String manuDate,String model,Double anfme) {
        this.orderNo = orderNo;
        this.matnr = matnr;
        this.maknx = maknx;
        this.batch = batch;
        this.specs = specs;
        this.manuDate = manuDate;
        this.model = model;
        this.anfme = anfme;
    }
    public MatDto(String matNo, String maknx, Double count) {
        this.matNo = matNo;
        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;
    }
}