package com.qianwen.smartman.modules.dnc.vo; import io.swagger.annotations.ApiModelProperty; import java.util.List; import org.assertj.core.util.Lists; import com.qianwen.core.tool.node.INode; import com.qianwen.core.tool.utils.Func; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncCatalogueAndArtBagTreeVO.class */ public class DncCatalogueAndArtBagTreeVO implements INode { @ApiModelProperty(value = "父主键", dataType = "java.lang.String") private Long parentId; @ApiModelProperty("工艺目录名称") private String name; @ApiModelProperty("全路径(包含自身)") private String allPath; @ApiModelProperty(value = "职权域id", dataType = "java.lang.String") private Long deptId; @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; @ApiModelProperty(value = "是否是工艺目录", dataType = "Boolean") private Boolean isGroup; @ApiModelProperty(value = "是否是工艺包", dataType = "Boolean") private Boolean isArtBag; @ApiModelProperty("工艺包id") private String artId; @ApiModelProperty("工艺包编号") private String code; @ApiModelProperty("工艺包名称") private String artName; private List children; private Boolean hasChildren; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncCatalogueAndArtBagTreeVO$DncCatalogueAndArtBagTreeVOBuilder.class */ public static class DncCatalogueAndArtBagTreeVOBuilder { private Long parentId; private String name; private String allPath; private Long deptId; private Long id; private Boolean isGroup; private Boolean isArtBag; private String artId; private String code; private String artName; private List children; private Boolean hasChildren; DncCatalogueAndArtBagTreeVOBuilder() { } public DncCatalogueAndArtBagTreeVOBuilder parentId(final Long parentId) { this.parentId = parentId; return this; } public DncCatalogueAndArtBagTreeVOBuilder name(final String name) { this.name = name; return this; } public DncCatalogueAndArtBagTreeVOBuilder allPath(final String allPath) { this.allPath = allPath; return this; } public DncCatalogueAndArtBagTreeVOBuilder deptId(final Long deptId) { this.deptId = deptId; return this; } public DncCatalogueAndArtBagTreeVOBuilder id(final Long id) { this.id = id; return this; } public DncCatalogueAndArtBagTreeVOBuilder isGroup(final Boolean isGroup) { this.isGroup = isGroup; return this; } public DncCatalogueAndArtBagTreeVOBuilder isArtBag(final Boolean isArtBag) { this.isArtBag = isArtBag; return this; } public DncCatalogueAndArtBagTreeVOBuilder artId(final String artId) { this.artId = artId; return this; } public DncCatalogueAndArtBagTreeVOBuilder code(final String code) { this.code = code; return this; } public DncCatalogueAndArtBagTreeVOBuilder artName(final String artName) { this.artName = artName; return this; } public DncCatalogueAndArtBagTreeVOBuilder children(final List children) { this.children = children; return this; } public DncCatalogueAndArtBagTreeVOBuilder hasChildren(final Boolean hasChildren) { this.hasChildren = hasChildren; return this; } public DncCatalogueAndArtBagTreeVO build() { return new DncCatalogueAndArtBagTreeVO(this.parentId, this.name, this.allPath, this.deptId, this.id, this.isGroup, this.isArtBag, this.artId, this.code, this.artName, this.children, this.hasChildren); } public String toString() { return "DncCatalogueAndArtBagTreeVO.DncCatalogueAndArtBagTreeVOBuilder(parentId=" + this.parentId + ", name=" + this.name + ", allPath=" + this.allPath + ", deptId=" + this.deptId + ", id=" + this.id + ", isGroup=" + this.isGroup + ", isArtBag=" + this.isArtBag + ", artId=" + this.artId + ", code=" + this.code + ", artName=" + this.artName + ", children=" + this.children + ", hasChildren=" + this.hasChildren + ")"; } } public void setParentId(final Long parentId) { this.parentId = parentId; } public void setName(final String name) { this.name = name; } public void setAllPath(final String allPath) { this.allPath = allPath; } public void setDeptId(final Long deptId) { this.deptId = deptId; } public void setId(final Long id) { this.id = id; } public void setIsGroup(final Boolean isGroup) { this.isGroup = isGroup; } public void setIsArtBag(final Boolean isArtBag) { this.isArtBag = isArtBag; } public void setArtId(final String artId) { this.artId = artId; } public void setCode(final String code) { this.code = code; } public void setArtName(final String artName) { this.artName = artName; } public void setChildren(final List children) { this.children = children; } public void setHasChildren(final Boolean hasChildren) { this.hasChildren = hasChildren; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DncCatalogueAndArtBagTreeVO) { DncCatalogueAndArtBagTreeVO other = (DncCatalogueAndArtBagTreeVO) o; if (other.canEqual(this)) { Object this$parentId = getParentId(); Object other$parentId = other.getParentId(); if (this$parentId == null) { if (other$parentId != null) { return false; } } else if (!this$parentId.equals(other$parentId)) { return false; } Object this$deptId = getDeptId(); Object other$deptId = other.getDeptId(); if (this$deptId == null) { if (other$deptId != null) { return false; } } else if (!this$deptId.equals(other$deptId)) { return false; } Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$isGroup = getIsGroup(); Object other$isGroup = other.getIsGroup(); if (this$isGroup == null) { if (other$isGroup != null) { return false; } } else if (!this$isGroup.equals(other$isGroup)) { return false; } Object this$isArtBag = getIsArtBag(); Object other$isArtBag = other.getIsArtBag(); if (this$isArtBag == null) { if (other$isArtBag != null) { return false; } } else if (!this$isArtBag.equals(other$isArtBag)) { return false; } Object this$hasChildren = getHasChildren(); Object other$hasChildren = other.getHasChildren(); if (this$hasChildren == null) { if (other$hasChildren != null) { return false; } } else if (!this$hasChildren.equals(other$hasChildren)) { return false; } Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$allPath = getAllPath(); Object other$allPath = other.getAllPath(); if (this$allPath == null) { if (other$allPath != null) { return false; } } else if (!this$allPath.equals(other$allPath)) { return false; } Object this$artId = getArtId(); Object other$artId = other.getArtId(); if (this$artId == null) { if (other$artId != null) { return false; } } else if (!this$artId.equals(other$artId)) { return false; } 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$artName = getArtName(); Object other$artName = other.getArtName(); if (this$artName == null) { if (other$artName != null) { return false; } } else if (!this$artName.equals(other$artName)) { return false; } Object this$children = getChildren(); Object other$children = other.getChildren(); return this$children == null ? other$children == null : this$children.equals(other$children); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DncCatalogueAndArtBagTreeVO; } public int hashCode() { Object $parentId = getParentId(); int result = (1 * 59) + ($parentId == null ? 43 : $parentId.hashCode()); Object $deptId = getDeptId(); int result2 = (result * 59) + ($deptId == null ? 43 : $deptId.hashCode()); Object $id = getId(); int result3 = (result2 * 59) + ($id == null ? 43 : $id.hashCode()); Object $isGroup = getIsGroup(); int result4 = (result3 * 59) + ($isGroup == null ? 43 : $isGroup.hashCode()); Object $isArtBag = getIsArtBag(); int result5 = (result4 * 59) + ($isArtBag == null ? 43 : $isArtBag.hashCode()); Object $hasChildren = getHasChildren(); int result6 = (result5 * 59) + ($hasChildren == null ? 43 : $hasChildren.hashCode()); Object $name = getName(); int result7 = (result6 * 59) + ($name == null ? 43 : $name.hashCode()); Object $allPath = getAllPath(); int result8 = (result7 * 59) + ($allPath == null ? 43 : $allPath.hashCode()); Object $artId = getArtId(); int result9 = (result8 * 59) + ($artId == null ? 43 : $artId.hashCode()); Object $code = getCode(); int result10 = (result9 * 59) + ($code == null ? 43 : $code.hashCode()); Object $artName = getArtName(); int result11 = (result10 * 59) + ($artName == null ? 43 : $artName.hashCode()); Object $children = getChildren(); return (result11 * 59) + ($children == null ? 43 : $children.hashCode()); } public String toString() { return "DncCatalogueAndArtBagTreeVO(parentId=" + getParentId() + ", name=" + getName() + ", allPath=" + getAllPath() + ", deptId=" + getDeptId() + ", id=" + getId() + ", isGroup=" + getIsGroup() + ", isArtBag=" + getIsArtBag() + ", artId=" + getArtId() + ", code=" + getCode() + ", artName=" + getArtName() + ", children=" + getChildren() + ", hasChildren=" + getHasChildren() + ")"; } DncCatalogueAndArtBagTreeVO(final Long parentId, final String name, final String allPath, final Long deptId, final Long id, final Boolean isGroup, final Boolean isArtBag, final String artId, final String code, final String artName, final List children, final Boolean hasChildren) { this.parentId = parentId; this.name = name; this.allPath = allPath; this.deptId = deptId; this.id = id; this.isGroup = isGroup; this.isArtBag = isArtBag; this.artId = artId; this.code = code; this.artName = artName; this.children = children; this.hasChildren = hasChildren; } public static DncCatalogueAndArtBagTreeVOBuilder builder() { return new DncCatalogueAndArtBagTreeVOBuilder(); } public Long getParentId() { return this.parentId; } public String getName() { return this.name; } public String getAllPath() { return this.allPath; } public Long getDeptId() { return this.deptId; } public Long getId() { return this.id; } public Boolean getIsGroup() { return this.isGroup; } public Boolean getIsArtBag() { return this.isArtBag; } public String getArtId() { return this.artId; } public String getCode() { return this.code; } public String getArtName() { return this.artName; } public List getChildren() { if (Func.isEmpty(this.children)) { this.children = Lists.newArrayList(); } return this.children; } public Boolean getHasChildren() { return Boolean.valueOf(getChildren().size() > 0); } }