package com.qianwen.smartman.modules.andon.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/andon/vo/BindingDeviceTypeVO.class */ public class BindingDeviceTypeVO implements Serializable { private static final long serialVersionUID = 2784909608637756976L; @ApiModelProperty("机器类型编号") private String code; @ApiModelProperty("机器类型名称") private String name; public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BindingDeviceTypeVO) { BindingDeviceTypeVO other = (BindingDeviceTypeVO) o; if (other.canEqual(this)) { 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$name = getName(); Object other$name = other.getName(); return this$name == null ? other$name == null : this$name.equals(other$name); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BindingDeviceTypeVO; } public int hashCode() { Object $code = getCode(); int result = (1 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); return (result * 59) + ($name == null ? 43 : $name.hashCode()); } public String toString() { return "BindingDeviceTypeVO(code=" + getCode() + ", name=" + getName() + ")"; } public String getCode() { return this.code; } public String getName() { return this.name; } }