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
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<PlanProcessWorkStationAssignVO> 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<PlanProcessWorkStationAssignVO> 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<PlanProcessWorkStationAssignVO> getPlanProcessWorkStationAssignVOList() {
        return this.planProcessWorkStationAssignVOList;
    }
}