From 42bb5e28a6d5bca11cb518da4a423ec95c69f5be Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期六, 12 十月 2024 16:55:50 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/model/MatDto.java |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 57 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java
index e5b625b..19429ab 100644
--- a/src/main/java/com/zy/common/model/MatDto.java
+++ b/src/main/java/com/zy/common/model/MatDto.java
@@ -9,20 +9,75 @@
 public class MatDto {
 
     // 鐗╂枡缂栧彿
-    private String matNo;
+    private String matnr;
 
     // 鐗╂枡鍚嶇О
     private String maknx;
 
+    private String batch;
+
+    private String specs;
+
+    private String model;
+
+    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 matnr,String batch,String specs,String manuDate,String model,double weight, double length,double volume) {
+        this.matnr = matnr;
+        this.batch = batch;
+        this.specs = specs;
+        this.manuDate = manuDate;
+        this.model = model;
+        this.weight = weight;
+        this.length = length;
+        this.volume = volume;
     }
 
     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;
+    }
 }

--
Gitblit v1.9.1