| | |
| | | package com.zy.common.model; |
| | | |
| | | import com.core.common.Cools; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | private List<Integer> staNos; |
| | | |
| | | private List<String> agvStaNos; |
| | | |
| | | private Integer staNo; |
| | | |
| | | private String agvStaNo; |
| | | |
| | | private String specs; |
| | | |
| | | //销售订单号 |
| | | private String csocode; |
| | | |
| | | //销售订单行号 |
| | | private String isoseq; |
| | | |
| | | //货架码 |
| | | private String containerCode; |
| | | |
| | | // 工序状态 1:待加工,2:已加工,3:无需加工 |
| | | private Integer processSts; |
| | | |
| | | public LocDto() { |
| | | } |
| | | |
| | | public LocDto(String locNo, Double anfme, String matnr, String batch, String csocode, String isoseq, String containerCode) { |
| | | this.locNo = locNo; |
| | | this.anfme = anfme; |
| | | this.matnr = matnr; |
| | | this.batch = batch; |
| | | this.csocode = csocode; |
| | | this.isoseq = isoseq; |
| | | this.containerCode = containerCode; |
| | | } |
| | | |
| | | public LocDto(String locNo, Double anfme, String matnr, String batch, String csocode, String isoseq, String containerCode,Integer processSts) { |
| | | this.locNo = locNo; |
| | | this.anfme = anfme; |
| | | this.matnr = matnr; |
| | | this.batch = batch; |
| | | this.csocode = csocode; |
| | | this.isoseq = isoseq; |
| | | this.containerCode = containerCode; |
| | | this.processSts = processSts; |
| | | } |
| | | |
| | | public LocDto(String locNo, String matnr, String batch, Double anfme) { |
| | |
| | | this.anfme = anfme; |
| | | } |
| | | |
| | | |
| | | public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme,Integer processSts) { |
| | | this.locNo = locNo; |
| | | this.matnr = matnr; |
| | | this.maktx = maktx; |
| | | this.batch = batch; |
| | | this.orderNo = orderNo; |
| | | this.anfme = anfme; |
| | | this.processSts = processSts; |
| | | } |
| | | |
| | | 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); |
| | | } |
| | | } |
| | | |
| | | public void setAgvStaNos(List<String> agvStaNos){ |
| | | this.agvStaNos = agvStaNos; |
| | | if(!Cools.isEmpty(agvStaNos)){ |
| | | this.agvStaNo = agvStaNos.get(0); |
| | | } |
| | | } |
| | | |
| | | } |