package com.qianwen.smartman.modules.notify.dto; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import java.util.Map; import com.qianwen.smartman.modules.notify.enums.NotifyState; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/dto/NotifyHistoryDTO.class */ public class NotifyHistoryDTO implements Serializable { @ApiModelProperty("主键") private String id; @ApiModelProperty("追溯ID") private String tranceId; @ApiModelProperty("通知ID") private String notifierId; @ApiModelProperty("通知状态") private NotifyState state; @ApiModelProperty("错误类型") private String errorType; @ApiModelProperty("异常栈") private String errorStack; @ApiModelProperty("模版ID") private String templateId; @ApiModelProperty("模版内容") private String template; @ApiModelProperty("上下文") private Map contextData; @ApiModelProperty("服务商") private String provider; @ApiModelProperty("通知类型") private String notifyType; @ApiModelProperty("通知时间") private Date notifyTime; @ApiModelProperty("重试次数") private Integer retryTimes; @ApiModelProperty("业务名称") private String businessName; @ApiModelProperty("通知类型名称") private String notifyTypeName; public NotifyHistoryDTO setId(final String id) { this.id = id; return this; } public NotifyHistoryDTO setTranceId(final String tranceId) { this.tranceId = tranceId; return this; } public NotifyHistoryDTO setNotifierId(final String notifierId) { this.notifierId = notifierId; return this; } public NotifyHistoryDTO setState(final NotifyState state) { this.state = state; return this; } public NotifyHistoryDTO setErrorType(final String errorType) { this.errorType = errorType; return this; } public NotifyHistoryDTO setErrorStack(final String errorStack) { this.errorStack = errorStack; return this; } public NotifyHistoryDTO setTemplateId(final String templateId) { this.templateId = templateId; return this; } public NotifyHistoryDTO setTemplate(final String template) { this.template = template; return this; } public NotifyHistoryDTO setContextData(final Map contextData) { this.contextData = contextData; return this; } public NotifyHistoryDTO setProvider(final String provider) { this.provider = provider; return this; } public NotifyHistoryDTO setNotifyType(final String notifyType) { this.notifyType = notifyType; return this; } public NotifyHistoryDTO setNotifyTime(final Date notifyTime) { this.notifyTime = notifyTime; return this; } public NotifyHistoryDTO setRetryTimes(final Integer retryTimes) { this.retryTimes = retryTimes; return this; } public NotifyHistoryDTO setBusinessName(final String businessName) { this.businessName = businessName; return this; } public NotifyHistoryDTO setNotifyTypeName(final String notifyTypeName) { this.notifyTypeName = notifyTypeName; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof NotifyHistoryDTO) { NotifyHistoryDTO other = (NotifyHistoryDTO) o; if (other.canEqual(this)) { Object this$retryTimes = getRetryTimes(); Object other$retryTimes = other.getRetryTimes(); if (this$retryTimes == null) { if (other$retryTimes != null) { return false; } } else if (!this$retryTimes.equals(other$retryTimes)) { return false; } 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$tranceId = getTranceId(); Object other$tranceId = other.getTranceId(); if (this$tranceId == null) { if (other$tranceId != null) { return false; } } else if (!this$tranceId.equals(other$tranceId)) { return false; } Object this$notifierId = getNotifierId(); Object other$notifierId = other.getNotifierId(); if (this$notifierId == null) { if (other$notifierId != null) { return false; } } else if (!this$notifierId.equals(other$notifierId)) { return false; } Object this$state = getState(); Object other$state = other.getState(); if (this$state == null) { if (other$state != null) { return false; } } else if (!this$state.equals(other$state)) { return false; } Object this$errorType = getErrorType(); Object other$errorType = other.getErrorType(); if (this$errorType == null) { if (other$errorType != null) { return false; } } else if (!this$errorType.equals(other$errorType)) { return false; } Object this$errorStack = getErrorStack(); Object other$errorStack = other.getErrorStack(); if (this$errorStack == null) { if (other$errorStack != null) { return false; } } else if (!this$errorStack.equals(other$errorStack)) { return false; } Object this$templateId = getTemplateId(); Object other$templateId = other.getTemplateId(); if (this$templateId == null) { if (other$templateId != null) { return false; } } else if (!this$templateId.equals(other$templateId)) { 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$contextData = getContextData(); Object other$contextData = other.getContextData(); if (this$contextData == null) { if (other$contextData != null) { return false; } } else if (!this$contextData.equals(other$contextData)) { return false; } Object this$provider = getProvider(); Object other$provider = other.getProvider(); if (this$provider == null) { if (other$provider != null) { return false; } } else if (!this$provider.equals(other$provider)) { 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$notifyTime = getNotifyTime(); Object other$notifyTime = other.getNotifyTime(); if (this$notifyTime == null) { if (other$notifyTime != null) { return false; } } else if (!this$notifyTime.equals(other$notifyTime)) { 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$notifyTypeName = getNotifyTypeName(); Object other$notifyTypeName = other.getNotifyTypeName(); return this$notifyTypeName == null ? other$notifyTypeName == null : this$notifyTypeName.equals(other$notifyTypeName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof NotifyHistoryDTO; } public int hashCode() { Object $retryTimes = getRetryTimes(); int result = (1 * 59) + ($retryTimes == null ? 43 : $retryTimes.hashCode()); Object $id = getId(); int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode()); Object $tranceId = getTranceId(); int result3 = (result2 * 59) + ($tranceId == null ? 43 : $tranceId.hashCode()); Object $notifierId = getNotifierId(); int result4 = (result3 * 59) + ($notifierId == null ? 43 : $notifierId.hashCode()); Object $state = getState(); int result5 = (result4 * 59) + ($state == null ? 43 : $state.hashCode()); Object $errorType = getErrorType(); int result6 = (result5 * 59) + ($errorType == null ? 43 : $errorType.hashCode()); Object $errorStack = getErrorStack(); int result7 = (result6 * 59) + ($errorStack == null ? 43 : $errorStack.hashCode()); Object $templateId = getTemplateId(); int result8 = (result7 * 59) + ($templateId == null ? 43 : $templateId.hashCode()); Object $template = getTemplate(); int result9 = (result8 * 59) + ($template == null ? 43 : $template.hashCode()); Object $contextData = getContextData(); int result10 = (result9 * 59) + ($contextData == null ? 43 : $contextData.hashCode()); Object $provider = getProvider(); int result11 = (result10 * 59) + ($provider == null ? 43 : $provider.hashCode()); Object $notifyType = getNotifyType(); int result12 = (result11 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode()); Object $notifyTime = getNotifyTime(); int result13 = (result12 * 59) + ($notifyTime == null ? 43 : $notifyTime.hashCode()); Object $businessName = getBusinessName(); int result14 = (result13 * 59) + ($businessName == null ? 43 : $businessName.hashCode()); Object $notifyTypeName = getNotifyTypeName(); return (result14 * 59) + ($notifyTypeName == null ? 43 : $notifyTypeName.hashCode()); } public String toString() { return "NotifyHistoryDTO(id=" + getId() + ", tranceId=" + getTranceId() + ", notifierId=" + getNotifierId() + ", state=" + getState() + ", errorType=" + getErrorType() + ", errorStack=" + getErrorStack() + ", templateId=" + getTemplateId() + ", template=" + getTemplate() + ", contextData=" + getContextData() + ", provider=" + getProvider() + ", notifyType=" + getNotifyType() + ", notifyTime=" + getNotifyTime() + ", retryTimes=" + getRetryTimes() + ", businessName=" + getBusinessName() + ", notifyTypeName=" + getNotifyTypeName() + ")"; } public String getId() { return this.id; } public String getTranceId() { return this.tranceId; } public String getNotifierId() { return this.notifierId; } public NotifyState getState() { return this.state; } public String getErrorType() { return this.errorType; } public String getErrorStack() { return this.errorStack; } public String getTemplateId() { return this.templateId; } public String getTemplate() { return this.template; } public Map getContextData() { return this.contextData; } public String getProvider() { return this.provider; } public String getNotifyType() { return this.notifyType; } public Date getNotifyTime() { return this.notifyTime; } public Integer getRetryTimes() { return this.retryTimes; } public String getBusinessName() { return this.businessName; } public String getNotifyTypeName() { return this.notifyTypeName; } }