package com.qianwen.smartman.modules.cps.vo; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationGroupVO.class */ public class WorkstationGroupVO implements Serializable { private static final long serialVersionUID = -8938927851683015090L; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("工位组id") private Long id; @ApiModelProperty("工位组名称") private String name; @ApiModelProperty("编码") private String code; @ApiModelProperty("组标签") private String groupTag; @ApiModelProperty("工位组上下级的路径") private String path; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationGroupVO$WorkstationGroupVOBuilder.class */ public static class WorkstationGroupVOBuilder { private Long id; private String name; private String code; private String groupTag; private String path; WorkstationGroupVOBuilder() { } public WorkstationGroupVOBuilder id(final Long id) { this.id = id; return this; } public WorkstationGroupVOBuilder name(final String name) { this.name = name; return this; } public WorkstationGroupVOBuilder code(final String code) { this.code = code; return this; } public WorkstationGroupVOBuilder groupTag(final String groupTag) { this.groupTag = groupTag; return this; } public WorkstationGroupVOBuilder path(final String path) { this.path = path; return this; } public WorkstationGroupVO build() { return new WorkstationGroupVO(this.id, this.name, this.code, this.groupTag, this.path); } public String toString() { return "WorkstationGroupVO.WorkstationGroupVOBuilder(id=" + this.id + ", name=" + this.name + ", code=" + this.code + ", groupTag=" + this.groupTag + ", path=" + this.path + ")"; } } public void setId(final Long id) { this.id = id; } public void setName(final String name) { this.name = name; } public void setCode(final String code) { this.code = code; } public void setGroupTag(final String groupTag) { this.groupTag = groupTag; } public void setPath(final String path) { this.path = path; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationGroupVO) { WorkstationGroupVO other = (WorkstationGroupVO) o; if (other.canEqual(this)) { 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$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$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$groupTag = getGroupTag(); Object other$groupTag = other.getGroupTag(); if (this$groupTag == null) { if (other$groupTag != null) { return false; } } else if (!this$groupTag.equals(other$groupTag)) { return false; } Object this$path = getPath(); Object other$path = other.getPath(); return this$path == null ? other$path == null : this$path.equals(other$path); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationGroupVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $name = getName(); int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode()); Object $code = getCode(); int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode()); Object $groupTag = getGroupTag(); int result4 = (result3 * 59) + ($groupTag == null ? 43 : $groupTag.hashCode()); Object $path = getPath(); return (result4 * 59) + ($path == null ? 43 : $path.hashCode()); } public String toString() { return "WorkstationGroupVO(id=" + getId() + ", name=" + getName() + ", code=" + getCode() + ", groupTag=" + getGroupTag() + ", path=" + getPath() + ")"; } public static WorkstationGroupVOBuilder builder() { return new WorkstationGroupVOBuilder(); } public WorkstationGroupVO(final Long id, final String name, final String code, final String groupTag, final String path) { this.id = id; this.name = name; this.code = code; this.groupTag = groupTag; this.path = path; } public WorkstationGroupVO() { } public Long getId() { return this.id; } public String getName() { return this.name; } public String getCode() { return this.code; } public String getGroupTag() { return this.groupTag; } public String getPath() { return this.path; } }