yangys
2024-03-31 53c8d3e3bd3596132b362f20e52aef380d493a84
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
package com.qianwen.smartman.modules.andon.entity;
 
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 = "AndonRecordReason对象", description = "记录关联原因表")
@TableName("blade_andon_record_reason")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/andon/entity/AndonRecordReason.class */
public class AndonRecordReason extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("安灯记录id")
    private Long recordId;
    @ApiModelProperty("安灯原因id")
    private Long reasonId;
    @ApiModelProperty("安灯原因编号")
    private String reasonCode;
    @ApiModelProperty("安灯原因名称")
    private String reasonName;
 
    public AndonRecordReason setRecordId(final Long recordId) {
        this.recordId = recordId;
        return this;
    }
 
    public AndonRecordReason setReasonId(final Long reasonId) {
        this.reasonId = reasonId;
        return this;
    }
 
    public AndonRecordReason setReasonCode(final String reasonCode) {
        this.reasonCode = reasonCode;
        return this;
    }
 
    public AndonRecordReason setReasonName(final String reasonName) {
        this.reasonName = reasonName;
        return this;
    }
 
    public String toString() {
        return "AndonRecordReason(recordId=" + getRecordId() + ", reasonId=" + getReasonId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof AndonRecordReason) {
            AndonRecordReason other = (AndonRecordReason) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$recordId = getRecordId();
                Object other$recordId = other.getRecordId();
                if (this$recordId == null) {
                    if (other$recordId != null) {
                        return false;
                    }
                } else if (!this$recordId.equals(other$recordId)) {
                    return false;
                }
                Object this$reasonId = getReasonId();
                Object other$reasonId = other.getReasonId();
                if (this$reasonId == null) {
                    if (other$reasonId != null) {
                        return false;
                    }
                } else if (!this$reasonId.equals(other$reasonId)) {
                    return false;
                }
                Object this$reasonCode = getReasonCode();
                Object other$reasonCode = other.getReasonCode();
                if (this$reasonCode == null) {
                    if (other$reasonCode != null) {
                        return false;
                    }
                } else if (!this$reasonCode.equals(other$reasonCode)) {
                    return false;
                }
                Object this$reasonName = getReasonName();
                Object other$reasonName = other.getReasonName();
                return this$reasonName == null ? other$reasonName == null : this$reasonName.equals(other$reasonName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof AndonRecordReason;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $recordId = getRecordId();
        int result2 = (result * 59) + ($recordId == null ? 43 : $recordId.hashCode());
        Object $reasonId = getReasonId();
        int result3 = (result2 * 59) + ($reasonId == null ? 43 : $reasonId.hashCode());
        Object $reasonCode = getReasonCode();
        int result4 = (result3 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode());
        Object $reasonName = getReasonName();
        return (result4 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode());
    }
 
    public Long getRecordId() {
        return this.recordId;
    }
 
    public Long getReasonId() {
        return this.reasonId;
    }
 
    public String getReasonCode() {
        return this.reasonCode;
    }
 
    public String getReasonName() {
        return this.reasonName;
    }
}