package com.qianwen.smartman.modules.coproduction.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportWorkDetailDTO.class */
|
public class ReportWorkDetailDTO implements Serializable {
|
@ApiModelProperty("报工详情头信息")
|
private OrderReportDTO reportDTO;
|
@ApiModelProperty("报工工位,可能是多个")
|
private String workstationNames;
|
@ApiModelProperty("报工工位详情")
|
private List<JuxtapositionReportDTO> juxtapositionReports;
|
|
public void setReportDTO(final OrderReportDTO reportDTO) {
|
this.reportDTO = reportDTO;
|
}
|
|
public void setWorkstationNames(final String workstationNames) {
|
this.workstationNames = workstationNames;
|
}
|
|
public void setJuxtapositionReports(final List<JuxtapositionReportDTO> juxtapositionReports) {
|
this.juxtapositionReports = juxtapositionReports;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ReportWorkDetailDTO) {
|
ReportWorkDetailDTO other = (ReportWorkDetailDTO) o;
|
if (other.canEqual(this)) {
|
Object this$reportDTO = getReportDTO();
|
Object other$reportDTO = other.getReportDTO();
|
if (this$reportDTO == null) {
|
if (other$reportDTO != null) {
|
return false;
|
}
|
} else if (!this$reportDTO.equals(other$reportDTO)) {
|
return false;
|
}
|
Object this$workstationNames = getWorkstationNames();
|
Object other$workstationNames = other.getWorkstationNames();
|
if (this$workstationNames == null) {
|
if (other$workstationNames != null) {
|
return false;
|
}
|
} else if (!this$workstationNames.equals(other$workstationNames)) {
|
return false;
|
}
|
Object this$juxtapositionReports = getJuxtapositionReports();
|
Object other$juxtapositionReports = other.getJuxtapositionReports();
|
return this$juxtapositionReports == null ? other$juxtapositionReports == null : this$juxtapositionReports.equals(other$juxtapositionReports);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ReportWorkDetailDTO;
|
}
|
|
public int hashCode() {
|
Object $reportDTO = getReportDTO();
|
int result = (1 * 59) + ($reportDTO == null ? 43 : $reportDTO.hashCode());
|
Object $workstationNames = getWorkstationNames();
|
int result2 = (result * 59) + ($workstationNames == null ? 43 : $workstationNames.hashCode());
|
Object $juxtapositionReports = getJuxtapositionReports();
|
return (result2 * 59) + ($juxtapositionReports == null ? 43 : $juxtapositionReports.hashCode());
|
}
|
|
public String toString() {
|
return "ReportWorkDetailDTO(reportDTO=" + getReportDTO() + ", workstationNames=" + getWorkstationNames() + ", juxtapositionReports=" + getJuxtapositionReports() + ")";
|
}
|
|
public OrderReportDTO getReportDTO() {
|
return this.reportDTO;
|
}
|
|
public String getWorkstationNames() {
|
return this.workstationNames;
|
}
|
|
public List<JuxtapositionReportDTO> getJuxtapositionReports() {
|
return this.juxtapositionReports;
|
}
|
}
|