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; @ApiModel(value = "OrderVo对象", description = "计划工单") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderQueryVO.class */ public class OrderQueryVO implements Serializable { private static final long serialVersionUID = 3685866573215151390L; @ApiModelProperty("工单状态(1:待加工,2:加工中,3:暂停,4:关闭,5:完工)") private List orderStatus; @ApiModelProperty("计划类型ID") private Long planTypeId; @ApiModelProperty("计划ID") private Long planId; @ApiModelProperty("工单编号") private String orderCode; @ApiModelProperty("排序字段名称") private String sortName; @ApiModelProperty("排序方式 asc 升序 desc 降序") private String order; @ApiModelProperty("工单id") private Long orderId; public OrderQueryVO setOrderStatus(final List orderStatus) { this.orderStatus = orderStatus; return this; } public OrderQueryVO setPlanTypeId(final Long planTypeId) { this.planTypeId = planTypeId; return this; } public OrderQueryVO setPlanId(final Long planId) { this.planId = planId; return this; } public OrderQueryVO setOrderCode(final String orderCode) { this.orderCode = orderCode; return this; } public OrderQueryVO setSortName(final String sortName) { this.sortName = sortName; return this; } public OrderQueryVO setOrder(final String order) { this.order = order; return this; } public OrderQueryVO setOrderId(final Long orderId) { this.orderId = orderId; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OrderQueryVO) { OrderQueryVO other = (OrderQueryVO) o; if (other.canEqual(this)) { Object this$planTypeId = getPlanTypeId(); Object other$planTypeId = other.getPlanTypeId(); if (this$planTypeId == null) { if (other$planTypeId != null) { return false; } } else if (!this$planTypeId.equals(other$planTypeId)) { return false; } 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$orderStatus = getOrderStatus(); Object other$orderStatus = other.getOrderStatus(); if (this$orderStatus == null) { if (other$orderStatus != null) { return false; } } else if (!this$orderStatus.equals(other$orderStatus)) { 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$sortName = getSortName(); Object other$sortName = other.getSortName(); if (this$sortName == null) { if (other$sortName != null) { return false; } } else if (!this$sortName.equals(other$sortName)) { return false; } Object this$order = getOrder(); Object other$order = other.getOrder(); return this$order == null ? other$order == null : this$order.equals(other$order); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OrderQueryVO; } public int hashCode() { Object $planTypeId = getPlanTypeId(); int result = (1 * 59) + ($planTypeId == null ? 43 : $planTypeId.hashCode()); Object $planId = getPlanId(); int result2 = (result * 59) + ($planId == null ? 43 : $planId.hashCode()); Object $orderId = getOrderId(); int result3 = (result2 * 59) + ($orderId == null ? 43 : $orderId.hashCode()); Object $orderStatus = getOrderStatus(); int result4 = (result3 * 59) + ($orderStatus == null ? 43 : $orderStatus.hashCode()); Object $orderCode = getOrderCode(); int result5 = (result4 * 59) + ($orderCode == null ? 43 : $orderCode.hashCode()); Object $sortName = getSortName(); int result6 = (result5 * 59) + ($sortName == null ? 43 : $sortName.hashCode()); Object $order = getOrder(); return (result6 * 59) + ($order == null ? 43 : $order.hashCode()); } public String toString() { return "OrderQueryVO(orderStatus=" + getOrderStatus() + ", planTypeId=" + getPlanTypeId() + ", planId=" + getPlanId() + ", orderCode=" + getOrderCode() + ", sortName=" + getSortName() + ", order=" + getOrder() + ", orderId=" + getOrderId() + ")"; } public List getOrderStatus() { return this.orderStatus; } public Long getPlanTypeId() { return this.planTypeId; } public Long getPlanId() { return this.planId; } public String getOrderCode() { return this.orderCode; } public String getSortName() { return this.sortName; } public String getOrder() { return this.order; } public Long getOrderId() { return this.orderId; } }