package com.qianwen.smartman.modules.coproduction.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/ReportWorkDTO.class */
|
public class ReportWorkDTO {
|
@NotBlank(message = "计划id必传")
|
@ApiModelProperty("计划id")
|
private String planId;
|
@NotBlank(message = "工单id必传")
|
@ApiModelProperty("工单id")
|
private String orderId;
|
@NotNull(message = "报工数据不能为空")
|
@ApiModelProperty("报工数据")
|
private List<OrderProcessReportWorkDTO> reportWorkDTOList;
|
|
public void setPlanId(final String planId) {
|
this.planId = planId;
|
}
|
|
public void setOrderId(final String orderId) {
|
this.orderId = orderId;
|
}
|
|
public void setReportWorkDTOList(final List<OrderProcessReportWorkDTO> reportWorkDTOList) {
|
this.reportWorkDTOList = reportWorkDTOList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ReportWorkDTO) {
|
ReportWorkDTO other = (ReportWorkDTO) o;
|
if (other.canEqual(this)) {
|
Object this$planId = getPlanId();
|
Object other$planId = other.getPlanId();
|
if (this$planId == null) {
|
if (other$planId != null) {
|
return false;
|
}
|
} else if (!this$planId.equals(other$planId)) {
|
return false;
|
}
|
Object this$orderId = getOrderId();
|
Object other$orderId = other.getOrderId();
|
if (this$orderId == null) {
|
if (other$orderId != null) {
|
return false;
|
}
|
} else if (!this$orderId.equals(other$orderId)) {
|
return false;
|
}
|
Object this$reportWorkDTOList = getReportWorkDTOList();
|
Object other$reportWorkDTOList = other.getReportWorkDTOList();
|
return this$reportWorkDTOList == null ? other$reportWorkDTOList == null : this$reportWorkDTOList.equals(other$reportWorkDTOList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ReportWorkDTO;
|
}
|
|
public int hashCode() {
|
Object $planId = getPlanId();
|
int result = (1 * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $orderId = getOrderId();
|
int result2 = (result * 59) + ($orderId == null ? 43 : $orderId.hashCode());
|
Object $reportWorkDTOList = getReportWorkDTOList();
|
return (result2 * 59) + ($reportWorkDTOList == null ? 43 : $reportWorkDTOList.hashCode());
|
}
|
|
public String toString() {
|
return "ReportWorkDTO(planId=" + getPlanId() + ", orderId=" + getOrderId() + ", reportWorkDTOList=" + getReportWorkDTOList() + ")";
|
}
|
|
public String getPlanId() {
|
return this.planId;
|
}
|
|
public String getOrderId() {
|
return this.orderId;
|
}
|
|
public List<OrderProcessReportWorkDTO> getReportWorkDTOList() {
|
return this.reportWorkDTOList;
|
}
|
}
|