AvailableInventoryBean.java
934 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.myproject.bean.qisda;
import com.myproject.util.StringHelper;
/**
* Created by sunke on 2019/12/3.
*/
public class AvailableInventoryBean {
private String facility;
private String partNum;
private String company;
private int qty;
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
public String getFacility() {
return facility;
}
public void setFacility(String facility) {
this.facility = facility;
}
public String getPartNum() {
return partNum;
}
public void setPartNum(String partNum) {
this.partNum = partNum;
}
public int getQty() {
return qty;
}
public void setQty(int qty) {
this.qty = qty;
}
public String toMapKey(){
return StringHelper.toMapKey(partNum,facility,company);
}
}