import java.util.*;
public enum QuotationTabEnumNew {
ALL("0", "全部",new ArrayList<Integer>(Arrays.asList(0,1,2,3,4,5,6,7,8,9,35,36,37,38))),
QUOTATIONTODO("1", "待BJ", null, new String[]{"1"}),
QUOTATIONING("2", "BJ中",new ArrayList<Integer>(Arrays.asList(2, 35, 36))),
PRICEDECISIONING("3", "DB中", new ArrayList<Integer>(Arrays.asList(4,3))),
PRICEDECISIONED("4", "已DB", new ArrayList<Integer>(Arrays.asList(5, 8, 38))),
OUT("6","已TT", new ArrayList<Integer>(Arrays.asList(9, 6, 7))),
END("7", "已ZZ",new ArrayList<Integer>(Arrays.asList(39)));
private String code;
private String name;
private List<Integer> quotationStatusList;
private String[] buyofferStatus;
public static Map<String, QuotationTabEnumNew> code2name = new HashMap<String, QuotationTabEnumNew>();
static {
code2name.put(ALL.getCode(), ALL);
code2name.put(QUOTATIONTODO.getCode(), QUOTATIONTODO);
code2name.put(QUOTATIONING.getCode(), QUOTATIONING);
code2name.put(PRICEDECISIONING.getCode(), PRICEDECISIONING);
code2name.put(PRICEDECISIONED.getCode(), PRICEDECISIONED);
code2name.put(OUT.getCode(), OUT);
}
private QuotationTabEnumNew(String code, String name, List<Integer> quotationStatusList) {
this.code = code;
this.name = name;
this.quotationStatusList = quotationStatusList;
}
private QuotationTabEnumNew(String code, String name, List<Integer> quotationStatusList, String[] buyofferStatus) {
this.code = code;
this.name = name;
this.quotationStatusList = quotationStatusList;
this.buyofferStatus = buyofferStatus;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List<Integer> getQuotationStatusList() {
return quotationStatusList;
}
public void setQuotationStatusList(List<Integer> quotationStatusList) {
this.quotationStatusList = quotationStatusList;
}
public String[] getBuyofferStatus() {
return buyofferStatus;
}
public void setBuyofferStatus(String[] buyofferStatus) {
this.buyofferStatus = buyofferStatus;
}
}