From b22c23a45e866c10a97ce55306d9f17e406e6a74 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 20 十一月 2023 10:21:02 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java
index e8e488b..7eb3532 100644
--- a/src/main/java/com/zy/common/model/MatDto.java
+++ b/src/main/java/com/zy/common/model/MatDto.java
@@ -1,5 +1,6 @@
 package com.zy.common.model;
 
+import com.zy.asrs.entity.OrderDetl;
 import lombok.Data;
 
 /**
@@ -11,7 +12,65 @@
     // 鐗╂枡缂栧彿
     private String matNo;
 
+    // 鐗╂枡鍚嶇О
+    private String maknx;
+
+    // 搴撲綅瑙勬牸
+    private String specs;
+
     // 鐗╂枡鏁伴噺
     private Double count;
 
+    // 搴撲綅鏁伴噺
+    private Double total;
+
+    // 鐗╂枡鍚嶇О
+    private String model;
+
+    // 绠辩爜
+    private String containerCode;
+
+    // 鏉$爜
+    private String batch;
+
+    // 璁㈠崟缂栧彿
+    private String orderNo;
+
+    public MatDto() {
+    }
+
+    public MatDto(OrderDetl orderDetl) {
+        this.matNo = 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.matNo = matNo;
+        this.maknx = maknx;
+        this.count = count;
+    }
+    public MatDto(String matNo, String maknx, Double count,String specs) {
+        this.specs = specs;
+        this.matNo = matNo;
+        this.maknx = maknx;
+        this.count = count;
+    }
+    public MatDto(String matNo, String maknx, Double count,Double total,String specs) {
+        this.specs = specs;
+        this.matNo = matNo;
+        this.maknx = maknx;
+        this.count = count;
+        this.total = total;
+    }
+    public MatDto(String matNo, String maknx, Double count,Double total,String specs,String containerCode) {
+        this.containerCode = containerCode;
+        this.specs = specs;
+        this.matNo = matNo;
+        this.maknx = maknx;
+        this.count = count;
+        this.total = total;
+    }
 }

--
Gitblit v1.9.1