package com.qianwen.smartman.modules.cps.dto; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/KeyNameDTO.class */ public class KeyNameDTO implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty("key") private String key; @ApiModelProperty("名称") private String name; public void setKey(final String key) { this.key = key; } public void setName(final String name) { this.name = name; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof KeyNameDTO) { KeyNameDTO other = (KeyNameDTO) o; if (other.canEqual(this)) { Object this$key = getKey(); Object other$key = other.getKey(); if (this$key == null) { if (other$key != null) { return false; } } else if (!this$key.equals(other$key)) { 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 KeyNameDTO; } public int hashCode() { Object $key = getKey(); int result = (1 * 59) + ($key == null ? 43 : $key.hashCode()); Object $name = getName(); return (result * 59) + ($name == null ? 43 : $name.hashCode()); } public String toString() { return "KeyNameDTO(key=" + getKey() + ", name=" + getName() + ")"; } public KeyNameDTO(final String key, final String name) { this.key = key; this.name = name; } public KeyNameDTO() { } public String getKey() { return this.key; } public String getName() { return this.name; } }