package com.qianwen.smartman.modules.notify.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/dto/NotifyConfigQueryDTO.class */
|
public class NotifyConfigQueryDTO implements Serializable {
|
@ApiModelProperty("配置名称")
|
private String name;
|
@ApiModelProperty("通知类型")
|
private String type;
|
@ApiModelProperty("服务提供商")
|
private String provider;
|
|
public NotifyConfigQueryDTO setName(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public NotifyConfigQueryDTO setType(final String type) {
|
this.type = type;
|
return this;
|
}
|
|
public NotifyConfigQueryDTO setProvider(final String provider) {
|
this.provider = provider;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifyConfigQueryDTO) {
|
NotifyConfigQueryDTO other = (NotifyConfigQueryDTO) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$provider = getProvider();
|
Object other$provider = other.getProvider();
|
return this$provider == null ? other$provider == null : this$provider.equals(other$provider);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifyConfigQueryDTO;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $type = getType();
|
int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $provider = getProvider();
|
return (result2 * 59) + ($provider == null ? 43 : $provider.hashCode());
|
}
|
|
public String toString() {
|
return "NotifyConfigQueryDTO(name=" + getName() + ", type=" + getType() + ", provider=" + getProvider() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public String getProvider() {
|
return this.provider;
|
}
|
}
|