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
package com.qianwen.smartman.modules.trace.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
 
@ApiModel(value = "NgReasonInfoVo对象", description = "NG原因维护信息表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/NgReasonInfoSubmitVO.class */
public class NgReasonInfoSubmitVO implements Serializable {
    @ApiModelProperty("租户ID")
    @Size(max = 12, message = "cps.ng.reason.tenantId.length.too.long")
    private String tenantId;
    @NotBlank(message = "cps.ng.reason.code.can.not.be.empty")
    @ApiModelProperty("原因编号")
    @Size(max = 255, message = "cps.ng.reason.reasonCode.length.too.long")
    private String reasonCode;
    @NotBlank(message = "cps.ng.reason.name.can.not.be.empty")
    @ApiModelProperty("原因名称")
    @Size(max = 64, message = "cps.ng.reason.reasonName.length.too.long")
    private String reasonName;
    @ApiModelProperty("备注")
    @Size(max = 255, message = "cps.ng.reason.remark.length.too.long")
    private String remark;
    @ApiModelProperty(value = "id", dataType = "java.lang.String")
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "组结构id", dataType = "java.lang.String")
    private Long groupId;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/NgReasonInfoSubmitVO$NgReasonInfoSubmitVOBuilder.class */
    public static class NgReasonInfoSubmitVOBuilder {
        private String tenantId;
        private String reasonCode;
        private String reasonName;
        private String remark;
        private Long id;
        private Long groupId;
 
        NgReasonInfoSubmitVOBuilder() {
        }
 
        public NgReasonInfoSubmitVOBuilder tenantId(final String tenantId) {
            this.tenantId = tenantId;
            return this;
        }
 
        public NgReasonInfoSubmitVOBuilder reasonCode(final String reasonCode) {
            this.reasonCode = reasonCode;
            return this;
        }
 
        public NgReasonInfoSubmitVOBuilder reasonName(final String reasonName) {
            this.reasonName = reasonName;
            return this;
        }
 
        public NgReasonInfoSubmitVOBuilder remark(final String remark) {
            this.remark = remark;
            return this;
        }
 
        public NgReasonInfoSubmitVOBuilder id(final Long id) {
            this.id = id;
            return this;
        }
 
        public NgReasonInfoSubmitVOBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public NgReasonInfoSubmitVO build() {
            return new NgReasonInfoSubmitVO(this.tenantId, this.reasonCode, this.reasonName, this.remark, this.id, this.groupId);
        }
 
        public String toString() {
            return "NgReasonInfoSubmitVO.NgReasonInfoSubmitVOBuilder(tenantId=" + this.tenantId + ", reasonCode=" + this.reasonCode + ", reasonName=" + this.reasonName + ", remark=" + this.remark + ", id=" + this.id + ", groupId=" + this.groupId + ")";
        }
    }
 
    public void setTenantId(final String tenantId) {
        this.tenantId = tenantId;
    }
 
    public void setReasonCode(final String reasonCode) {
        this.reasonCode = reasonCode;
    }
 
    public void setReasonName(final String reasonName) {
        this.reasonName = reasonName;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof NgReasonInfoSubmitVO) {
            NgReasonInfoSubmitVO other = (NgReasonInfoSubmitVO) 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$groupId = getGroupId();
                Object other$groupId = other.getGroupId();
                if (this$groupId == null) {
                    if (other$groupId != null) {
                        return false;
                    }
                } else if (!this$groupId.equals(other$groupId)) {
                    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$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();
                if (this$reasonName == null) {
                    if (other$reasonName != null) {
                        return false;
                    }
                } else if (!this$reasonName.equals(other$reasonName)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof NgReasonInfoSubmitVO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $groupId = getGroupId();
        int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $tenantId = getTenantId();
        int result3 = (result2 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $reasonCode = getReasonCode();
        int result4 = (result3 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode());
        Object $reasonName = getReasonName();
        int result5 = (result4 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode());
        Object $remark = getRemark();
        return (result5 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public String toString() {
        return "NgReasonInfoSubmitVO(tenantId=" + getTenantId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ", remark=" + getRemark() + ", id=" + getId() + ", groupId=" + getGroupId() + ")";
    }
 
    public static NgReasonInfoSubmitVOBuilder builder() {
        return new NgReasonInfoSubmitVOBuilder();
    }
 
    public NgReasonInfoSubmitVO(final String tenantId, final String reasonCode, final String reasonName, final String remark, final Long id, final Long groupId) {
        this.tenantId = tenantId;
        this.reasonCode = reasonCode;
        this.reasonName = reasonName;
        this.remark = remark;
        this.id = id;
        this.groupId = groupId;
    }
 
    public NgReasonInfoSubmitVO() {
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public String getReasonCode() {
        return this.reasonCode;
    }
 
    public String getReasonName() {
        return this.reasonName;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
}