| | |
| | | package com.zy.common.model; |
| | | |
| | | import com.zy.asrs.entity.WrkDetl; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | @Data |
| | | public class MatDto { |
| | | |
| | | // 物料编号 |
| | | // 物料编号 规格 |
| | | private String matNo; |
| | | |
| | | // 物料名称 |
| | | // 物料名称 规格 |
| | | private String maknx; |
| | | |
| | | //规格 |
| | | private String specs; |
| | | |
| | | //箱号 |
| | | private String batch; |
| | | |
| | | //批次 |
| | | private String model; |
| | | |
| | | // 物料数量 |
| | | private Double count; |
| | |
| | | this.maknx = maknx; |
| | | this.count = count; |
| | | } |
| | | |
| | | public MatDto(String matNo, String maknx, String specs, Double count) { |
| | | this.matNo = matNo; |
| | | this.maknx = maknx; |
| | | this.count = count; |
| | | } |
| | | public MatDto(WrkDetl wrkDetl) { |
| | | this.matNo = wrkDetl.getMatnr(); |
| | | this.maknx = wrkDetl.getMaktx(); |
| | | this.specs = wrkDetl.getMatnr(); |
| | | this.batch = wrkDetl.getBatch(); |
| | | this.count = wrkDetl.getAnfme(); |
| | | } |
| | | } |