yangys
2024-09-27 26f8e5990686bdba2119024a260d986266506757
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
package com.qianwen.mdc.collect.service.feedback;
 
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
import com.qianwen.mdc.collect.entity.iotdb.DeviceState;
import com.qianwen.mdc.collect.entity.mgr.WorkstationWcsFeedbackDetail;
 
 
public class ImmediateFeedbackAnalyseResult {
    private Long feedbackId;
    private Long workstationId;
    private Date resetStartTime;
    private WorkstationWcsFeedbackDetail feedbackDetail;
    private Boolean needProcess = Boolean.TRUE;
    private Boolean resetState = Boolean.FALSE;
    private List<DeviceState> effectiveStateList = new ArrayList<>();
 
    public void setFeedbackId(final Long feedbackId) {
        this.feedbackId = feedbackId;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setNeedProcess(final Boolean needProcess) {
        this.needProcess = needProcess;
    }
 
    public void setResetState(final Boolean resetState) {
        this.resetState = resetState;
    }
 
    public void setResetStartTime(final Date resetStartTime) {
        this.resetStartTime = resetStartTime;
    }
 
    public void setEffectiveStateList(final List<DeviceState> effectiveStateList) {
        this.effectiveStateList = effectiveStateList;
    }
 
    public void setFeedbackDetail(final WorkstationWcsFeedbackDetail feedbackDetail) {
        this.feedbackDetail = feedbackDetail;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ImmediateFeedbackAnalyseResult) {
            ImmediateFeedbackAnalyseResult other = (ImmediateFeedbackAnalyseResult) o;
            if (other.canEqual(this)) {
                Object this$feedbackId = getFeedbackId();
                Object other$feedbackId = other.getFeedbackId();
                if (this$feedbackId == null) {
                    if (other$feedbackId != null) {
                        return false;
                    }
                } else if (!this$feedbackId.equals(other$feedbackId)) {
                    return false;
                }
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$needProcess = getNeedProcess();
                Object other$needProcess = other.getNeedProcess();
                if (this$needProcess == null) {
                    if (other$needProcess != null) {
                        return false;
                    }
                } else if (!this$needProcess.equals(other$needProcess)) {
                    return false;
                }
                Object this$resetState = getResetState();
                Object other$resetState = other.getResetState();
                if (this$resetState == null) {
                    if (other$resetState != null) {
                        return false;
                    }
                } else if (!this$resetState.equals(other$resetState)) {
                    return false;
                }
                Object this$resetStartTime = getResetStartTime();
                Object other$resetStartTime = other.getResetStartTime();
                if (this$resetStartTime == null) {
                    if (other$resetStartTime != null) {
                        return false;
                    }
                } else if (!this$resetStartTime.equals(other$resetStartTime)) {
                    return false;
                }
                Object this$effectiveStateList = getEffectiveStateList();
                Object other$effectiveStateList = other.getEffectiveStateList();
                if (this$effectiveStateList == null) {
                    if (other$effectiveStateList != null) {
                        return false;
                    }
                } else if (!this$effectiveStateList.equals(other$effectiveStateList)) {
                    return false;
                }
                Object this$feedbackDetail = getFeedbackDetail();
                Object other$feedbackDetail = other.getFeedbackDetail();
                return this$feedbackDetail == null ? other$feedbackDetail == null : this$feedbackDetail.equals(other$feedbackDetail);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ImmediateFeedbackAnalyseResult;
    }
 
    public int hashCode() {
        Object $feedbackId = getFeedbackId();
        int result = (1 * 59) + ($feedbackId == null ? 43 : $feedbackId.hashCode());
        Object $workstationId = getWorkstationId();
        int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $needProcess = getNeedProcess();
        int result3 = (result2 * 59) + ($needProcess == null ? 43 : $needProcess.hashCode());
        Object $resetState = getResetState();
        int result4 = (result3 * 59) + ($resetState == null ? 43 : $resetState.hashCode());
        Object $resetStartTime = getResetStartTime();
        int result5 = (result4 * 59) + ($resetStartTime == null ? 43 : $resetStartTime.hashCode());
        Object $effectiveStateList = getEffectiveStateList();
        int result6 = (result5 * 59) + ($effectiveStateList == null ? 43 : $effectiveStateList.hashCode());
        Object $feedbackDetail = getFeedbackDetail();
        return (result6 * 59) + ($feedbackDetail == null ? 43 : $feedbackDetail.hashCode());
    }
 
    public String toString() {
        return "ImmediateFeedbackAnalyseResult(feedbackId=" + getFeedbackId() + ", workstationId=" + getWorkstationId() + ", needProcess=" + getNeedProcess() + ", resetState=" + getResetState() + ", resetStartTime=" + getResetStartTime() + ", effectiveStateList=" + getEffectiveStateList() + ", feedbackDetail=" + getFeedbackDetail() + ")";
    }
 
    public Long getFeedbackId() {
        return this.feedbackId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public Boolean getNeedProcess() {
        return this.needProcess;
    }
 
    public Boolean getResetState() {
        return this.resetState;
    }
 
    public Date getResetStartTime() {
        return this.resetStartTime;
    }
 
    public List<DeviceState> getEffectiveStateList() {
        return this.effectiveStateList;
    }
 
    public WorkstationWcsFeedbackDetail getFeedbackDetail() {
        return this.feedbackDetail;
    }
}