2024-08-07 00:27:10 +08:00

83 lines
1.9 KiB
Java

package com.yuyu.srdisassemble.pojo;
import java.util.HashMap;
import java.util.List;
/**
* @author 峰。
* @version 1.0
* @project SrDisassemble
* @date 2024/6/19 21:49:48
* @description 可分解的物品
*/
public class CanDisItem {
private String itemName;
private int disTime;
private String target;
private String targetIndex;
private HashMap<String,DisProduct> disProductHashMap;
private int coutWeight;
public void setTarget(String target) {
this.target = target;
}
public void setTargetIndex(String targetIndex) {
this.targetIndex = targetIndex;
}
public String getTarget() {
return target;
}
public String getTargetIndex() {
return targetIndex;
}
public String getItemName() {
return itemName;
}
public int getDisTime() {
return disTime;
}
public HashMap<String, DisProduct> getDisProductHashMap() {
return disProductHashMap;
}
public void setItemName(String itemName) {
this.itemName = itemName;
}
public void setDisTime(int disTime) {
this.disTime = disTime;
}
public void setDisProductHashMap(HashMap<String, DisProduct> disProductHashMap) {
this.disProductHashMap = disProductHashMap;
}
public CanDisItem(String itemName, int disTime,String target,String targetIndex) {
this.itemName = itemName;
this.disTime = disTime;
this.target = target;
this.targetIndex = targetIndex;
}
public CanDisItem(String itemName, int disTime, HashMap<String, DisProduct> disProductHashMap,int coutWeight) {
this.itemName = itemName;
this.disTime = disTime;
this.disProductHashMap = disProductHashMap;
this.coutWeight = coutWeight;
}
public int getCoutWeight() {
return coutWeight;
}
public void setCoutWeight(int coutWeight) {
this.coutWeight = coutWeight;
}
}