package com.qianwen.core.notify.provider.wechat.qy;
|
|
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/wechat/qy/WeixinQyProperties.class */
|
public class WeixinQyProperties {
|
private String corpid;
|
private String corpsecret;
|
private Integer agentid;
|
|
public void setCorpid(final String corpid) {
|
this.corpid = corpid;
|
}
|
|
public void setCorpsecret(final String corpsecret) {
|
this.corpsecret = corpsecret;
|
}
|
|
public void setAgentid(final Integer agentid) {
|
this.agentid = agentid;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WeixinQyProperties) {
|
WeixinQyProperties other = (WeixinQyProperties) o;
|
if (other.canEqual(this)) {
|
Object this$agentid = getAgentid();
|
Object other$agentid = other.getAgentid();
|
if (this$agentid == null) {
|
if (other$agentid != null) {
|
return false;
|
}
|
} else if (!this$agentid.equals(other$agentid)) {
|
return false;
|
}
|
Object this$corpid = getCorpid();
|
Object other$corpid = other.getCorpid();
|
if (this$corpid == null) {
|
if (other$corpid != null) {
|
return false;
|
}
|
} else if (!this$corpid.equals(other$corpid)) {
|
return false;
|
}
|
Object this$corpsecret = getCorpsecret();
|
Object other$corpsecret = other.getCorpsecret();
|
return this$corpsecret == null ? other$corpsecret == null : this$corpsecret.equals(other$corpsecret);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WeixinQyProperties;
|
}
|
|
public int hashCode() {
|
Object $agentid = getAgentid();
|
int result = (1 * 59) + ($agentid == null ? 43 : $agentid.hashCode());
|
Object $corpid = getCorpid();
|
int result2 = (result * 59) + ($corpid == null ? 43 : $corpid.hashCode());
|
Object $corpsecret = getCorpsecret();
|
return (result2 * 59) + ($corpsecret == null ? 43 : $corpsecret.hashCode());
|
}
|
|
public String toString() {
|
return "WeixinQyProperties(corpid=" + getCorpid() + ", corpsecret=" + getCorpsecret() + ", agentid=" + getAgentid() + ")";
|
}
|
|
public String getCorpid() {
|
return this.corpid;
|
}
|
|
public String getCorpsecret() {
|
return this.corpsecret;
|
}
|
|
public Integer getAgentid() {
|
return this.agentid;
|
}
|
}
|