package com.qianwen.smartman.modules.notify.dto;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/dto/BusinessNotifyDTO.class */
|
public class BusinessNotifyDTO implements Serializable {
|
private static final long serialVersionUID = -2281472287550301632L;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键")
|
private Long id;
|
@NotNull
|
@ApiModelProperty("业务key")
|
private String businessKey;
|
@ApiModelProperty("业务名称")
|
private String businessName;
|
@NotNull
|
@ApiModelProperty("通知配置")
|
private String notifyId;
|
@ApiModelProperty("通知名称")
|
private String notifyName;
|
@NotNull
|
@ApiModelProperty("通知类型")
|
private String notifyType;
|
@NotNull
|
@ApiModelProperty("通知模板")
|
private String notifyTemplateId;
|
@NotNull
|
@ApiModelProperty("通知模板名称")
|
private String notifyTemplateName;
|
@NotNull
|
@ApiModelProperty("模板内容")
|
private String template;
|
@ApiModelProperty("状态 1为启用 0为禁用")
|
private Integer status;
|
@ApiModelProperty("服务商名称")
|
private String providerName;
|
@ApiModelProperty("服务商类型")
|
private String providerType;
|
|
public BusinessNotifyDTO setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public BusinessNotifyDTO setBusinessKey(final String businessKey) {
|
this.businessKey = businessKey;
|
return this;
|
}
|
|
public BusinessNotifyDTO setBusinessName(final String businessName) {
|
this.businessName = businessName;
|
return this;
|
}
|
|
public BusinessNotifyDTO setNotifyId(final String notifyId) {
|
this.notifyId = notifyId;
|
return this;
|
}
|
|
public BusinessNotifyDTO setNotifyName(final String notifyName) {
|
this.notifyName = notifyName;
|
return this;
|
}
|
|
public BusinessNotifyDTO setNotifyType(final String notifyType) {
|
this.notifyType = notifyType;
|
return this;
|
}
|
|
public BusinessNotifyDTO setNotifyTemplateId(final String notifyTemplateId) {
|
this.notifyTemplateId = notifyTemplateId;
|
return this;
|
}
|
|
public BusinessNotifyDTO setNotifyTemplateName(final String notifyTemplateName) {
|
this.notifyTemplateName = notifyTemplateName;
|
return this;
|
}
|
|
public BusinessNotifyDTO setTemplate(final String template) {
|
this.template = template;
|
return this;
|
}
|
|
public BusinessNotifyDTO setStatus(final Integer status) {
|
this.status = status;
|
return this;
|
}
|
|
public BusinessNotifyDTO setProviderName(final String providerName) {
|
this.providerName = providerName;
|
return this;
|
}
|
|
public BusinessNotifyDTO setProviderType(final String providerType) {
|
this.providerType = providerType;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof BusinessNotifyDTO) {
|
BusinessNotifyDTO other = (BusinessNotifyDTO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$businessKey = getBusinessKey();
|
Object other$businessKey = other.getBusinessKey();
|
if (this$businessKey == null) {
|
if (other$businessKey != null) {
|
return false;
|
}
|
} else if (!this$businessKey.equals(other$businessKey)) {
|
return false;
|
}
|
Object this$businessName = getBusinessName();
|
Object other$businessName = other.getBusinessName();
|
if (this$businessName == null) {
|
if (other$businessName != null) {
|
return false;
|
}
|
} else if (!this$businessName.equals(other$businessName)) {
|
return false;
|
}
|
Object this$notifyId = getNotifyId();
|
Object other$notifyId = other.getNotifyId();
|
if (this$notifyId == null) {
|
if (other$notifyId != null) {
|
return false;
|
}
|
} else if (!this$notifyId.equals(other$notifyId)) {
|
return false;
|
}
|
Object this$notifyName = getNotifyName();
|
Object other$notifyName = other.getNotifyName();
|
if (this$notifyName == null) {
|
if (other$notifyName != null) {
|
return false;
|
}
|
} else if (!this$notifyName.equals(other$notifyName)) {
|
return false;
|
}
|
Object this$notifyType = getNotifyType();
|
Object other$notifyType = other.getNotifyType();
|
if (this$notifyType == null) {
|
if (other$notifyType != null) {
|
return false;
|
}
|
} else if (!this$notifyType.equals(other$notifyType)) {
|
return false;
|
}
|
Object this$notifyTemplateId = getNotifyTemplateId();
|
Object other$notifyTemplateId = other.getNotifyTemplateId();
|
if (this$notifyTemplateId == null) {
|
if (other$notifyTemplateId != null) {
|
return false;
|
}
|
} else if (!this$notifyTemplateId.equals(other$notifyTemplateId)) {
|
return false;
|
}
|
Object this$notifyTemplateName = getNotifyTemplateName();
|
Object other$notifyTemplateName = other.getNotifyTemplateName();
|
if (this$notifyTemplateName == null) {
|
if (other$notifyTemplateName != null) {
|
return false;
|
}
|
} else if (!this$notifyTemplateName.equals(other$notifyTemplateName)) {
|
return false;
|
}
|
Object this$template = getTemplate();
|
Object other$template = other.getTemplate();
|
if (this$template == null) {
|
if (other$template != null) {
|
return false;
|
}
|
} else if (!this$template.equals(other$template)) {
|
return false;
|
}
|
Object this$providerName = getProviderName();
|
Object other$providerName = other.getProviderName();
|
if (this$providerName == null) {
|
if (other$providerName != null) {
|
return false;
|
}
|
} else if (!this$providerName.equals(other$providerName)) {
|
return false;
|
}
|
Object this$providerType = getProviderType();
|
Object other$providerType = other.getProviderType();
|
return this$providerType == null ? other$providerType == null : this$providerType.equals(other$providerType);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof BusinessNotifyDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $businessKey = getBusinessKey();
|
int result3 = (result2 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
|
Object $businessName = getBusinessName();
|
int result4 = (result3 * 59) + ($businessName == null ? 43 : $businessName.hashCode());
|
Object $notifyId = getNotifyId();
|
int result5 = (result4 * 59) + ($notifyId == null ? 43 : $notifyId.hashCode());
|
Object $notifyName = getNotifyName();
|
int result6 = (result5 * 59) + ($notifyName == null ? 43 : $notifyName.hashCode());
|
Object $notifyType = getNotifyType();
|
int result7 = (result6 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
|
Object $notifyTemplateId = getNotifyTemplateId();
|
int result8 = (result7 * 59) + ($notifyTemplateId == null ? 43 : $notifyTemplateId.hashCode());
|
Object $notifyTemplateName = getNotifyTemplateName();
|
int result9 = (result8 * 59) + ($notifyTemplateName == null ? 43 : $notifyTemplateName.hashCode());
|
Object $template = getTemplate();
|
int result10 = (result9 * 59) + ($template == null ? 43 : $template.hashCode());
|
Object $providerName = getProviderName();
|
int result11 = (result10 * 59) + ($providerName == null ? 43 : $providerName.hashCode());
|
Object $providerType = getProviderType();
|
return (result11 * 59) + ($providerType == null ? 43 : $providerType.hashCode());
|
}
|
|
public String toString() {
|
return "BusinessNotifyDTO(id=" + getId() + ", businessKey=" + getBusinessKey() + ", businessName=" + getBusinessName() + ", notifyId=" + getNotifyId() + ", notifyName=" + getNotifyName() + ", notifyType=" + getNotifyType() + ", notifyTemplateId=" + getNotifyTemplateId() + ", notifyTemplateName=" + getNotifyTemplateName() + ", template=" + getTemplate() + ", status=" + getStatus() + ", providerName=" + getProviderName() + ", providerType=" + getProviderType() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getBusinessKey() {
|
return this.businessKey;
|
}
|
|
public String getBusinessName() {
|
return this.businessName;
|
}
|
|
public String getNotifyId() {
|
return this.notifyId;
|
}
|
|
public String getNotifyName() {
|
return this.notifyName;
|
}
|
|
public String getNotifyType() {
|
return this.notifyType;
|
}
|
|
public String getNotifyTemplateId() {
|
return this.notifyTemplateId;
|
}
|
|
public String getNotifyTemplateName() {
|
return this.notifyTemplateName;
|
}
|
|
public String getTemplate() {
|
return this.template;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public String getProviderName() {
|
return this.providerName;
|
}
|
|
public String getProviderType() {
|
return this.providerType;
|
}
|
}
|