package com.qianwen.smartman.modules.notify.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.tenant.mp.TenantEntity; @TableName("blade_business_notify") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/BusinessNotify.class */ public class BusinessNotify extends TenantEntity { @ApiModelProperty("业务key") private String businessKey; @ApiModelProperty("业务名称") private String businessName; @ApiModelProperty("通知类型") private String notifyType; @ApiModelProperty("通知配置") private Long notifyId; @ApiModelProperty("通知模板") private Long notifyTemplateId; public void setBusinessKey(final String businessKey) { this.businessKey = businessKey; } public void setBusinessName(final String businessName) { this.businessName = businessName; } public void setNotifyType(final String notifyType) { this.notifyType = notifyType; } public void setNotifyId(final Long notifyId) { this.notifyId = notifyId; } public void setNotifyTemplateId(final Long notifyTemplateId) { this.notifyTemplateId = notifyTemplateId; } public String toString() { return "BusinessNotify(businessKey=" + getBusinessKey() + ", businessName=" + getBusinessName() + ", notifyType=" + getNotifyType() + ", notifyId=" + getNotifyId() + ", notifyTemplateId=" + getNotifyTemplateId() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BusinessNotify) { BusinessNotify other = (BusinessNotify) o; if (other.canEqual(this) && super.equals(o)) { 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$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$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$notifyType = getNotifyType(); Object other$notifyType = other.getNotifyType(); return this$notifyType == null ? other$notifyType == null : this$notifyType.equals(other$notifyType); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BusinessNotify; } public int hashCode() { int result = super.hashCode(); Object $notifyId = getNotifyId(); int result2 = (result * 59) + ($notifyId == null ? 43 : $notifyId.hashCode()); Object $notifyTemplateId = getNotifyTemplateId(); int result3 = (result2 * 59) + ($notifyTemplateId == null ? 43 : $notifyTemplateId.hashCode()); Object $businessKey = getBusinessKey(); int result4 = (result3 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode()); Object $businessName = getBusinessName(); int result5 = (result4 * 59) + ($businessName == null ? 43 : $businessName.hashCode()); Object $notifyType = getNotifyType(); return (result5 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode()); } public String getBusinessKey() { return this.businessKey; } public String getBusinessName() { return this.businessName; } public String getNotifyType() { return this.notifyType; } public Long getNotifyId() { return this.notifyId; } public Long getNotifyTemplateId() { return this.notifyTemplateId; } }