package com.qianwen.smartman.modules.cps.message.dto; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/message/dto/AlarmInfoDTO.class */ public class AlarmInfoDTO { private String code; private String msg; private String level; private Long timestamp; public void setCode(final String code) { this.code = code; } public void setMsg(final String msg) { this.msg = msg; } public void setLevel(final String level) { this.level = level; } public void setTimestamp(final Long timestamp) { this.timestamp = timestamp; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof AlarmInfoDTO) { AlarmInfoDTO other = (AlarmInfoDTO) o; if (other.canEqual(this)) { Object this$timestamp = getTimestamp(); Object other$timestamp = other.getTimestamp(); if (this$timestamp == null) { if (other$timestamp != null) { return false; } } else if (!this$timestamp.equals(other$timestamp)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$msg = getMsg(); Object other$msg = other.getMsg(); if (this$msg == null) { if (other$msg != null) { return false; } } else if (!this$msg.equals(other$msg)) { return false; } Object this$level = getLevel(); Object other$level = other.getLevel(); return this$level == null ? other$level == null : this$level.equals(other$level); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof AlarmInfoDTO; } public int hashCode() { Object $timestamp = getTimestamp(); int result = (1 * 59) + ($timestamp == null ? 43 : $timestamp.hashCode()); Object $code = getCode(); int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode()); Object $msg = getMsg(); int result3 = (result2 * 59) + ($msg == null ? 43 : $msg.hashCode()); Object $level = getLevel(); return (result3 * 59) + ($level == null ? 43 : $level.hashCode()); } public String toString() { return "AlarmInfoDTO(code=" + getCode() + ", msg=" + getMsg() + ", level=" + getLevel() + ", timestamp=" + getTimestamp() + ")"; } public String getCode() { return this.code; } public String getMsg() { return this.msg; } public String getLevel() { return this.level; } public Long getTimestamp() { return this.timestamp; } }