package com.qianwen.smartman.modules.dnc.dto; import java.io.Serializable; public class PathDto implements Serializable { private static final long serialVersionUID = -578304929944055495L; private String allPathId; private String allPathName; public void setAllPathId(final String allPathId) { this.allPathId = allPathId; } public void setAllPathName(final String allPathName) { this.allPathName = allPathName; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof PathDto) { PathDto other = (PathDto) o; if (other.canEqual(this)) { Object this$allPathId = getAllPathId(); Object other$allPathId = other.getAllPathId(); if (this$allPathId == null) { if (other$allPathId != null) { return false; } } else if (!this$allPathId.equals(other$allPathId)) { return false; } Object this$allPathName = getAllPathName(); Object other$allPathName = other.getAllPathName(); return this$allPathName == null ? other$allPathName == null : this$allPathName.equals(other$allPathName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof PathDto; } public int hashCode() { Object $allPathId = getAllPathId(); int result = (1 * 59) + ($allPathId == null ? 43 : $allPathId.hashCode()); Object $allPathName = getAllPathName(); return (result * 59) + ($allPathName == null ? 43 : $allPathName.hashCode()); } public String toString() { return "PathDto(allPathId=" + getAllPathId() + ", allPathName=" + getAllPathName() + ")"; } public PathDto(final String allPathId, final String allPathName) { this.allPathId = allPathId; this.allPathName = allPathName; } public PathDto() { } public String getAllPathId() { return this.allPathId; } public String getAllPathName() { return this.allPathName; } }