package com.zy.common.model;
|
|
import com.core.common.Cools;
|
import lombok.Data;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* Created by vincent on 2022/3/28
|
*/
|
@Data
|
public class LocDto {
|
|
private String locNo;
|
|
private String matnr;
|
|
private String maktx;
|
|
private String batch;
|
|
private String brand = "";
|
|
private String standby1 = "";
|
|
private String standby2 = "";
|
|
private String standby3 = "";
|
|
private String boxType1 = "1";
|
|
private String boxType2 = "1";
|
|
private String boxType3 = "1";
|
|
private String orderNo;
|
|
private Double anfme;
|
|
/**
|
* 是否冻结 0.未冻结 1.已冻结
|
*/
|
private Integer frozen = 1;
|
|
private Integer frozenLoc = 1;
|
|
private boolean lack = false;
|
|
private List<Integer> staNos;
|
|
private Integer staNo;
|
|
private String staName;
|
|
public LocDto() {
|
}
|
|
public LocDto(String locNo, String matnr, String batch, Double anfme) {
|
this.locNo = locNo;
|
this.matnr = matnr;
|
this.batch = batch;
|
this.anfme = anfme;
|
}
|
|
public LocDto(String locNo, String matnr, String batch, String orderNo, Double anfme) {
|
this.locNo = locNo;
|
this.matnr = matnr;
|
this.batch = batch;
|
this.orderNo = orderNo;
|
this.anfme = anfme;
|
}
|
|
public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme) {
|
this.locNo = locNo;
|
this.matnr = matnr;
|
this.maktx = maktx;
|
this.batch = batch;
|
this.orderNo = orderNo;
|
this.anfme = anfme;
|
}
|
@Data
|
public static class staListDto{
|
private Integer staNo;
|
private String staName;
|
}
|
|
public String getTitle() {
|
return this.matnr + "(" + this.maktx + ")";
|
}
|
|
// public void setStaNos(List<staListDto> staNos) {
|
// this.staNos = staNos;
|
// if (!Cools.isEmpty(staNos)) {
|
// this.staNo = staNos.get(0).getStaNo();
|
// this.staName = staNos.get(0).getStaName();
|
// }
|
// }
|
|
}
|