package com.qianwen.smartman.modules.notify.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@ApiModel(value = "通知主题订阅", description = "通知主题订阅,status: 1.启用,2.禁用")
|
@TableName("blade_notify_subscribers")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/NotifySubscriberEntity.class */
|
public class NotifySubscriberEntity extends TenantEntity {
|
@ApiModelProperty("订阅者ID")
|
private String subscriber;
|
@ApiModelProperty("主题提供商标识,如:device_alarm")
|
private String businessKey;
|
@ApiModelProperty("订阅名称")
|
private String businessName;
|
@ApiModelProperty("邮件,短信,....")
|
private String notifyType;
|
@ApiModelProperty("描述说明")
|
private String description;
|
|
public void setSubscriber(final String subscriber) {
|
this.subscriber = subscriber;
|
}
|
|
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 setDescription(final String description) {
|
this.description = description;
|
}
|
|
public String toString() {
|
return "NotifySubscriberEntity(subscriber=" + getSubscriber() + ", businessKey=" + getBusinessKey() + ", businessName=" + getBusinessName() + ", notifyType=" + getNotifyType() + ", description=" + getDescription() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifySubscriberEntity) {
|
NotifySubscriberEntity other = (NotifySubscriberEntity) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$subscriber = getSubscriber();
|
Object other$subscriber = other.getSubscriber();
|
if (this$subscriber == null) {
|
if (other$subscriber != null) {
|
return false;
|
}
|
} else if (!this$subscriber.equals(other$subscriber)) {
|
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();
|
if (this$notifyType == null) {
|
if (other$notifyType != null) {
|
return false;
|
}
|
} else if (!this$notifyType.equals(other$notifyType)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
return this$description == null ? other$description == null : this$description.equals(other$description);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifySubscriberEntity;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $subscriber = getSubscriber();
|
int result2 = (result * 59) + ($subscriber == null ? 43 : $subscriber.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 $notifyType = getNotifyType();
|
int result5 = (result4 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
|
Object $description = getDescription();
|
return (result5 * 59) + ($description == null ? 43 : $description.hashCode());
|
}
|
|
public String getSubscriber() {
|
return this.subscriber;
|
}
|
|
public String getBusinessKey() {
|
return this.businessKey;
|
}
|
|
public String getBusinessName() {
|
return this.businessName;
|
}
|
|
public String getNotifyType() {
|
return this.notifyType;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
}
|