package com.qianwen.smartman.modules.coproduction.dto;
|
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
import com.qianwen.smartman.modules.cps.entity.BomVersion;
|
import com.qianwen.smartman.modules.cps.entity.CraftRouting;
|
import com.qianwen.smartman.modules.cps.entity.Product;
|
import com.qianwen.smartman.modules.system.entity.CustomTemplate;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/PlanImportCheckMapDTO.class */
|
public class PlanImportCheckMapDTO {
|
Map<String, CraftRouting> craftMap = new HashMap();
|
Map<Long, Map<String, Long>> craftVersionMap = new HashMap();
|
Map<String, BomVersion> bomVersionMap = new HashMap();
|
Map<String, Product> productMap = new HashMap();
|
Map<String, CustomTemplate> planTypeMap = new HashMap();
|
Map<Long, List<Long>> planTypeProductMap = new HashMap();
|
|
public void setCraftMap(final Map<String, CraftRouting> craftMap) {
|
this.craftMap = craftMap;
|
}
|
|
public void setCraftVersionMap(final Map<Long, Map<String, Long>> craftVersionMap) {
|
this.craftVersionMap = craftVersionMap;
|
}
|
|
public void setBomVersionMap(final Map<String, BomVersion> bomVersionMap) {
|
this.bomVersionMap = bomVersionMap;
|
}
|
|
public void setProductMap(final Map<String, Product> productMap) {
|
this.productMap = productMap;
|
}
|
|
public void setPlanTypeMap(final Map<String, CustomTemplate> planTypeMap) {
|
this.planTypeMap = planTypeMap;
|
}
|
|
public void setPlanTypeProductMap(final Map<Long, List<Long>> planTypeProductMap) {
|
this.planTypeProductMap = planTypeProductMap;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof PlanImportCheckMapDTO) {
|
PlanImportCheckMapDTO other = (PlanImportCheckMapDTO) o;
|
if (other.canEqual(this)) {
|
Object this$craftMap = getCraftMap();
|
Object other$craftMap = other.getCraftMap();
|
if (this$craftMap == null) {
|
if (other$craftMap != null) {
|
return false;
|
}
|
} else if (!this$craftMap.equals(other$craftMap)) {
|
return false;
|
}
|
Object this$craftVersionMap = getCraftVersionMap();
|
Object other$craftVersionMap = other.getCraftVersionMap();
|
if (this$craftVersionMap == null) {
|
if (other$craftVersionMap != null) {
|
return false;
|
}
|
} else if (!this$craftVersionMap.equals(other$craftVersionMap)) {
|
return false;
|
}
|
Object this$bomVersionMap = getBomVersionMap();
|
Object other$bomVersionMap = other.getBomVersionMap();
|
if (this$bomVersionMap == null) {
|
if (other$bomVersionMap != null) {
|
return false;
|
}
|
} else if (!this$bomVersionMap.equals(other$bomVersionMap)) {
|
return false;
|
}
|
Object this$productMap = getProductMap();
|
Object other$productMap = other.getProductMap();
|
if (this$productMap == null) {
|
if (other$productMap != null) {
|
return false;
|
}
|
} else if (!this$productMap.equals(other$productMap)) {
|
return false;
|
}
|
Object this$planTypeMap = getPlanTypeMap();
|
Object other$planTypeMap = other.getPlanTypeMap();
|
if (this$planTypeMap == null) {
|
if (other$planTypeMap != null) {
|
return false;
|
}
|
} else if (!this$planTypeMap.equals(other$planTypeMap)) {
|
return false;
|
}
|
Object this$planTypeProductMap = getPlanTypeProductMap();
|
Object other$planTypeProductMap = other.getPlanTypeProductMap();
|
return this$planTypeProductMap == null ? other$planTypeProductMap == null : this$planTypeProductMap.equals(other$planTypeProductMap);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof PlanImportCheckMapDTO;
|
}
|
|
public int hashCode() {
|
Object $craftMap = getCraftMap();
|
int result = (1 * 59) + ($craftMap == null ? 43 : $craftMap.hashCode());
|
Object $craftVersionMap = getCraftVersionMap();
|
int result2 = (result * 59) + ($craftVersionMap == null ? 43 : $craftVersionMap.hashCode());
|
Object $bomVersionMap = getBomVersionMap();
|
int result3 = (result2 * 59) + ($bomVersionMap == null ? 43 : $bomVersionMap.hashCode());
|
Object $productMap = getProductMap();
|
int result4 = (result3 * 59) + ($productMap == null ? 43 : $productMap.hashCode());
|
Object $planTypeMap = getPlanTypeMap();
|
int result5 = (result4 * 59) + ($planTypeMap == null ? 43 : $planTypeMap.hashCode());
|
Object $planTypeProductMap = getPlanTypeProductMap();
|
return (result5 * 59) + ($planTypeProductMap == null ? 43 : $planTypeProductMap.hashCode());
|
}
|
|
public String toString() {
|
return "PlanImportCheckMapDTO(craftMap=" + getCraftMap() + ", craftVersionMap=" + getCraftVersionMap() + ", bomVersionMap=" + getBomVersionMap() + ", productMap=" + getProductMap() + ", planTypeMap=" + getPlanTypeMap() + ", planTypeProductMap=" + getPlanTypeProductMap() + ")";
|
}
|
|
public Map<String, CraftRouting> getCraftMap() {
|
return this.craftMap;
|
}
|
|
public Map<Long, Map<String, Long>> getCraftVersionMap() {
|
return this.craftVersionMap;
|
}
|
|
public Map<String, BomVersion> getBomVersionMap() {
|
return this.bomVersionMap;
|
}
|
|
public Map<String, Product> getProductMap() {
|
return this.productMap;
|
}
|
|
public Map<String, CustomTemplate> getPlanTypeMap() {
|
return this.planTypeMap;
|
}
|
|
public Map<Long, List<Long>> getPlanTypeProductMap() {
|
return this.planTypeProductMap;
|
}
|
}
|