package com.qianwen.smartman.modules.coproduction.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import javax.validation.constraints.NotEmpty;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderProcessStartGeneralVO.class */
|
public class OrderProcessStartGeneralVO {
|
@ApiModelProperty("工单工序ID")
|
private Long orderProcessId;
|
@NotEmpty(message = "开工工位信息不能为空")
|
@ApiModelProperty("开工工位信息")
|
private List<OrderProcessStartWorkstationVO> workstationVoList;
|
|
public void setOrderProcessId(final Long orderProcessId) {
|
this.orderProcessId = orderProcessId;
|
}
|
|
public void setWorkstationVoList(final List<OrderProcessStartWorkstationVO> workstationVoList) {
|
this.workstationVoList = workstationVoList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderProcessStartGeneralVO) {
|
OrderProcessStartGeneralVO other = (OrderProcessStartGeneralVO) o;
|
if (other.canEqual(this)) {
|
Object this$orderProcessId = getOrderProcessId();
|
Object other$orderProcessId = other.getOrderProcessId();
|
if (this$orderProcessId == null) {
|
if (other$orderProcessId != null) {
|
return false;
|
}
|
} else if (!this$orderProcessId.equals(other$orderProcessId)) {
|
return false;
|
}
|
Object this$workstationVoList = getWorkstationVoList();
|
Object other$workstationVoList = other.getWorkstationVoList();
|
return this$workstationVoList == null ? other$workstationVoList == null : this$workstationVoList.equals(other$workstationVoList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderProcessStartGeneralVO;
|
}
|
|
public int hashCode() {
|
Object $orderProcessId = getOrderProcessId();
|
int result = (1 * 59) + ($orderProcessId == null ? 43 : $orderProcessId.hashCode());
|
Object $workstationVoList = getWorkstationVoList();
|
return (result * 59) + ($workstationVoList == null ? 43 : $workstationVoList.hashCode());
|
}
|
|
public String toString() {
|
return "OrderProcessStartGeneralVO(orderProcessId=" + getOrderProcessId() + ", workstationVoList=" + getWorkstationVoList() + ")";
|
}
|
|
public Long getOrderProcessId() {
|
return this.orderProcessId;
|
}
|
|
public List<OrderProcessStartWorkstationVO> getWorkstationVoList() {
|
return this.workstationVoList;
|
}
|
}
|