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_notice")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/Notice.class */
|
public class Notice extends TenantEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("标题")
|
private String title;
|
@ApiModelProperty("通知类型")
|
private Integer category;
|
@ApiModelProperty("内容")
|
private String content;
|
|
public void setTitle(final String title) {
|
this.title = title;
|
}
|
|
public void setCategory(final Integer category) {
|
this.category = category;
|
}
|
|
public void setContent(final String content) {
|
this.content = content;
|
}
|
|
public String toString() {
|
return "Notice(title=" + getTitle() + ", category=" + getCategory() + ", content=" + getContent() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof Notice) {
|
Notice other = (Notice) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$category = getCategory();
|
Object other$category = other.getCategory();
|
if (this$category == null) {
|
if (other$category != null) {
|
return false;
|
}
|
} else if (!this$category.equals(other$category)) {
|
return false;
|
}
|
Object this$title = getTitle();
|
Object other$title = other.getTitle();
|
if (this$title == null) {
|
if (other$title != null) {
|
return false;
|
}
|
} else if (!this$title.equals(other$title)) {
|
return false;
|
}
|
Object this$content = getContent();
|
Object other$content = other.getContent();
|
return this$content == null ? other$content == null : this$content.equals(other$content);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Notice;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $category = getCategory();
|
int result2 = (result * 59) + ($category == null ? 43 : $category.hashCode());
|
Object $title = getTitle();
|
int result3 = (result2 * 59) + ($title == null ? 43 : $title.hashCode());
|
Object $content = getContent();
|
return (result3 * 59) + ($content == null ? 43 : $content.hashCode());
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public Integer getCategory() {
|
return this.category;
|
}
|
|
public String getContent() {
|
return this.content;
|
}
|
}
|