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/WorkstationInGroupVO.class */ public class WorkstationInGroupVO implements Serializable { private static final long serialVersionUID = 586844474639515146L; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "工位组工位id", dataType = "Long") private Long id; @ApiModelProperty(value = "工位组工位父级id", dataType = "Long") private Long parentId; @ApiModelProperty("工位组工位父级名称") private String parentName; @ApiModelProperty(value = "工位组工位标题", dataType = "String") private String title; @ApiModelProperty(value = "是否是工位组", dataType = "Boolean") private Boolean isGroup; @ApiModelProperty(value = "是否是工位", dataType = "Boolean") private Boolean isWorkstation; @ApiModelProperty("工位组工位编号") private String code; @ApiModelProperty("组标签") private String groupTag; @ApiModelProperty("头像") private String avatar; @ApiModelProperty("是否支持文件写入 1 支持 0 不支持") private Integer supportCncRw; @ApiModelProperty("日历code") private String calendarCode; @ApiModelProperty("ftp目录") private String ftpCatalogue; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationInGroupVO$WorkstationInGroupVOBuilder.class */ public static class WorkstationInGroupVOBuilder { private Long id; private Long parentId; private String parentName; private String title; private Boolean isGroup; private Boolean isWorkstation; private String code; private String groupTag; private String avatar; private Integer supportCncRw; private String calendarCode; private String ftpCatalogue; WorkstationInGroupVOBuilder() { } public WorkstationInGroupVOBuilder id(final Long id) { this.id = id; return this; } public WorkstationInGroupVOBuilder parentId(final Long parentId) { this.parentId = parentId; return this; } public WorkstationInGroupVOBuilder parentName(final String parentName) { this.parentName = parentName; return this; } public WorkstationInGroupVOBuilder title(final String title) { this.title = title; return this; } public WorkstationInGroupVOBuilder isGroup(final Boolean isGroup) { this.isGroup = isGroup; return this; } public WorkstationInGroupVOBuilder isWorkstation(final Boolean isWorkstation) { this.isWorkstation = isWorkstation; return this; } public WorkstationInGroupVOBuilder code(final String code) { this.code = code; return this; } public WorkstationInGroupVOBuilder groupTag(final String groupTag) { this.groupTag = groupTag; return this; } public WorkstationInGroupVOBuilder avatar(final String avatar) { this.avatar = avatar; return this; } public WorkstationInGroupVOBuilder supportCncRw(final Integer supportCncRw) { this.supportCncRw = supportCncRw; return this; } public WorkstationInGroupVOBuilder calendarCode(final String calendarCode) { this.calendarCode = calendarCode; return this; } public WorkstationInGroupVOBuilder ftpCatalogue(final String ftpCatalogue) { this.ftpCatalogue = ftpCatalogue; return this; } public WorkstationInGroupVO build() { return new WorkstationInGroupVO(this.id, this.parentId, this.parentName, this.title, this.isGroup, this.isWorkstation, this.code, this.groupTag, this.avatar, this.supportCncRw, this.calendarCode, this.ftpCatalogue); } public String toString() { return "WorkstationInGroupVO.WorkstationInGroupVOBuilder(id=" + this.id + ", parentId=" + this.parentId + ", parentName=" + this.parentName + ", title=" + this.title + ", isGroup=" + this.isGroup + ", isWorkstation=" + this.isWorkstation + ", code=" + this.code + ", groupTag=" + this.groupTag + ", avatar=" + this.avatar + ", supportCncRw=" + this.supportCncRw + ", calendarCode=" + this.calendarCode + ", ftpCatalogue=" + this.ftpCatalogue + ")"; } } public void setId(final Long id) { this.id = id; } public void setParentId(final Long parentId) { this.parentId = parentId; } public void setParentName(final String parentName) { this.parentName = parentName; } public void setTitle(final String title) { this.title = title; } public void setIsGroup(final Boolean isGroup) { this.isGroup = isGroup; } public void setIsWorkstation(final Boolean isWorkstation) { this.isWorkstation = isWorkstation; } public void setCode(final String code) { this.code = code; } public void setGroupTag(final String groupTag) { this.groupTag = groupTag; } public void setAvatar(final String avatar) { this.avatar = avatar; } public void setSupportCncRw(final Integer supportCncRw) { this.supportCncRw = supportCncRw; } public void setCalendarCode(final String calendarCode) { this.calendarCode = calendarCode; } public void setFtpCatalogue(final String ftpCatalogue) { this.ftpCatalogue = ftpCatalogue; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationInGroupVO) { WorkstationInGroupVO other = (WorkstationInGroupVO) 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$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$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$isWorkstation = getIsWorkstation(); Object other$isWorkstation = other.getIsWorkstation(); if (this$isWorkstation == null) { if (other$isWorkstation != null) { return false; } } else if (!this$isWorkstation.equals(other$isWorkstation)) { return false; } Object this$supportCncRw = getSupportCncRw(); Object other$supportCncRw = other.getSupportCncRw(); if (this$supportCncRw == null) { if (other$supportCncRw != null) { return false; } } else if (!this$supportCncRw.equals(other$supportCncRw)) { return false; } Object this$parentName = getParentName(); Object other$parentName = other.getParentName(); if (this$parentName == null) { if (other$parentName != null) { return false; } } else if (!this$parentName.equals(other$parentName)) { return false; } Object this$title = getTitle(); Object other$title = other.getTitle(); if (this$title == null) { if (other$title != null) { return false; } } else if (!this$title.equals(other$title)) { 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$avatar = getAvatar(); Object other$avatar = other.getAvatar(); if (this$avatar == null) { if (other$avatar != null) { return false; } } else if (!this$avatar.equals(other$avatar)) { return false; } Object this$calendarCode = getCalendarCode(); Object other$calendarCode = other.getCalendarCode(); if (this$calendarCode == null) { if (other$calendarCode != null) { return false; } } else if (!this$calendarCode.equals(other$calendarCode)) { return false; } Object this$ftpCatalogue = getFtpCatalogue(); Object other$ftpCatalogue = other.getFtpCatalogue(); return this$ftpCatalogue == null ? other$ftpCatalogue == null : this$ftpCatalogue.equals(other$ftpCatalogue); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationInGroupVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $parentId = getParentId(); int result2 = (result * 59) + ($parentId == null ? 43 : $parentId.hashCode()); Object $isGroup = getIsGroup(); int result3 = (result2 * 59) + ($isGroup == null ? 43 : $isGroup.hashCode()); Object $isWorkstation = getIsWorkstation(); int result4 = (result3 * 59) + ($isWorkstation == null ? 43 : $isWorkstation.hashCode()); Object $supportCncRw = getSupportCncRw(); int result5 = (result4 * 59) + ($supportCncRw == null ? 43 : $supportCncRw.hashCode()); Object $parentName = getParentName(); int result6 = (result5 * 59) + ($parentName == null ? 43 : $parentName.hashCode()); Object $title = getTitle(); int result7 = (result6 * 59) + ($title == null ? 43 : $title.hashCode()); Object $code = getCode(); int result8 = (result7 * 59) + ($code == null ? 43 : $code.hashCode()); Object $groupTag = getGroupTag(); int result9 = (result8 * 59) + ($groupTag == null ? 43 : $groupTag.hashCode()); Object $avatar = getAvatar(); int result10 = (result9 * 59) + ($avatar == null ? 43 : $avatar.hashCode()); Object $calendarCode = getCalendarCode(); int result11 = (result10 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode()); Object $ftpCatalogue = getFtpCatalogue(); return (result11 * 59) + ($ftpCatalogue == null ? 43 : $ftpCatalogue.hashCode()); } public String toString() { return "WorkstationInGroupVO(id=" + getId() + ", parentId=" + getParentId() + ", parentName=" + getParentName() + ", title=" + getTitle() + ", isGroup=" + getIsGroup() + ", isWorkstation=" + getIsWorkstation() + ", code=" + getCode() + ", groupTag=" + getGroupTag() + ", avatar=" + getAvatar() + ", supportCncRw=" + getSupportCncRw() + ", calendarCode=" + getCalendarCode() + ", ftpCatalogue=" + getFtpCatalogue() + ")"; } public static WorkstationInGroupVOBuilder builder() { return new WorkstationInGroupVOBuilder(); } public WorkstationInGroupVO(final Long id, final Long parentId, final String parentName, final String title, final Boolean isGroup, final Boolean isWorkstation, final String code, final String groupTag, final String avatar, final Integer supportCncRw, final String calendarCode, final String ftpCatalogue) { this.id = id; this.parentId = parentId; this.parentName = parentName; this.title = title; this.isGroup = isGroup; this.isWorkstation = isWorkstation; this.code = code; this.groupTag = groupTag; this.avatar = avatar; this.supportCncRw = supportCncRw; this.calendarCode = calendarCode; this.ftpCatalogue = ftpCatalogue; } public WorkstationInGroupVO() { } public Long getId() { return this.id; } public Long getParentId() { return this.parentId; } public String getParentName() { return this.parentName; } public String getTitle() { return this.title; } public Boolean getIsGroup() { return this.isGroup; } public Boolean getIsWorkstation() { return this.isWorkstation; } public String getCode() { return this.code; } public String getGroupTag() { return this.groupTag; } public String getAvatar() { return this.avatar; } public Integer getSupportCncRw() { return this.supportCncRw; } public String getCalendarCode() { return this.calendarCode; } public String getFtpCatalogue() { return this.ftpCatalogue; } }