yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@ApiModel(description = "分页点检项信息")
public class CheckItemVO implements Serializable {
    private static final long serialVersionUID = -687623542076851913L;
    @ApiModelProperty(name = "逐渐id", dataType = "java.lang.String")
    private Long id;
    @ApiModelProperty(name = "点检项目id", dataType = "java.lang.String")
    private Long checkProjectId;
    @ApiModelProperty("点检项")
    private String name;
    @ApiModelProperty("数值类型")
    private String valueType;
    @ApiModelProperty("点检要求")
    private String requirement;
    @ApiModelProperty("标准数值")
    private String standardValue;
    @ApiModelProperty("启用1 停用0")
    private Integer status;
 
    
    public static class CheckItemVOBuilder {
        private Long id;
        private Long checkProjectId;
        private String name;
        private String valueType;
        private String requirement;
        private String standardValue;
        private Integer status;
 
        CheckItemVOBuilder() {
        }
 
        public CheckItemVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public CheckItemVOBuilder checkProjectId(final Long checkProjectId) {
            this.checkProjectId = checkProjectId;
            return this;
        }
 
        public CheckItemVOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public CheckItemVOBuilder valueType(final String valueType) {
            this.valueType = valueType;
            return this;
        }
 
        public CheckItemVOBuilder requirement(final String requirement) {
            this.requirement = requirement;
            return this;
        }
 
        public CheckItemVOBuilder standardValue(final String standardValue) {
            this.standardValue = standardValue;
            return this;
        }
 
        public CheckItemVOBuilder status(final Integer status) {
            this.status = status;
            return this;
        }
 
        public CheckItemVO build() {
            return new CheckItemVO(this.id, this.checkProjectId, this.name, this.valueType, this.requirement, this.standardValue, this.status);
        }
 
        public String toString() {
            return "CheckItemVO.CheckItemVOBuilder(id=" + this.id + ", checkProjectId=" + this.checkProjectId + ", name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ", status=" + this.status + ")";
        }
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    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 void setStatus(final Integer status) {
        this.status = status;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CheckItemVO) {
            CheckItemVO other = (CheckItemVO) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                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$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    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 CheckItemVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $checkProjectId = getCheckProjectId();
        int result2 = (result * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode());
        Object $status = getStatus();
        int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $name = getName();
        int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $valueType = getValueType();
        int result5 = (result4 * 59) + ($valueType == null ? 43 : $valueType.hashCode());
        Object $requirement = getRequirement();
        int result6 = (result5 * 59) + ($requirement == null ? 43 : $requirement.hashCode());
        Object $standardValue = getStandardValue();
        return (result6 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode());
    }
 
    public String toString() {
        return "CheckItemVO(id=" + getId() + ", checkProjectId=" + getCheckProjectId() + ", name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ", status=" + getStatus() + ")";
    }
 
    public static CheckItemVOBuilder builder() {
        return new CheckItemVOBuilder();
    }
 
    public CheckItemVO() {
    }
 
    public CheckItemVO(final Long id, final Long checkProjectId, final String name, final String valueType, final String requirement, final String standardValue, final Integer status) {
        this.id = id;
        this.checkProjectId = checkProjectId;
        this.name = name;
        this.valueType = valueType;
        this.requirement = requirement;
        this.standardValue = standardValue;
        this.status = status;
    }
 
    public Long getId() {
        return this.id;
    }
 
    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;
    }
 
    public Integer getStatus() {
        return this.status;
    }
}