yangys
2024-03-31 153d165114fb17722853629dfdc9c1d59b73e439
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
package com.qianwen.smartman.modules.trace.entity;
 
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "TraceFlowSettings对象", description = "流程维护")
@TableName("blade_trace_flow_settings")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/entity/TraceFlowSettings.class */
public class TraceFlowSettings extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("所属租户")
    private String tenantId;
    @ApiModelProperty("流程编号")
    private String code;
    @ApiModelProperty("流程名称")
    private String name;
    @ApiModelProperty("流程顺序")
    private Integer flowSeq;
    @ApiModelProperty("工位类型")
    private Integer stationType;
    @ApiModelProperty("工位组id")
    private Long workstationGroupId;
    @ApiModelProperty("上一流程id")
    private Long preFlowId;
    @ApiModelProperty("下一流程id")
    private Long nextFlowId;
    @ApiModelProperty("流程类别")
    private Integer flowType;
    @ApiModelProperty("结束流程方式")
    private Integer triggerEndFlowStyle;
    @ApiModelProperty("按质量结果下线")
    private String qualityResultOffline;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("质量责任归属到特定流程")
    private Long qualityMakerFlowId;
 
    public TraceFlowSettings setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public TraceFlowSettings setCode(final String code) {
        this.code = code;
        return this;
    }
 
    public TraceFlowSettings setName(final String name) {
        this.name = name;
        return this;
    }
 
    public TraceFlowSettings setFlowSeq(final Integer flowSeq) {
        this.flowSeq = flowSeq;
        return this;
    }
 
    public TraceFlowSettings setStationType(final Integer stationType) {
        this.stationType = stationType;
        return this;
    }
 
    public TraceFlowSettings setWorkstationGroupId(final Long workstationGroupId) {
        this.workstationGroupId = workstationGroupId;
        return this;
    }
 
    public TraceFlowSettings setPreFlowId(final Long preFlowId) {
        this.preFlowId = preFlowId;
        return this;
    }
 
    public TraceFlowSettings setNextFlowId(final Long nextFlowId) {
        this.nextFlowId = nextFlowId;
        return this;
    }
 
    public TraceFlowSettings setFlowType(final Integer flowType) {
        this.flowType = flowType;
        return this;
    }
 
    public TraceFlowSettings setTriggerEndFlowStyle(final Integer triggerEndFlowStyle) {
        this.triggerEndFlowStyle = triggerEndFlowStyle;
        return this;
    }
 
    public TraceFlowSettings setQualityResultOffline(final String qualityResultOffline) {
        this.qualityResultOffline = qualityResultOffline;
        return this;
    }
 
    public TraceFlowSettings setQualityMakerFlowId(final Long qualityMakerFlowId) {
        this.qualityMakerFlowId = qualityMakerFlowId;
        return this;
    }
 
    public String toString() {
        return "TraceFlowSettings(tenantId=" + getTenantId() + ", code=" + getCode() + ", name=" + getName() + ", flowSeq=" + getFlowSeq() + ", stationType=" + getStationType() + ", workstationGroupId=" + getWorkstationGroupId() + ", preFlowId=" + getPreFlowId() + ", nextFlowId=" + getNextFlowId() + ", flowType=" + getFlowType() + ", triggerEndFlowStyle=" + getTriggerEndFlowStyle() + ", qualityResultOffline=" + getQualityResultOffline() + ", qualityMakerFlowId=" + getQualityMakerFlowId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TraceFlowSettings) {
            TraceFlowSettings other = (TraceFlowSettings) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$flowSeq = getFlowSeq();
                Object other$flowSeq = other.getFlowSeq();
                if (this$flowSeq == null) {
                    if (other$flowSeq != null) {
                        return false;
                    }
                } else if (!this$flowSeq.equals(other$flowSeq)) {
                    return false;
                }
                Object this$stationType = getStationType();
                Object other$stationType = other.getStationType();
                if (this$stationType == null) {
                    if (other$stationType != null) {
                        return false;
                    }
                } else if (!this$stationType.equals(other$stationType)) {
                    return false;
                }
                Object this$workstationGroupId = getWorkstationGroupId();
                Object other$workstationGroupId = other.getWorkstationGroupId();
                if (this$workstationGroupId == null) {
                    if (other$workstationGroupId != null) {
                        return false;
                    }
                } else if (!this$workstationGroupId.equals(other$workstationGroupId)) {
                    return false;
                }
                Object this$preFlowId = getPreFlowId();
                Object other$preFlowId = other.getPreFlowId();
                if (this$preFlowId == null) {
                    if (other$preFlowId != null) {
                        return false;
                    }
                } else if (!this$preFlowId.equals(other$preFlowId)) {
                    return false;
                }
                Object this$nextFlowId = getNextFlowId();
                Object other$nextFlowId = other.getNextFlowId();
                if (this$nextFlowId == null) {
                    if (other$nextFlowId != null) {
                        return false;
                    }
                } else if (!this$nextFlowId.equals(other$nextFlowId)) {
                    return false;
                }
                Object this$flowType = getFlowType();
                Object other$flowType = other.getFlowType();
                if (this$flowType == null) {
                    if (other$flowType != null) {
                        return false;
                    }
                } else if (!this$flowType.equals(other$flowType)) {
                    return false;
                }
                Object this$triggerEndFlowStyle = getTriggerEndFlowStyle();
                Object other$triggerEndFlowStyle = other.getTriggerEndFlowStyle();
                if (this$triggerEndFlowStyle == null) {
                    if (other$triggerEndFlowStyle != null) {
                        return false;
                    }
                } else if (!this$triggerEndFlowStyle.equals(other$triggerEndFlowStyle)) {
                    return false;
                }
                Object this$qualityMakerFlowId = getQualityMakerFlowId();
                Object other$qualityMakerFlowId = other.getQualityMakerFlowId();
                if (this$qualityMakerFlowId == null) {
                    if (other$qualityMakerFlowId != null) {
                        return false;
                    }
                } else if (!this$qualityMakerFlowId.equals(other$qualityMakerFlowId)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$qualityResultOffline = getQualityResultOffline();
                Object other$qualityResultOffline = other.getQualityResultOffline();
                return this$qualityResultOffline == null ? other$qualityResultOffline == null : this$qualityResultOffline.equals(other$qualityResultOffline);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TraceFlowSettings;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $flowSeq = getFlowSeq();
        int result2 = (result * 59) + ($flowSeq == null ? 43 : $flowSeq.hashCode());
        Object $stationType = getStationType();
        int result3 = (result2 * 59) + ($stationType == null ? 43 : $stationType.hashCode());
        Object $workstationGroupId = getWorkstationGroupId();
        int result4 = (result3 * 59) + ($workstationGroupId == null ? 43 : $workstationGroupId.hashCode());
        Object $preFlowId = getPreFlowId();
        int result5 = (result4 * 59) + ($preFlowId == null ? 43 : $preFlowId.hashCode());
        Object $nextFlowId = getNextFlowId();
        int result6 = (result5 * 59) + ($nextFlowId == null ? 43 : $nextFlowId.hashCode());
        Object $flowType = getFlowType();
        int result7 = (result6 * 59) + ($flowType == null ? 43 : $flowType.hashCode());
        Object $triggerEndFlowStyle = getTriggerEndFlowStyle();
        int result8 = (result7 * 59) + ($triggerEndFlowStyle == null ? 43 : $triggerEndFlowStyle.hashCode());
        Object $qualityMakerFlowId = getQualityMakerFlowId();
        int result9 = (result8 * 59) + ($qualityMakerFlowId == null ? 43 : $qualityMakerFlowId.hashCode());
        Object $tenantId = getTenantId();
        int result10 = (result9 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $code = getCode();
        int result11 = (result10 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result12 = (result11 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $qualityResultOffline = getQualityResultOffline();
        return (result12 * 59) + ($qualityResultOffline == null ? 43 : $qualityResultOffline.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public Integer getFlowSeq() {
        return this.flowSeq;
    }
 
    public Integer getStationType() {
        return this.stationType;
    }
 
    public Long getWorkstationGroupId() {
        return this.workstationGroupId;
    }
 
    public Long getPreFlowId() {
        return this.preFlowId;
    }
 
    public Long getNextFlowId() {
        return this.nextFlowId;
    }
 
    public Integer getFlowType() {
        return this.flowType;
    }
 
    public Integer getTriggerEndFlowStyle() {
        return this.triggerEndFlowStyle;
    }
 
    public String getQualityResultOffline() {
        return this.qualityResultOffline;
    }
 
    public Long getQualityMakerFlowId() {
        return this.qualityMakerFlowId;
    }
}