| | |
| | | package com.zy.common.model; |
| | | |
| | | import com.core.common.Cools; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | |
| | | private String batch; |
| | | |
| | | private String orderNo; |
| | | private String manu; |
| | | |
| | | //实际出库量 |
| | | private Double anfme; |
| | | private int owner; |
| | | private int payment; |
| | | |
| | | //所需出库量 |
| | | private Double needQty; |
| | | |
| | | private boolean lack = false; |
| | | |
| | | private List<Integer> staNos; |
| | | |
| | | private Integer staNo; |
| | | |
| | | public LocDto() { |
| | | } |
| | |
| | | this.anfme = anfme; |
| | | } |
| | | |
| | | public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme) { |
| | | public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme,int owner ,int payment) { |
| | | this.locNo = locNo; |
| | | this.matnr = matnr; |
| | | this.maktx = maktx; |
| | | this.batch = batch; |
| | | this.orderNo = orderNo; |
| | | this.anfme = anfme; |
| | | this.owner = owner; |
| | | this.payment = payment; |
| | | } |
| | | |
| | | public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme, Double needQty) { |
| | | this.locNo = locNo; |
| | | this.matnr = matnr; |
| | | this.maktx = maktx; |
| | | this.batch = batch; |
| | | this.orderNo = orderNo; |
| | | this.anfme = anfme; |
| | | this.needQty = needQty; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return this.matnr + "(" + this.maktx + ")"; |
| | | } |
| | | |
| | | public void setStaNos(List<Integer> staNos) { |
| | | this.staNos = staNos; |
| | | if (!Cools.isEmpty(staNos)) { |
| | | this.staNo = staNos.get(0); |
| | | } |
| | | } |
| | | |
| | | } |