yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
package com.qianwen.smartman.modules.sync.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@ApiModel("立即同步结果返回VO")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/sync/vo/SyncResultVO.class */
public class SyncResultVO implements Serializable {
    @ApiModelProperty("用户同步结果")
    private Boolean userResult;
    @ApiModelProperty("部门同步结果")
    private Boolean groupResult;
    @ApiModelProperty("职位(角色)同步结果")
    private Boolean postResult;
    @ApiModelProperty("用户同步失败原因")
    private String userReason;
    @ApiModelProperty("部门同步失败原因")
    private String groupReason;
    @ApiModelProperty("职位(角色)同步失败原因")
    private String postReason;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/sync/vo/SyncResultVO$SyncResultVOBuilder.class */
    public static class SyncResultVOBuilder {
        private Boolean userResult;
        private Boolean groupResult;
        private Boolean postResult;
        private String userReason;
        private String groupReason;
        private String postReason;
 
        SyncResultVOBuilder() {
        }
 
        public SyncResultVOBuilder userResult(final Boolean userResult) {
            this.userResult = userResult;
            return this;
        }
 
        public SyncResultVOBuilder groupResult(final Boolean groupResult) {
            this.groupResult = groupResult;
            return this;
        }
 
        public SyncResultVOBuilder postResult(final Boolean postResult) {
            this.postResult = postResult;
            return this;
        }
 
        public SyncResultVOBuilder userReason(final String userReason) {
            this.userReason = userReason;
            return this;
        }
 
        public SyncResultVOBuilder groupReason(final String groupReason) {
            this.groupReason = groupReason;
            return this;
        }
 
        public SyncResultVOBuilder postReason(final String postReason) {
            this.postReason = postReason;
            return this;
        }
 
        public SyncResultVO build() {
            return new SyncResultVO(this.userResult, this.groupResult, this.postResult, this.userReason, this.groupReason, this.postReason);
        }
 
        public String toString() {
            return "SyncResultVO.SyncResultVOBuilder(userResult=" + this.userResult + ", groupResult=" + this.groupResult + ", postResult=" + this.postResult + ", userReason=" + this.userReason + ", groupReason=" + this.groupReason + ", postReason=" + this.postReason + ")";
        }
    }
 
    public static SyncResultVOBuilder builder() {
        return new SyncResultVOBuilder();
    }
 
    public SyncResultVO(final Boolean userResult, final Boolean groupResult, final Boolean postResult, final String userReason, final String groupReason, final String postReason) {
        this.userResult = true;
        this.groupResult = true;
        this.postResult = true;
        this.userResult = userResult;
        this.groupResult = groupResult;
        this.postResult = postResult;
        this.userReason = userReason;
        this.groupReason = groupReason;
        this.postReason = postReason;
    }
 
    public SyncResultVO() {
        this.userResult = true;
        this.groupResult = true;
        this.postResult = true;
    }
 
    public void setUserResult(final Boolean userResult) {
        this.userResult = userResult;
    }
 
    public void setGroupResult(final Boolean groupResult) {
        this.groupResult = groupResult;
    }
 
    public void setPostResult(final Boolean postResult) {
        this.postResult = postResult;
    }
 
    public void setUserReason(final String userReason) {
        this.userReason = userReason;
    }
 
    public void setGroupReason(final String groupReason) {
        this.groupReason = groupReason;
    }
 
    public void setPostReason(final String postReason) {
        this.postReason = postReason;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof SyncResultVO) {
            SyncResultVO other = (SyncResultVO) o;
            if (other.canEqual(this)) {
                Object this$userResult = getUserResult();
                Object other$userResult = other.getUserResult();
                if (this$userResult == null) {
                    if (other$userResult != null) {
                        return false;
                    }
                } else if (!this$userResult.equals(other$userResult)) {
                    return false;
                }
                Object this$groupResult = getGroupResult();
                Object other$groupResult = other.getGroupResult();
                if (this$groupResult == null) {
                    if (other$groupResult != null) {
                        return false;
                    }
                } else if (!this$groupResult.equals(other$groupResult)) {
                    return false;
                }
                Object this$postResult = getPostResult();
                Object other$postResult = other.getPostResult();
                if (this$postResult == null) {
                    if (other$postResult != null) {
                        return false;
                    }
                } else if (!this$postResult.equals(other$postResult)) {
                    return false;
                }
                Object this$userReason = getUserReason();
                Object other$userReason = other.getUserReason();
                if (this$userReason == null) {
                    if (other$userReason != null) {
                        return false;
                    }
                } else if (!this$userReason.equals(other$userReason)) {
                    return false;
                }
                Object this$groupReason = getGroupReason();
                Object other$groupReason = other.getGroupReason();
                if (this$groupReason == null) {
                    if (other$groupReason != null) {
                        return false;
                    }
                } else if (!this$groupReason.equals(other$groupReason)) {
                    return false;
                }
                Object this$postReason = getPostReason();
                Object other$postReason = other.getPostReason();
                return this$postReason == null ? other$postReason == null : this$postReason.equals(other$postReason);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof SyncResultVO;
    }
 
    public int hashCode() {
        Object $userResult = getUserResult();
        int result = (1 * 59) + ($userResult == null ? 43 : $userResult.hashCode());
        Object $groupResult = getGroupResult();
        int result2 = (result * 59) + ($groupResult == null ? 43 : $groupResult.hashCode());
        Object $postResult = getPostResult();
        int result3 = (result2 * 59) + ($postResult == null ? 43 : $postResult.hashCode());
        Object $userReason = getUserReason();
        int result4 = (result3 * 59) + ($userReason == null ? 43 : $userReason.hashCode());
        Object $groupReason = getGroupReason();
        int result5 = (result4 * 59) + ($groupReason == null ? 43 : $groupReason.hashCode());
        Object $postReason = getPostReason();
        return (result5 * 59) + ($postReason == null ? 43 : $postReason.hashCode());
    }
 
    public String toString() {
        return "SyncResultVO(userResult=" + getUserResult() + ", groupResult=" + getGroupResult() + ", postResult=" + getPostResult() + ", userReason=" + getUserReason() + ", groupReason=" + getGroupReason() + ", postReason=" + getPostReason() + ")";
    }
 
    public Boolean getUserResult() {
        return this.userResult;
    }
 
    public Boolean getGroupResult() {
        return this.groupResult;
    }
 
    public Boolean getPostResult() {
        return this.postResult;
    }
 
    public String getUserReason() {
        return this.userReason;
    }
 
    public String getGroupReason() {
        return this.groupReason;
    }
 
    public String getPostReason() {
        return this.postReason;
    }
}