package com.qianwen.smartman.modules.notify.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "NotifySystem对象", description = "通知公告表")
|
@TableName("blade_notify_system")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/NotifySystem.class */
|
public class NotifySystem extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("来源Id")
|
private String sourceId;
|
@ApiModelProperty("通知用户ID")
|
private String notifyUser;
|
@ApiModelProperty("通知类型 1站内信 2公告")
|
private Integer notifyType;
|
@ApiModelProperty("通知时间")
|
private Date notifyTime;
|
@ApiModelProperty("主题名称")
|
private String businessName;
|
@ApiModelProperty("主题标识,如:device_alarm")
|
private String businessKey;
|
@ApiModelProperty("通知消息附件")
|
private String attachments;
|
@ApiModelProperty("通知消息内容")
|
private String message;
|
private String description;
|
|
public NotifySystem setSourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
return this;
|
}
|
|
public NotifySystem setNotifyUser(final String notifyUser) {
|
this.notifyUser = notifyUser;
|
return this;
|
}
|
|
public NotifySystem setNotifyType(final Integer notifyType) {
|
this.notifyType = notifyType;
|
return this;
|
}
|
|
public NotifySystem setNotifyTime(final Date notifyTime) {
|
this.notifyTime = notifyTime;
|
return this;
|
}
|
|
public NotifySystem setBusinessName(final String businessName) {
|
this.businessName = businessName;
|
return this;
|
}
|
|
public NotifySystem setBusinessKey(final String businessKey) {
|
this.businessKey = businessKey;
|
return this;
|
}
|
|
public NotifySystem setAttachments(final String attachments) {
|
this.attachments = attachments;
|
return this;
|
}
|
|
public NotifySystem setMessage(final String message) {
|
this.message = message;
|
return this;
|
}
|
|
public NotifySystem setDescription(final String description) {
|
this.description = description;
|
return this;
|
}
|
|
public String toString() {
|
return "NotifySystem(sourceId=" + getSourceId() + ", notifyUser=" + getNotifyUser() + ", notifyType=" + getNotifyType() + ", notifyTime=" + getNotifyTime() + ", businessName=" + getBusinessName() + ", businessKey=" + getBusinessKey() + ", attachments=" + getAttachments() + ", message=" + getMessage() + ", description=" + getDescription() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifySystem) {
|
NotifySystem other = (NotifySystem) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$sourceId = getSourceId();
|
Object other$sourceId = other.getSourceId();
|
if (this$sourceId == null) {
|
if (other$sourceId != null) {
|
return false;
|
}
|
} else if (!this$sourceId.equals(other$sourceId)) {
|
return false;
|
}
|
Object this$notifyUser = getNotifyUser();
|
Object other$notifyUser = other.getNotifyUser();
|
if (this$notifyUser == null) {
|
if (other$notifyUser != null) {
|
return false;
|
}
|
} else if (!this$notifyUser.equals(other$notifyUser)) {
|
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$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$attachments = getAttachments();
|
Object other$attachments = other.getAttachments();
|
if (this$attachments == null) {
|
if (other$attachments != null) {
|
return false;
|
}
|
} else if (!this$attachments.equals(other$attachments)) {
|
return false;
|
}
|
Object this$message = getMessage();
|
Object other$message = other.getMessage();
|
if (this$message == null) {
|
if (other$message != null) {
|
return false;
|
}
|
} else if (!this$message.equals(other$message)) {
|
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 NotifySystem;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $notifyType = getNotifyType();
|
int result2 = (result * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
|
Object $sourceId = getSourceId();
|
int result3 = (result2 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
|
Object $notifyUser = getNotifyUser();
|
int result4 = (result3 * 59) + ($notifyUser == null ? 43 : $notifyUser.hashCode());
|
Object $notifyTime = getNotifyTime();
|
int result5 = (result4 * 59) + ($notifyTime == null ? 43 : $notifyTime.hashCode());
|
Object $businessName = getBusinessName();
|
int result6 = (result5 * 59) + ($businessName == null ? 43 : $businessName.hashCode());
|
Object $businessKey = getBusinessKey();
|
int result7 = (result6 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
|
Object $attachments = getAttachments();
|
int result8 = (result7 * 59) + ($attachments == null ? 43 : $attachments.hashCode());
|
Object $message = getMessage();
|
int result9 = (result8 * 59) + ($message == null ? 43 : $message.hashCode());
|
Object $description = getDescription();
|
return (result9 * 59) + ($description == null ? 43 : $description.hashCode());
|
}
|
|
public String getSourceId() {
|
return this.sourceId;
|
}
|
|
public String getNotifyUser() {
|
return this.notifyUser;
|
}
|
|
public Integer getNotifyType() {
|
return this.notifyType;
|
}
|
|
public Date getNotifyTime() {
|
return this.notifyTime;
|
}
|
|
public String getBusinessName() {
|
return this.businessName;
|
}
|
|
public String getBusinessKey() {
|
return this.businessKey;
|
}
|
|
public String getAttachments() {
|
return this.attachments;
|
}
|
|
public String getMessage() {
|
return this.message;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
}
|