package com.qianwen.smartman.modules.perf.dto; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/dto/WorkstationBO.class */ public class WorkstationBO implements Serializable { private static final long serialVersionUID = 533842187255167706L; @ApiModelProperty("工位id") private Long id; @ApiModelProperty("工位名称") private String workstationName; @ApiModelProperty("工位编号") private String workstationCode; @ApiModelProperty("记录id") private Long logId; @ApiModelProperty("头像") private String avatar; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/dto/WorkstationBO$WorkstationBOBuilder.class */ public static class WorkstationBOBuilder { private Long id; private String workstationName; private String workstationCode; private Long logId; private String avatar; WorkstationBOBuilder() { } public WorkstationBOBuilder id(final Long id) { this.id = id; return this; } public WorkstationBOBuilder workstationName(final String workstationName) { this.workstationName = workstationName; return this; } public WorkstationBOBuilder workstationCode(final String workstationCode) { this.workstationCode = workstationCode; return this; } public WorkstationBOBuilder logId(final Long logId) { this.logId = logId; return this; } public WorkstationBOBuilder avatar(final String avatar) { this.avatar = avatar; return this; } public WorkstationBO build() { return new WorkstationBO(this.id, this.workstationName, this.workstationCode, this.logId, this.avatar); } public String toString() { return "WorkstationBO.WorkstationBOBuilder(id=" + this.id + ", workstationName=" + this.workstationName + ", workstationCode=" + this.workstationCode + ", logId=" + this.logId + ", avatar=" + this.avatar + ")"; } } public void setId(final Long id) { this.id = id; } public void setWorkstationName(final String workstationName) { this.workstationName = workstationName; } public void setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; } public void setLogId(final Long logId) { this.logId = logId; } public void setAvatar(final String avatar) { this.avatar = avatar; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationBO) { WorkstationBO other = (WorkstationBO) 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$logId = getLogId(); Object other$logId = other.getLogId(); if (this$logId == null) { if (other$logId != null) { return false; } } else if (!this$logId.equals(other$logId)) { return false; } Object this$workstationName = getWorkstationName(); Object other$workstationName = other.getWorkstationName(); if (this$workstationName == null) { if (other$workstationName != null) { return false; } } else if (!this$workstationName.equals(other$workstationName)) { return false; } Object this$workstationCode = getWorkstationCode(); Object other$workstationCode = other.getWorkstationCode(); if (this$workstationCode == null) { if (other$workstationCode != null) { return false; } } else if (!this$workstationCode.equals(other$workstationCode)) { return false; } Object this$avatar = getAvatar(); Object other$avatar = other.getAvatar(); return this$avatar == null ? other$avatar == null : this$avatar.equals(other$avatar); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationBO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $logId = getLogId(); int result2 = (result * 59) + ($logId == null ? 43 : $logId.hashCode()); Object $workstationName = getWorkstationName(); int result3 = (result2 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $workstationCode = getWorkstationCode(); int result4 = (result3 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); Object $avatar = getAvatar(); return (result4 * 59) + ($avatar == null ? 43 : $avatar.hashCode()); } public String toString() { return "WorkstationBO(id=" + getId() + ", workstationName=" + getWorkstationName() + ", workstationCode=" + getWorkstationCode() + ", logId=" + getLogId() + ", avatar=" + getAvatar() + ")"; } public static WorkstationBOBuilder builder() { return new WorkstationBOBuilder(); } public WorkstationBO() { } public WorkstationBO(final Long id, final String workstationName, final String workstationCode, final Long logId, final String avatar) { this.id = id; this.workstationName = workstationName; this.workstationCode = workstationCode; this.logId = logId; this.avatar = avatar; } public Long getId() { return this.id; } public String getWorkstationName() { return this.workstationName; } public String getWorkstationCode() { return this.workstationCode; } public Long getLogId() { return this.logId; } public String getAvatar() { return this.avatar; } }