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
package com.qianwen.smartman.modules.cps.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
 
@ApiModel(description = "新增点检项信息")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/CheckItemSubmitDTO.class */
public class CheckItemSubmitDTO implements Serializable {
    private static final long serialVersionUID = 8394695443078255718L;
    @NotNull(message = "{cps.check.item.name.not.null}")
    @ApiModelProperty(value = "点检项", required = true)
    private String name;
    @ApiModelProperty(value = "数值类型", required = true)
    private String valueType;
    @ApiModelProperty(value = "点检要求", required = true)
    private String requirement;
    @ApiModelProperty(value = "标准数值", required = true)
    private String standardValue;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/CheckItemSubmitDTO$CheckItemSubmitDTOBuilder.class */
    public static class CheckItemSubmitDTOBuilder {
        private String name;
        private String valueType;
        private String requirement;
        private String standardValue;
 
        CheckItemSubmitDTOBuilder() {
        }
 
        public CheckItemSubmitDTOBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public CheckItemSubmitDTOBuilder valueType(final String valueType) {
            this.valueType = valueType;
            return this;
        }
 
        public CheckItemSubmitDTOBuilder requirement(final String requirement) {
            this.requirement = requirement;
            return this;
        }
 
        public CheckItemSubmitDTOBuilder standardValue(final String standardValue) {
            this.standardValue = standardValue;
            return this;
        }
 
        public CheckItemSubmitDTO build() {
            return new CheckItemSubmitDTO(this.name, this.valueType, this.requirement, this.standardValue);
        }
 
        public String toString() {
            return "CheckItemSubmitDTO.CheckItemSubmitDTOBuilder(name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ")";
        }
    }
 
    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 boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CheckItemSubmitDTO) {
            CheckItemSubmitDTO other = (CheckItemSubmitDTO) o;
            if (other.canEqual(this)) {
                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 CheckItemSubmitDTO;
    }
 
    public int hashCode() {
        Object $name = getName();
        int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $valueType = getValueType();
        int result2 = (result * 59) + ($valueType == null ? 43 : $valueType.hashCode());
        Object $requirement = getRequirement();
        int result3 = (result2 * 59) + ($requirement == null ? 43 : $requirement.hashCode());
        Object $standardValue = getStandardValue();
        return (result3 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode());
    }
 
    public String toString() {
        return "CheckItemSubmitDTO(name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ")";
    }
 
    public static CheckItemSubmitDTOBuilder builder() {
        return new CheckItemSubmitDTOBuilder();
    }
 
    public CheckItemSubmitDTO() {
    }
 
    public CheckItemSubmitDTO(final String name, final String valueType, final String requirement, final String standardValue) {
        this.name = name;
        this.valueType = valueType;
        this.requirement = requirement;
        this.standardValue = standardValue;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getValueType() {
        return this.valueType;
    }
 
    public String getRequirement() {
        return this.requirement;
    }
 
    public String getStandardValue() {
        return this.standardValue;
    }
}