package com.qianwen.smartman.modules.coproduction.dto;
|
|
import java.util.Map;
|
import com.qianwen.smartman.modules.coproduction.entity.Order;
|
import com.qianwen.smartman.modules.coproduction.entity.OrderProcess;
|
import com.qianwen.smartman.modules.coproduction.entity.OrderReportRecord;
|
import com.qianwen.smartman.modules.coproduction.entity.OrderWorkstation;
|
import com.qianwen.smartman.modules.coproduction.entity.Plan;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportSourceDTO.class */
|
public class ReportSourceDTO {
|
private Map<Long, OrderReportRecord> startRecordsMap;
|
private Map<Long, Plan> planMap;
|
private Map<String, OrderWorkstation> orderWorkstationMap;
|
private Map<Long, OrderProcess> orderProcessMap;
|
private Map<Long, Order> orderMap;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportSourceDTO$ReportSourceDTOBuilder.class */
|
public static class ReportSourceDTOBuilder {
|
private Map<Long, OrderReportRecord> startRecordsMap;
|
private Map<Long, Plan> planMap;
|
private Map<String, OrderWorkstation> orderWorkstationMap;
|
private Map<Long, OrderProcess> orderProcessMap;
|
private Map<Long, Order> orderMap;
|
|
ReportSourceDTOBuilder() {
|
}
|
|
public ReportSourceDTOBuilder startRecordsMap(final Map<Long, OrderReportRecord> startRecordsMap) {
|
this.startRecordsMap = startRecordsMap;
|
return this;
|
}
|
|
public ReportSourceDTOBuilder planMap(final Map<Long, Plan> planMap) {
|
this.planMap = planMap;
|
return this;
|
}
|
|
public ReportSourceDTOBuilder orderWorkstationMap(final Map<String, OrderWorkstation> orderWorkstationMap) {
|
this.orderWorkstationMap = orderWorkstationMap;
|
return this;
|
}
|
|
public ReportSourceDTOBuilder orderProcessMap(final Map<Long, OrderProcess> orderProcessMap) {
|
this.orderProcessMap = orderProcessMap;
|
return this;
|
}
|
|
public ReportSourceDTOBuilder orderMap(final Map<Long, Order> orderMap) {
|
this.orderMap = orderMap;
|
return this;
|
}
|
|
public ReportSourceDTO build() {
|
return new ReportSourceDTO(this.startRecordsMap, this.planMap, this.orderWorkstationMap, this.orderProcessMap, this.orderMap);
|
}
|
|
public String toString() {
|
return "ReportSourceDTO.ReportSourceDTOBuilder(startRecordsMap=" + this.startRecordsMap + ", planMap=" + this.planMap + ", orderWorkstationMap=" + this.orderWorkstationMap + ", orderProcessMap=" + this.orderProcessMap + ", orderMap=" + this.orderMap + ")";
|
}
|
}
|
|
public void setStartRecordsMap(final Map<Long, OrderReportRecord> startRecordsMap) {
|
this.startRecordsMap = startRecordsMap;
|
}
|
|
public void setPlanMap(final Map<Long, Plan> planMap) {
|
this.planMap = planMap;
|
}
|
|
public void setOrderWorkstationMap(final Map<String, OrderWorkstation> orderWorkstationMap) {
|
this.orderWorkstationMap = orderWorkstationMap;
|
}
|
|
public void setOrderProcessMap(final Map<Long, OrderProcess> orderProcessMap) {
|
this.orderProcessMap = orderProcessMap;
|
}
|
|
public void setOrderMap(final Map<Long, Order> orderMap) {
|
this.orderMap = orderMap;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ReportSourceDTO) {
|
ReportSourceDTO other = (ReportSourceDTO) o;
|
if (other.canEqual(this)) {
|
Object this$startRecordsMap = getStartRecordsMap();
|
Object other$startRecordsMap = other.getStartRecordsMap();
|
if (this$startRecordsMap == null) {
|
if (other$startRecordsMap != null) {
|
return false;
|
}
|
} else if (!this$startRecordsMap.equals(other$startRecordsMap)) {
|
return false;
|
}
|
Object this$planMap = getPlanMap();
|
Object other$planMap = other.getPlanMap();
|
if (this$planMap == null) {
|
if (other$planMap != null) {
|
return false;
|
}
|
} else if (!this$planMap.equals(other$planMap)) {
|
return false;
|
}
|
Object this$orderWorkstationMap = getOrderWorkstationMap();
|
Object other$orderWorkstationMap = other.getOrderWorkstationMap();
|
if (this$orderWorkstationMap == null) {
|
if (other$orderWorkstationMap != null) {
|
return false;
|
}
|
} else if (!this$orderWorkstationMap.equals(other$orderWorkstationMap)) {
|
return false;
|
}
|
Object this$orderProcessMap = getOrderProcessMap();
|
Object other$orderProcessMap = other.getOrderProcessMap();
|
if (this$orderProcessMap == null) {
|
if (other$orderProcessMap != null) {
|
return false;
|
}
|
} else if (!this$orderProcessMap.equals(other$orderProcessMap)) {
|
return false;
|
}
|
Object this$orderMap = getOrderMap();
|
Object other$orderMap = other.getOrderMap();
|
return this$orderMap == null ? other$orderMap == null : this$orderMap.equals(other$orderMap);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ReportSourceDTO;
|
}
|
|
public int hashCode() {
|
Object $startRecordsMap = getStartRecordsMap();
|
int result = (1 * 59) + ($startRecordsMap == null ? 43 : $startRecordsMap.hashCode());
|
Object $planMap = getPlanMap();
|
int result2 = (result * 59) + ($planMap == null ? 43 : $planMap.hashCode());
|
Object $orderWorkstationMap = getOrderWorkstationMap();
|
int result3 = (result2 * 59) + ($orderWorkstationMap == null ? 43 : $orderWorkstationMap.hashCode());
|
Object $orderProcessMap = getOrderProcessMap();
|
int result4 = (result3 * 59) + ($orderProcessMap == null ? 43 : $orderProcessMap.hashCode());
|
Object $orderMap = getOrderMap();
|
return (result4 * 59) + ($orderMap == null ? 43 : $orderMap.hashCode());
|
}
|
|
public String toString() {
|
return "ReportSourceDTO(startRecordsMap=" + getStartRecordsMap() + ", planMap=" + getPlanMap() + ", orderWorkstationMap=" + getOrderWorkstationMap() + ", orderProcessMap=" + getOrderProcessMap() + ", orderMap=" + getOrderMap() + ")";
|
}
|
|
ReportSourceDTO(final Map<Long, OrderReportRecord> startRecordsMap, final Map<Long, Plan> planMap, final Map<String, OrderWorkstation> orderWorkstationMap, final Map<Long, OrderProcess> orderProcessMap, final Map<Long, Order> orderMap) {
|
this.startRecordsMap = startRecordsMap;
|
this.planMap = planMap;
|
this.orderWorkstationMap = orderWorkstationMap;
|
this.orderProcessMap = orderProcessMap;
|
this.orderMap = orderMap;
|
}
|
|
public static ReportSourceDTOBuilder builder() {
|
return new ReportSourceDTOBuilder();
|
}
|
|
public Map<Long, OrderReportRecord> getStartRecordsMap() {
|
return this.startRecordsMap;
|
}
|
|
public Map<Long, Plan> getPlanMap() {
|
return this.planMap;
|
}
|
|
public Map<String, OrderWorkstation> getOrderWorkstationMap() {
|
return this.orderWorkstationMap;
|
}
|
|
public Map<Long, OrderProcess> getOrderProcessMap() {
|
return this.orderProcessMap;
|
}
|
|
public Map<Long, Order> getOrderMap() {
|
return this.orderMap;
|
}
|
}
|