package com.qianwen.smartman.modules.notify.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.Size;
|
import com.qianwen.smartman.common.constant.ExcelConstant;
|
|
@ApiModel(value = "NotifySystemVo对象", description = "通知公告表")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/vo/NotifySystemVO.class */
|
public class NotifySystemVO implements Serializable {
|
@NotBlank(message = "来源Id不能为空")
|
@ApiModelProperty("来源Id")
|
@Size(max = 64, message = "来源Id长度不能超过64")
|
private String sourceId;
|
@NotBlank(message = "通知用户ID不能为空")
|
@ApiModelProperty("通知用户ID")
|
@Size(max = 64, message = "通知用户ID长度不能超过64")
|
private String notifyUser;
|
@ApiModelProperty("通知类型 1站内信 2公告")
|
private Integer notifyType;
|
@ApiModelProperty("通知时间")
|
private Date notifyTime;
|
@ApiModelProperty("主题名称")
|
@Size(max = 64, message = "主题名称长度不能超过64")
|
private String businessName;
|
@NotBlank(message = "主题标识,如:device_alarm不能为空")
|
@ApiModelProperty("主题标识,如:device_alarm")
|
@Size(max = 32, message = "主题标识,如:device_alarm长度不能超过32")
|
private String businessKey;
|
@ApiModelProperty("通知消息内容")
|
@Size(max = 65535, message = "通知消息内容长度不能超过65535")
|
private String message;
|
@ApiModelProperty("通知状态")
|
@Size(max = 32, message = "通知状态长度不能超过32")
|
private String state;
|
@Size(max = 1024, message = "长度不能超过1024")
|
private String description;
|
@NotBlank(message = ExcelConstant.REQUIRED_FAIL_TEMPLATE)
|
@Size(max = 64, message = "长度不能超过64")
|
private String id;
|
@ApiModelProperty("状态")
|
private Integer status;
|
@ApiModelProperty("公告类型")
|
private Integer category;
|
@ApiModelProperty("公告类型名称")
|
private String categoryName;
|
@ApiModelProperty("通知消息附件")
|
private String attachments;
|
|
public void setSourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
}
|
|
public void setNotifyUser(final String notifyUser) {
|
this.notifyUser = notifyUser;
|
}
|
|
public void setNotifyType(final Integer notifyType) {
|
this.notifyType = notifyType;
|
}
|
|
public void setNotifyTime(final Date notifyTime) {
|
this.notifyTime = notifyTime;
|
}
|
|
public void setBusinessName(final String businessName) {
|
this.businessName = businessName;
|
}
|
|
public void setBusinessKey(final String businessKey) {
|
this.businessKey = businessKey;
|
}
|
|
public void setMessage(final String message) {
|
this.message = message;
|
}
|
|
public void setState(final String state) {
|
this.state = state;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setCategory(final Integer category) {
|
this.category = category;
|
}
|
|
public void setCategoryName(final String categoryName) {
|
this.categoryName = categoryName;
|
}
|
|
public void setAttachments(final String attachments) {
|
this.attachments = attachments;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifySystemVO) {
|
NotifySystemVO other = (NotifySystemVO) o;
|
if (other.canEqual(this)) {
|
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$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
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$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$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$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$description = getDescription();
|
Object other$description = other.getDescription();
|
if (this$description == null) {
|
if (other$description != null) {
|
return false;
|
}
|
} else if (!this$description.equals(other$description)) {
|
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$categoryName = getCategoryName();
|
Object other$categoryName = other.getCategoryName();
|
if (this$categoryName == null) {
|
if (other$categoryName != null) {
|
return false;
|
}
|
} else if (!this$categoryName.equals(other$categoryName)) {
|
return false;
|
}
|
Object this$attachments = getAttachments();
|
Object other$attachments = other.getAttachments();
|
return this$attachments == null ? other$attachments == null : this$attachments.equals(other$attachments);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifySystemVO;
|
}
|
|
public int hashCode() {
|
Object $notifyType = getNotifyType();
|
int result = (1 * 59) + ($notifyType == null ? 43 : $notifyType.hashCode());
|
Object $status = getStatus();
|
int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $category = getCategory();
|
int result3 = (result2 * 59) + ($category == null ? 43 : $category.hashCode());
|
Object $sourceId = getSourceId();
|
int result4 = (result3 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
|
Object $notifyUser = getNotifyUser();
|
int result5 = (result4 * 59) + ($notifyUser == null ? 43 : $notifyUser.hashCode());
|
Object $notifyTime = getNotifyTime();
|
int result6 = (result5 * 59) + ($notifyTime == null ? 43 : $notifyTime.hashCode());
|
Object $businessName = getBusinessName();
|
int result7 = (result6 * 59) + ($businessName == null ? 43 : $businessName.hashCode());
|
Object $businessKey = getBusinessKey();
|
int result8 = (result7 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
|
Object $message = getMessage();
|
int result9 = (result8 * 59) + ($message == null ? 43 : $message.hashCode());
|
Object $state = getState();
|
int result10 = (result9 * 59) + ($state == null ? 43 : $state.hashCode());
|
Object $description = getDescription();
|
int result11 = (result10 * 59) + ($description == null ? 43 : $description.hashCode());
|
Object $id = getId();
|
int result12 = (result11 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $categoryName = getCategoryName();
|
int result13 = (result12 * 59) + ($categoryName == null ? 43 : $categoryName.hashCode());
|
Object $attachments = getAttachments();
|
return (result13 * 59) + ($attachments == null ? 43 : $attachments.hashCode());
|
}
|
|
public String toString() {
|
return "NotifySystemVO(sourceId=" + getSourceId() + ", notifyUser=" + getNotifyUser() + ", notifyType=" + getNotifyType() + ", notifyTime=" + getNotifyTime() + ", businessName=" + getBusinessName() + ", businessKey=" + getBusinessKey() + ", message=" + getMessage() + ", state=" + getState() + ", description=" + getDescription() + ", id=" + getId() + ", status=" + getStatus() + ", category=" + getCategory() + ", categoryName=" + getCategoryName() + ", attachments=" + getAttachments() + ")";
|
}
|
|
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 getMessage() {
|
return this.message;
|
}
|
|
public String getState() {
|
return this.state;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public Integer getCategory() {
|
return this.category;
|
}
|
|
public String getCategoryName() {
|
return this.categoryName;
|
}
|
|
public String getAttachments() {
|
return this.attachments;
|
}
|
}
|