|  |  | 
 |  |  | package com.zy.common.model; | 
 |  |  |  | 
 |  |  | import com.zy.asrs.entity.OrderDetl; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  |     // 物料名称 | 
 |  |  |     private String model; | 
 |  |  |  | 
 |  |  |     // 箱码 | 
 |  |  |     private String containerCode; | 
 |  |  |  | 
 |  |  |     // 条码 | 
 |  |  |     private String batch; | 
 |  |  |  | 
 |  |  | 
 |  |  |     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; | 
 |  |  |         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; | 
 |  |  |     } | 
 |  |  |     public MatDto(String matNo, String maknx, Double count,Double total,String specs,String containerCode,String orderNo) { | 
 |  |  |         this.containerCode = containerCode; | 
 |  |  |         this.specs = specs; | 
 |  |  |         this.matNo = matNo; | 
 |  |  |         this.maknx = maknx; | 
 |  |  |         this.count = count; | 
 |  |  |         this.total = total; | 
 |  |  |         this.orderNo = orderNo; | 
 |  |  |     } | 
 |  |  | } |