package com.qianwen.smartman.modules.mdc.dto; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/OpenTypeDTO.class */ public class OpenTypeDTO implements Serializable { private static final long serialVersionUID = -5070419077538654764L; private String type; private Integer open; public void setType(final String type) { this.type = type; } public void setOpen(final Integer open) { this.open = open; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OpenTypeDTO) { OpenTypeDTO other = (OpenTypeDTO) o; if (other.canEqual(this)) { Object this$open = getOpen(); Object other$open = other.getOpen(); if (this$open == null) { if (other$open != null) { return false; } } else if (!this$open.equals(other$open)) { return false; } Object this$type = getType(); Object other$type = other.getType(); return this$type == null ? other$type == null : this$type.equals(other$type); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OpenTypeDTO; } public int hashCode() { Object $open = getOpen(); int result = (1 * 59) + ($open == null ? 43 : $open.hashCode()); Object $type = getType(); return (result * 59) + ($type == null ? 43 : $type.hashCode()); } public String toString() { return "OpenTypeDTO(type=" + getType() + ", open=" + getOpen() + ")"; } public String getType() { return this.type; } public Integer getOpen() { return this.open; } }