package com.qianwen.smartman.modules.coproduction.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; @ApiModel(value = "OrderVo对象", description = "计划工单") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderAssignVO.class */ public class OrderAssignVO implements Serializable { private static final long serialVersionUID = 3685866573215151390L; @ApiModelProperty("工单编号") private String orderCode; @NotNull(message = "计划id不能为空") @ApiModelProperty("计划ID") private Long planId; @NotNull(message = "派发数量不能为空") @Min(value = 1, message = "派发数量最少为1") @ApiModelProperty("派发数量") private Integer assignNum; @ApiModelProperty("计划工序关联工位") private List planProcessWorkStationAssignVOList; public void setOrderCode(final String orderCode) { this.orderCode = orderCode; } public void setPlanId(final Long planId) { this.planId = planId; } public void setAssignNum(final Integer assignNum) { this.assignNum = assignNum; } public void setPlanProcessWorkStationAssignVOList(final List planProcessWorkStationAssignVOList) { this.planProcessWorkStationAssignVOList = planProcessWorkStationAssignVOList; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OrderAssignVO) { OrderAssignVO other = (OrderAssignVO) 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$assignNum = getAssignNum(); Object other$assignNum = other.getAssignNum(); if (this$assignNum == null) { if (other$assignNum != null) { return false; } } else if (!this$assignNum.equals(other$assignNum)) { return false; } Object this$orderCode = getOrderCode(); Object other$orderCode = other.getOrderCode(); if (this$orderCode == null) { if (other$orderCode != null) { return false; } } else if (!this$orderCode.equals(other$orderCode)) { return false; } Object this$planProcessWorkStationAssignVOList = getPlanProcessWorkStationAssignVOList(); Object other$planProcessWorkStationAssignVOList = other.getPlanProcessWorkStationAssignVOList(); return this$planProcessWorkStationAssignVOList == null ? other$planProcessWorkStationAssignVOList == null : this$planProcessWorkStationAssignVOList.equals(other$planProcessWorkStationAssignVOList); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OrderAssignVO; } public int hashCode() { Object $planId = getPlanId(); int result = (1 * 59) + ($planId == null ? 43 : $planId.hashCode()); Object $assignNum = getAssignNum(); int result2 = (result * 59) + ($assignNum == null ? 43 : $assignNum.hashCode()); Object $orderCode = getOrderCode(); int result3 = (result2 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode()); Object $planProcessWorkStationAssignVOList = getPlanProcessWorkStationAssignVOList(); return (result3 * 59) + ($planProcessWorkStationAssignVOList == null ? 43 : $planProcessWorkStationAssignVOList.hashCode()); } public String toString() { return "OrderAssignVO(orderCode=" + getOrderCode() + ", planId=" + getPlanId() + ", assignNum=" + getAssignNum() + ", planProcessWorkStationAssignVOList=" + getPlanProcessWorkStationAssignVOList() + ")"; } public String getOrderCode() { return this.orderCode; } public Long getPlanId() { return this.planId; } public Integer getAssignNum() { return this.assignNum; } public List getPlanProcessWorkStationAssignVOList() { return this.planProcessWorkStationAssignVOList; } }