package com.qianwen.smartman.modules.sync.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "OuterAppConfig对象", description = "blade_outer_app_config")
|
@TableName("blade_outer_app_config")
|
|
public class OuterAppConfig extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("企业微信企业corpId")
|
private String wxCorpId;
|
@ApiModelProperty("企业微信应用secret")
|
private String wxAppSecret;
|
@ApiModelProperty("企业微信通讯录secret")
|
private String wxBookSecret;
|
@ApiModelProperty("企业微信回调配置token")
|
private String wxCallbackToken;
|
@ApiModelProperty("企业微信应用的AgentId")
|
private String wxAgentId;
|
@ApiModelProperty("企业微信回调配置加解密aes_key")
|
private String wxAesKey;
|
@ApiModelProperty("钉钉应用key")
|
private String dingAppKey;
|
@ApiModelProperty("钉钉应用secret")
|
private String dingAppSecret;
|
@ApiModelProperty("钉钉加解密aes_key")
|
private String dingAesKey;
|
@ApiModelProperty("钉钉回调token")
|
private String dingCallbackToken;
|
@ApiModelProperty("钉钉企业corpId")
|
private String dingCorpId;
|
@ApiModelProperty("钉钉应用AgentId")
|
private String dingAgentId;
|
@ApiModelProperty("应用类型 1企业微信 2钉钉")
|
private Integer appType;
|
@ApiModelProperty("备注/说明")
|
private String remark;
|
@ApiModelProperty("上次同步时间")
|
private Date lastSyncTime;
|
@ApiModelProperty("第三方回调域名")
|
private String domainUrl;
|
|
public OuterAppConfig setWxCorpId(final String wxCorpId) {
|
this.wxCorpId = wxCorpId;
|
return this;
|
}
|
|
public OuterAppConfig setWxAppSecret(final String wxAppSecret) {
|
this.wxAppSecret = wxAppSecret;
|
return this;
|
}
|
|
public OuterAppConfig setWxBookSecret(final String wxBookSecret) {
|
this.wxBookSecret = wxBookSecret;
|
return this;
|
}
|
|
public OuterAppConfig setWxCallbackToken(final String wxCallbackToken) {
|
this.wxCallbackToken = wxCallbackToken;
|
return this;
|
}
|
|
public OuterAppConfig setWxAgentId(final String wxAgentId) {
|
this.wxAgentId = wxAgentId;
|
return this;
|
}
|
|
public OuterAppConfig setWxAesKey(final String wxAesKey) {
|
this.wxAesKey = wxAesKey;
|
return this;
|
}
|
|
public OuterAppConfig setDingAppKey(final String dingAppKey) {
|
this.dingAppKey = dingAppKey;
|
return this;
|
}
|
|
public OuterAppConfig setDingAppSecret(final String dingAppSecret) {
|
this.dingAppSecret = dingAppSecret;
|
return this;
|
}
|
|
public OuterAppConfig setDingAesKey(final String dingAesKey) {
|
this.dingAesKey = dingAesKey;
|
return this;
|
}
|
|
public OuterAppConfig setDingCallbackToken(final String dingCallbackToken) {
|
this.dingCallbackToken = dingCallbackToken;
|
return this;
|
}
|
|
public OuterAppConfig setDingCorpId(final String dingCorpId) {
|
this.dingCorpId = dingCorpId;
|
return this;
|
}
|
|
public OuterAppConfig setDingAgentId(final String dingAgentId) {
|
this.dingAgentId = dingAgentId;
|
return this;
|
}
|
|
public OuterAppConfig setAppType(final Integer appType) {
|
this.appType = appType;
|
return this;
|
}
|
|
public OuterAppConfig setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public OuterAppConfig setLastSyncTime(final Date lastSyncTime) {
|
this.lastSyncTime = lastSyncTime;
|
return this;
|
}
|
|
public OuterAppConfig setDomainUrl(final String domainUrl) {
|
this.domainUrl = domainUrl;
|
return this;
|
}
|
|
public String toString() {
|
return "OuterAppConfig(wxCorpId=" + getWxCorpId() + ", wxAppSecret=" + getWxAppSecret() + ", wxBookSecret=" + getWxBookSecret() + ", wxCallbackToken=" + getWxCallbackToken() + ", wxAgentId=" + getWxAgentId() + ", wxAesKey=" + getWxAesKey() + ", dingAppKey=" + getDingAppKey() + ", dingAppSecret=" + getDingAppSecret() + ", dingAesKey=" + getDingAesKey() + ", dingCallbackToken=" + getDingCallbackToken() + ", dingCorpId=" + getDingCorpId() + ", dingAgentId=" + getDingAgentId() + ", appType=" + getAppType() + ", remark=" + getRemark() + ", lastSyncTime=" + getLastSyncTime() + ", domainUrl=" + getDomainUrl() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OuterAppConfig) {
|
OuterAppConfig other = (OuterAppConfig) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$appType = getAppType();
|
Object other$appType = other.getAppType();
|
if (this$appType == null) {
|
if (other$appType != null) {
|
return false;
|
}
|
} else if (!this$appType.equals(other$appType)) {
|
return false;
|
}
|
Object this$wxCorpId = getWxCorpId();
|
Object other$wxCorpId = other.getWxCorpId();
|
if (this$wxCorpId == null) {
|
if (other$wxCorpId != null) {
|
return false;
|
}
|
} else if (!this$wxCorpId.equals(other$wxCorpId)) {
|
return false;
|
}
|
Object this$wxAppSecret = getWxAppSecret();
|
Object other$wxAppSecret = other.getWxAppSecret();
|
if (this$wxAppSecret == null) {
|
if (other$wxAppSecret != null) {
|
return false;
|
}
|
} else if (!this$wxAppSecret.equals(other$wxAppSecret)) {
|
return false;
|
}
|
Object this$wxBookSecret = getWxBookSecret();
|
Object other$wxBookSecret = other.getWxBookSecret();
|
if (this$wxBookSecret == null) {
|
if (other$wxBookSecret != null) {
|
return false;
|
}
|
} else if (!this$wxBookSecret.equals(other$wxBookSecret)) {
|
return false;
|
}
|
Object this$wxCallbackToken = getWxCallbackToken();
|
Object other$wxCallbackToken = other.getWxCallbackToken();
|
if (this$wxCallbackToken == null) {
|
if (other$wxCallbackToken != null) {
|
return false;
|
}
|
} else if (!this$wxCallbackToken.equals(other$wxCallbackToken)) {
|
return false;
|
}
|
Object this$wxAgentId = getWxAgentId();
|
Object other$wxAgentId = other.getWxAgentId();
|
if (this$wxAgentId == null) {
|
if (other$wxAgentId != null) {
|
return false;
|
}
|
} else if (!this$wxAgentId.equals(other$wxAgentId)) {
|
return false;
|
}
|
Object this$wxAesKey = getWxAesKey();
|
Object other$wxAesKey = other.getWxAesKey();
|
if (this$wxAesKey == null) {
|
if (other$wxAesKey != null) {
|
return false;
|
}
|
} else if (!this$wxAesKey.equals(other$wxAesKey)) {
|
return false;
|
}
|
Object this$dingAppKey = getDingAppKey();
|
Object other$dingAppKey = other.getDingAppKey();
|
if (this$dingAppKey == null) {
|
if (other$dingAppKey != null) {
|
return false;
|
}
|
} else if (!this$dingAppKey.equals(other$dingAppKey)) {
|
return false;
|
}
|
Object this$dingAppSecret = getDingAppSecret();
|
Object other$dingAppSecret = other.getDingAppSecret();
|
if (this$dingAppSecret == null) {
|
if (other$dingAppSecret != null) {
|
return false;
|
}
|
} else if (!this$dingAppSecret.equals(other$dingAppSecret)) {
|
return false;
|
}
|
Object this$dingAesKey = getDingAesKey();
|
Object other$dingAesKey = other.getDingAesKey();
|
if (this$dingAesKey == null) {
|
if (other$dingAesKey != null) {
|
return false;
|
}
|
} else if (!this$dingAesKey.equals(other$dingAesKey)) {
|
return false;
|
}
|
Object this$dingCallbackToken = getDingCallbackToken();
|
Object other$dingCallbackToken = other.getDingCallbackToken();
|
if (this$dingCallbackToken == null) {
|
if (other$dingCallbackToken != null) {
|
return false;
|
}
|
} else if (!this$dingCallbackToken.equals(other$dingCallbackToken)) {
|
return false;
|
}
|
Object this$dingCorpId = getDingCorpId();
|
Object other$dingCorpId = other.getDingCorpId();
|
if (this$dingCorpId == null) {
|
if (other$dingCorpId != null) {
|
return false;
|
}
|
} else if (!this$dingCorpId.equals(other$dingCorpId)) {
|
return false;
|
}
|
Object this$dingAgentId = getDingAgentId();
|
Object other$dingAgentId = other.getDingAgentId();
|
if (this$dingAgentId == null) {
|
if (other$dingAgentId != null) {
|
return false;
|
}
|
} else if (!this$dingAgentId.equals(other$dingAgentId)) {
|
return false;
|
}
|
Object this$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
return false;
|
}
|
Object this$lastSyncTime = getLastSyncTime();
|
Object other$lastSyncTime = other.getLastSyncTime();
|
if (this$lastSyncTime == null) {
|
if (other$lastSyncTime != null) {
|
return false;
|
}
|
} else if (!this$lastSyncTime.equals(other$lastSyncTime)) {
|
return false;
|
}
|
Object this$domainUrl = getDomainUrl();
|
Object other$domainUrl = other.getDomainUrl();
|
return this$domainUrl == null ? other$domainUrl == null : this$domainUrl.equals(other$domainUrl);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OuterAppConfig;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $appType = getAppType();
|
int result2 = (result * 59) + ($appType == null ? 43 : $appType.hashCode());
|
Object $wxCorpId = getWxCorpId();
|
int result3 = (result2 * 59) + ($wxCorpId == null ? 43 : $wxCorpId.hashCode());
|
Object $wxAppSecret = getWxAppSecret();
|
int result4 = (result3 * 59) + ($wxAppSecret == null ? 43 : $wxAppSecret.hashCode());
|
Object $wxBookSecret = getWxBookSecret();
|
int result5 = (result4 * 59) + ($wxBookSecret == null ? 43 : $wxBookSecret.hashCode());
|
Object $wxCallbackToken = getWxCallbackToken();
|
int result6 = (result5 * 59) + ($wxCallbackToken == null ? 43 : $wxCallbackToken.hashCode());
|
Object $wxAgentId = getWxAgentId();
|
int result7 = (result6 * 59) + ($wxAgentId == null ? 43 : $wxAgentId.hashCode());
|
Object $wxAesKey = getWxAesKey();
|
int result8 = (result7 * 59) + ($wxAesKey == null ? 43 : $wxAesKey.hashCode());
|
Object $dingAppKey = getDingAppKey();
|
int result9 = (result8 * 59) + ($dingAppKey == null ? 43 : $dingAppKey.hashCode());
|
Object $dingAppSecret = getDingAppSecret();
|
int result10 = (result9 * 59) + ($dingAppSecret == null ? 43 : $dingAppSecret.hashCode());
|
Object $dingAesKey = getDingAesKey();
|
int result11 = (result10 * 59) + ($dingAesKey == null ? 43 : $dingAesKey.hashCode());
|
Object $dingCallbackToken = getDingCallbackToken();
|
int result12 = (result11 * 59) + ($dingCallbackToken == null ? 43 : $dingCallbackToken.hashCode());
|
Object $dingCorpId = getDingCorpId();
|
int result13 = (result12 * 59) + ($dingCorpId == null ? 43 : $dingCorpId.hashCode());
|
Object $dingAgentId = getDingAgentId();
|
int result14 = (result13 * 59) + ($dingAgentId == null ? 43 : $dingAgentId.hashCode());
|
Object $remark = getRemark();
|
int result15 = (result14 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $lastSyncTime = getLastSyncTime();
|
int result16 = (result15 * 59) + ($lastSyncTime == null ? 43 : $lastSyncTime.hashCode());
|
Object $domainUrl = getDomainUrl();
|
return (result16 * 59) + ($domainUrl == null ? 43 : $domainUrl.hashCode());
|
}
|
|
public String getWxCorpId() {
|
return this.wxCorpId;
|
}
|
|
public String getWxAppSecret() {
|
return this.wxAppSecret;
|
}
|
|
public String getWxBookSecret() {
|
return this.wxBookSecret;
|
}
|
|
public String getWxCallbackToken() {
|
return this.wxCallbackToken;
|
}
|
|
public String getWxAgentId() {
|
return this.wxAgentId;
|
}
|
|
public String getWxAesKey() {
|
return this.wxAesKey;
|
}
|
|
public String getDingAppKey() {
|
return this.dingAppKey;
|
}
|
|
public String getDingAppSecret() {
|
return this.dingAppSecret;
|
}
|
|
public String getDingAesKey() {
|
return this.dingAesKey;
|
}
|
|
public String getDingCallbackToken() {
|
return this.dingCallbackToken;
|
}
|
|
public String getDingCorpId() {
|
return this.dingCorpId;
|
}
|
|
public String getDingAgentId() {
|
return this.dingAgentId;
|
}
|
|
public Integer getAppType() {
|
return this.appType;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public Date getLastSyncTime() {
|
return this.lastSyncTime;
|
}
|
|
public String getDomainUrl() {
|
return this.domainUrl;
|
}
|
}
|