package com.qianwen.smartman.modules.cps.dto;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/CodeMapDTO.class */
|
public class CodeMapDTO {
|
private Map<String, String> shortCodeMap;
|
private Map<String, String> pinCodeMap;
|
private List<String> workstationCodeList;
|
private List<String> machineCodeList;
|
private Map<String, String> importShortCodeMap;
|
private Map<String, String> importPinCodeMap;
|
|
public void setShortCodeMap(final Map<String, String> shortCodeMap) {
|
this.shortCodeMap = shortCodeMap;
|
}
|
|
public void setPinCodeMap(final Map<String, String> pinCodeMap) {
|
this.pinCodeMap = pinCodeMap;
|
}
|
|
public void setWorkstationCodeList(final List<String> workstationCodeList) {
|
this.workstationCodeList = workstationCodeList;
|
}
|
|
public void setMachineCodeList(final List<String> machineCodeList) {
|
this.machineCodeList = machineCodeList;
|
}
|
|
public void setImportShortCodeMap(final Map<String, String> importShortCodeMap) {
|
this.importShortCodeMap = importShortCodeMap;
|
}
|
|
public void setImportPinCodeMap(final Map<String, String> importPinCodeMap) {
|
this.importPinCodeMap = importPinCodeMap;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CodeMapDTO) {
|
CodeMapDTO other = (CodeMapDTO) o;
|
if (other.canEqual(this)) {
|
Object this$shortCodeMap = getShortCodeMap();
|
Object other$shortCodeMap = other.getShortCodeMap();
|
if (this$shortCodeMap == null) {
|
if (other$shortCodeMap != null) {
|
return false;
|
}
|
} else if (!this$shortCodeMap.equals(other$shortCodeMap)) {
|
return false;
|
}
|
Object this$pinCodeMap = getPinCodeMap();
|
Object other$pinCodeMap = other.getPinCodeMap();
|
if (this$pinCodeMap == null) {
|
if (other$pinCodeMap != null) {
|
return false;
|
}
|
} else if (!this$pinCodeMap.equals(other$pinCodeMap)) {
|
return false;
|
}
|
Object this$workstationCodeList = getWorkstationCodeList();
|
Object other$workstationCodeList = other.getWorkstationCodeList();
|
if (this$workstationCodeList == null) {
|
if (other$workstationCodeList != null) {
|
return false;
|
}
|
} else if (!this$workstationCodeList.equals(other$workstationCodeList)) {
|
return false;
|
}
|
Object this$machineCodeList = getMachineCodeList();
|
Object other$machineCodeList = other.getMachineCodeList();
|
if (this$machineCodeList == null) {
|
if (other$machineCodeList != null) {
|
return false;
|
}
|
} else if (!this$machineCodeList.equals(other$machineCodeList)) {
|
return false;
|
}
|
Object this$importShortCodeMap = getImportShortCodeMap();
|
Object other$importShortCodeMap = other.getImportShortCodeMap();
|
if (this$importShortCodeMap == null) {
|
if (other$importShortCodeMap != null) {
|
return false;
|
}
|
} else if (!this$importShortCodeMap.equals(other$importShortCodeMap)) {
|
return false;
|
}
|
Object this$importPinCodeMap = getImportPinCodeMap();
|
Object other$importPinCodeMap = other.getImportPinCodeMap();
|
return this$importPinCodeMap == null ? other$importPinCodeMap == null : this$importPinCodeMap.equals(other$importPinCodeMap);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CodeMapDTO;
|
}
|
|
public int hashCode() {
|
Object $shortCodeMap = getShortCodeMap();
|
int result = (1 * 59) + ($shortCodeMap == null ? 43 : $shortCodeMap.hashCode());
|
Object $pinCodeMap = getPinCodeMap();
|
int result2 = (result * 59) + ($pinCodeMap == null ? 43 : $pinCodeMap.hashCode());
|
Object $workstationCodeList = getWorkstationCodeList();
|
int result3 = (result2 * 59) + ($workstationCodeList == null ? 43 : $workstationCodeList.hashCode());
|
Object $machineCodeList = getMachineCodeList();
|
int result4 = (result3 * 59) + ($machineCodeList == null ? 43 : $machineCodeList.hashCode());
|
Object $importShortCodeMap = getImportShortCodeMap();
|
int result5 = (result4 * 59) + ($importShortCodeMap == null ? 43 : $importShortCodeMap.hashCode());
|
Object $importPinCodeMap = getImportPinCodeMap();
|
return (result5 * 59) + ($importPinCodeMap == null ? 43 : $importPinCodeMap.hashCode());
|
}
|
|
public String toString() {
|
return "CodeMapDTO(shortCodeMap=" + getShortCodeMap() + ", pinCodeMap=" + getPinCodeMap() + ", workstationCodeList=" + getWorkstationCodeList() + ", machineCodeList=" + getMachineCodeList() + ", importShortCodeMap=" + getImportShortCodeMap() + ", importPinCodeMap=" + getImportPinCodeMap() + ")";
|
}
|
|
public CodeMapDTO(final Map<String, String> shortCodeMap, final Map<String, String> pinCodeMap, final List<String> workstationCodeList, final List<String> machineCodeList, final Map<String, String> importShortCodeMap, final Map<String, String> importPinCodeMap) {
|
this.shortCodeMap = shortCodeMap;
|
this.pinCodeMap = pinCodeMap;
|
this.workstationCodeList = workstationCodeList;
|
this.machineCodeList = machineCodeList;
|
this.importShortCodeMap = importShortCodeMap;
|
this.importPinCodeMap = importPinCodeMap;
|
}
|
|
public CodeMapDTO() {
|
}
|
|
public Map<String, String> getShortCodeMap() {
|
return this.shortCodeMap;
|
}
|
|
public Map<String, String> getPinCodeMap() {
|
return this.pinCodeMap;
|
}
|
|
public List<String> getWorkstationCodeList() {
|
return this.workstationCodeList;
|
}
|
|
public List<String> getMachineCodeList() {
|
return this.machineCodeList;
|
}
|
|
public Map<String, String> getImportShortCodeMap() {
|
return this.importShortCodeMap;
|
}
|
|
public Map<String, String> getImportPinCodeMap() {
|
return this.importPinCodeMap;
|
}
|
}
|