package com.qianwen.smartman.modules.coproduction.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import com.qianwen.smartman.common.constant.ExcelConstant;
|
import com.qianwen.smartman.modules.coproduction.entity.OrderReportRecord;
|
import com.qianwen.smartman.modules.coproduction.entity.OrderWorkstation;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderRecordAndWorkStationDTO.class */
|
public class OrderRecordAndWorkStationDTO {
|
@ApiModelProperty(ExcelConstant.ORDER_REPORT_RECORD)
|
private List<OrderReportRecord> reportRecords;
|
@ApiModelProperty("报工工位")
|
private List<OrderWorkstation> orderWorkstations;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/OrderRecordAndWorkStationDTO$OrderRecordAndWorkStationDTOBuilder.class */
|
public static class OrderRecordAndWorkStationDTOBuilder {
|
private List<OrderReportRecord> reportRecords;
|
private List<OrderWorkstation> orderWorkstations;
|
|
OrderRecordAndWorkStationDTOBuilder() {
|
}
|
|
public OrderRecordAndWorkStationDTOBuilder reportRecords(final List<OrderReportRecord> reportRecords) {
|
this.reportRecords = reportRecords;
|
return this;
|
}
|
|
public OrderRecordAndWorkStationDTOBuilder orderWorkstations(final List<OrderWorkstation> orderWorkstations) {
|
this.orderWorkstations = orderWorkstations;
|
return this;
|
}
|
|
public OrderRecordAndWorkStationDTO build() {
|
return new OrderRecordAndWorkStationDTO(this.reportRecords, this.orderWorkstations);
|
}
|
|
public String toString() {
|
return "OrderRecordAndWorkStationDTO.OrderRecordAndWorkStationDTOBuilder(reportRecords=" + this.reportRecords + ", orderWorkstations=" + this.orderWorkstations + ")";
|
}
|
}
|
|
public void setReportRecords(final List<OrderReportRecord> reportRecords) {
|
this.reportRecords = reportRecords;
|
}
|
|
public void setOrderWorkstations(final List<OrderWorkstation> orderWorkstations) {
|
this.orderWorkstations = orderWorkstations;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderRecordAndWorkStationDTO) {
|
OrderRecordAndWorkStationDTO other = (OrderRecordAndWorkStationDTO) o;
|
if (other.canEqual(this)) {
|
Object this$reportRecords = getReportRecords();
|
Object other$reportRecords = other.getReportRecords();
|
if (this$reportRecords == null) {
|
if (other$reportRecords != null) {
|
return false;
|
}
|
} else if (!this$reportRecords.equals(other$reportRecords)) {
|
return false;
|
}
|
Object this$orderWorkstations = getOrderWorkstations();
|
Object other$orderWorkstations = other.getOrderWorkstations();
|
return this$orderWorkstations == null ? other$orderWorkstations == null : this$orderWorkstations.equals(other$orderWorkstations);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderRecordAndWorkStationDTO;
|
}
|
|
public int hashCode() {
|
Object $reportRecords = getReportRecords();
|
int result = (1 * 59) + ($reportRecords == null ? 43 : $reportRecords.hashCode());
|
Object $orderWorkstations = getOrderWorkstations();
|
return (result * 59) + ($orderWorkstations == null ? 43 : $orderWorkstations.hashCode());
|
}
|
|
public String toString() {
|
return "OrderRecordAndWorkStationDTO(reportRecords=" + getReportRecords() + ", orderWorkstations=" + getOrderWorkstations() + ")";
|
}
|
|
OrderRecordAndWorkStationDTO(final List<OrderReportRecord> reportRecords, final List<OrderWorkstation> orderWorkstations) {
|
this.reportRecords = reportRecords;
|
this.orderWorkstations = orderWorkstations;
|
}
|
|
public static OrderRecordAndWorkStationDTOBuilder builder() {
|
return new OrderRecordAndWorkStationDTOBuilder();
|
}
|
|
public List<OrderReportRecord> getReportRecords() {
|
return this.reportRecords;
|
}
|
|
public List<OrderWorkstation> getOrderWorkstations() {
|
return this.orderWorkstations;
|
}
|
}
|