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;
|
}
|
}
|