yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
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<Integer> 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<Integer> 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<Integer> 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;
    }
}