package com.qianwen.smartman.modules.mdc.dto; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/AlarmDTO.class */ public class AlarmDTO implements Serializable { private static final long serialVersionUID = 4568550286435619112L; private String code; private String msg; private Long timestamp; private Integer level; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/AlarmDTO$AlarmDTOBuilder.class */ public static class AlarmDTOBuilder { private String code; private String msg; private Long timestamp; private Integer level; AlarmDTOBuilder() { } public AlarmDTOBuilder code(final String code) { this.code = code; return this; } public AlarmDTOBuilder msg(final String msg) { this.msg = msg; return this; } public AlarmDTOBuilder timestamp(final Long timestamp) { this.timestamp = timestamp; return this; } public AlarmDTOBuilder level(final Integer level) { this.level = level; return this; } public AlarmDTO build() { return new AlarmDTO(this.code, this.msg, this.timestamp, this.level); } public String toString() { return "AlarmDTO.AlarmDTOBuilder(code=" + this.code + ", msg=" + this.msg + ", timestamp=" + this.timestamp + ", level=" + this.level + ")"; } } public void setCode(final String code) { this.code = code; } public void setMsg(final String msg) { this.msg = msg; } public void setTimestamp(final Long timestamp) { this.timestamp = timestamp; } public void setLevel(final Integer level) { this.level = level; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof AlarmDTO) { AlarmDTO other = (AlarmDTO) 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$level = getLevel(); Object other$level = other.getLevel(); if (this$level == null) { if (other$level != null) { return false; } } else if (!this$level.equals(other$level)) { 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(); return this$msg == null ? other$msg == null : this$msg.equals(other$msg); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof AlarmDTO; } public int hashCode() { Object $timestamp = getTimestamp(); int result = (1 * 59) + ($timestamp == null ? 43 : $timestamp.hashCode()); Object $level = getLevel(); int result2 = (result * 59) + ($level == null ? 43 : $level.hashCode()); Object $code = getCode(); int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode()); Object $msg = getMsg(); return (result3 * 59) + ($msg == null ? 43 : $msg.hashCode()); } public String toString() { return "AlarmDTO(code=" + getCode() + ", msg=" + getMsg() + ", timestamp=" + getTimestamp() + ", level=" + getLevel() + ")"; } public static AlarmDTOBuilder builder() { return new AlarmDTOBuilder(); } public AlarmDTO() { } public AlarmDTO(final String code, final String msg, final Long timestamp, final Integer level) { this.code = code; this.msg = msg; this.timestamp = timestamp; this.level = level; } public String getCode() { return this.code; } public String getMsg() { return this.msg; } public Long getTimestamp() { return this.timestamp; } public Integer getLevel() { return this.level; } }