yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_check_item")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CheckItem.class */
public class CheckItem extends TenantEntity {
    private static final long serialVersionUID = 2622995017969940330L;
    @ApiModelProperty("点检项目id")
    private Long checkProjectId;
    @ApiModelProperty("点检项名称")
    private String name;
    @ApiModelProperty("数值类型")
    private String valueType;
    @ApiModelProperty("点检要求")
    private String requirement;
    @ApiModelProperty("标准数值")
    private String standardValue;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CheckItem$CheckItemBuilder.class */
    public static class CheckItemBuilder {
        private Long checkProjectId;
        private String name;
        private String valueType;
        private String requirement;
        private String standardValue;
 
        CheckItemBuilder() {
        }
 
        public CheckItemBuilder checkProjectId(final Long checkProjectId) {
            this.checkProjectId = checkProjectId;
            return this;
        }
 
        public CheckItemBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public CheckItemBuilder valueType(final String valueType) {
            this.valueType = valueType;
            return this;
        }
 
        public CheckItemBuilder requirement(final String requirement) {
            this.requirement = requirement;
            return this;
        }
 
        public CheckItemBuilder standardValue(final String standardValue) {
            this.standardValue = standardValue;
            return this;
        }
 
        public CheckItem build() {
            return new CheckItem(this.checkProjectId, this.name, this.valueType, this.requirement, this.standardValue);
        }
 
        public String toString() {
            return "CheckItem.CheckItemBuilder(checkProjectId=" + this.checkProjectId + ", name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ")";
        }
    }
 
    public void setCheckProjectId(final Long checkProjectId) {
        this.checkProjectId = checkProjectId;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setValueType(final String valueType) {
        this.valueType = valueType;
    }
 
    public void setRequirement(final String requirement) {
        this.requirement = requirement;
    }
 
    public void setStandardValue(final String standardValue) {
        this.standardValue = standardValue;
    }
 
    public String toString() {
        return "CheckItem(checkProjectId=" + getCheckProjectId() + ", name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ")";
    }
 
    public static CheckItemBuilder builder() {
        return new CheckItemBuilder();
    }
 
    public CheckItem() {
    }
 
    public CheckItem(final Long checkProjectId, final String name, final String valueType, final String requirement, final String standardValue) {
        this.checkProjectId = checkProjectId;
        this.name = name;
        this.valueType = valueType;
        this.requirement = requirement;
        this.standardValue = standardValue;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CheckItem) {
            CheckItem other = (CheckItem) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$checkProjectId = getCheckProjectId();
                Object other$checkProjectId = other.getCheckProjectId();
                if (this$checkProjectId == null) {
                    if (other$checkProjectId != null) {
                        return false;
                    }
                } else if (!this$checkProjectId.equals(other$checkProjectId)) {
                    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$valueType = getValueType();
                Object other$valueType = other.getValueType();
                if (this$valueType == null) {
                    if (other$valueType != null) {
                        return false;
                    }
                } else if (!this$valueType.equals(other$valueType)) {
                    return false;
                }
                Object this$requirement = getRequirement();
                Object other$requirement = other.getRequirement();
                if (this$requirement == null) {
                    if (other$requirement != null) {
                        return false;
                    }
                } else if (!this$requirement.equals(other$requirement)) {
                    return false;
                }
                Object this$standardValue = getStandardValue();
                Object other$standardValue = other.getStandardValue();
                return this$standardValue == null ? other$standardValue == null : this$standardValue.equals(other$standardValue);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CheckItem;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $checkProjectId = getCheckProjectId();
        int result2 = (result * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode());
        Object $name = getName();
        int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $valueType = getValueType();
        int result4 = (result3 * 59) + ($valueType == null ? 43 : $valueType.hashCode());
        Object $requirement = getRequirement();
        int result5 = (result4 * 59) + ($requirement == null ? 43 : $requirement.hashCode());
        Object $standardValue = getStandardValue();
        return (result5 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode());
    }
 
    public Long getCheckProjectId() {
        return this.checkProjectId;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getValueType() {
        return this.valueType;
    }
 
    public String getRequirement() {
        return this.requirement;
    }
 
    public String getStandardValue() {
        return this.standardValue;
    }
}