package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class HierarchyVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("层级ID列表")
|
private List<Long> idList;
|
@ApiModelProperty("层级名称")
|
private String name;
|
|
public HierarchyVO setIdList(final List<Long> idList) {
|
this.idList = idList;
|
return this;
|
}
|
|
public HierarchyVO setName(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof HierarchyVO) {
|
HierarchyVO other = (HierarchyVO) o;
|
if (other.canEqual(this)) {
|
Object this$idList = getIdList();
|
Object other$idList = other.getIdList();
|
if (this$idList == null) {
|
if (other$idList != null) {
|
return false;
|
}
|
} else if (!this$idList.equals(other$idList)) {
|
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 HierarchyVO;
|
}
|
|
public int hashCode() {
|
Object $idList = getIdList();
|
int result = (1 * 59) + ($idList == null ? 43 : $idList.hashCode());
|
Object $name = getName();
|
return (result * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "HierarchyVO(idList=" + getIdList() + ", name=" + getName() + ")";
|
}
|
|
public List<Long> getIdList() {
|
return this.idList;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
}
|