package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MachineVO.class */ public class MachineVO implements Serializable { private static final long serialVersionUID = -883848031177958203L; @ApiModelProperty("id") public Long id; @ApiModelProperty("扩展id") public String extendId; @ApiModelProperty("机器编号") private String machineCode; @ApiModelProperty("机器名称") private String machineName; @ApiModelProperty("采集开关:0关/1开") private Integer collectSwitch; @ApiModelProperty("采集驱动") private String collectDriver; @ApiModelProperty("类型名称") private String typeName; @ApiModelProperty("机器类型") private String machineType; @ApiModelProperty("机器规格") private String machineModel; @ApiModelProperty("机器品牌") private String brand; @ApiModelProperty("机器组id") private Long groupId; @ApiModelProperty("机器PIN码") private String machinePinCode; @ApiModelProperty("机器短编号") private String machineShortCode; @ApiModelProperty("业务状态 1启用 0 停用") private Integer status; @ApiModelProperty("外部键") private String externalKey; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MachineVO$MachineVOBuilder.class */ public static class MachineVOBuilder { private Long id; private String extendId; private String machineCode; private String machineName; private Integer collectSwitch; private String collectDriver; private String typeName; private String machineType; private String machineModel; private String brand; private Long groupId; private String machinePinCode; private String machineShortCode; private Integer status; private String externalKey; MachineVOBuilder() { } public MachineVOBuilder id(final Long id) { this.id = id; return this; } public MachineVOBuilder extendId(final String extendId) { this.extendId = extendId; return this; } public MachineVOBuilder machineCode(final String machineCode) { this.machineCode = machineCode; return this; } public MachineVOBuilder machineName(final String machineName) { this.machineName = machineName; return this; } public MachineVOBuilder collectSwitch(final Integer collectSwitch) { this.collectSwitch = collectSwitch; return this; } public MachineVOBuilder collectDriver(final String collectDriver) { this.collectDriver = collectDriver; return this; } public MachineVOBuilder typeName(final String typeName) { this.typeName = typeName; return this; } public MachineVOBuilder machineType(final String machineType) { this.machineType = machineType; return this; } public MachineVOBuilder machineModel(final String machineModel) { this.machineModel = machineModel; return this; } public MachineVOBuilder brand(final String brand) { this.brand = brand; return this; } public MachineVOBuilder groupId(final Long groupId) { this.groupId = groupId; return this; } public MachineVOBuilder machinePinCode(final String machinePinCode) { this.machinePinCode = machinePinCode; return this; } public MachineVOBuilder machineShortCode(final String machineShortCode) { this.machineShortCode = machineShortCode; return this; } public MachineVOBuilder status(final Integer status) { this.status = status; return this; } public MachineVOBuilder externalKey(final String externalKey) { this.externalKey = externalKey; return this; } public MachineVO build() { return new MachineVO(this.id, this.extendId, this.machineCode, this.machineName, this.collectSwitch, this.collectDriver, this.typeName, this.machineType, this.machineModel, this.brand, this.groupId, this.machinePinCode, this.machineShortCode, this.status, this.externalKey); } public String toString() { return "MachineVO.MachineVOBuilder(id=" + this.id + ", extendId=" + this.extendId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", collectSwitch=" + this.collectSwitch + ", collectDriver=" + this.collectDriver + ", typeName=" + this.typeName + ", machineType=" + this.machineType + ", machineModel=" + this.machineModel + ", brand=" + this.brand + ", groupId=" + this.groupId + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", status=" + this.status + ", externalKey=" + this.externalKey + ")"; } } public void setId(final Long id) { this.id = id; } public void setExtendId(final String extendId) { this.extendId = extendId; } public void setMachineCode(final String machineCode) { this.machineCode = machineCode; } public void setMachineName(final String machineName) { this.machineName = machineName; } public void setCollectSwitch(final Integer collectSwitch) { this.collectSwitch = collectSwitch; } public void setCollectDriver(final String collectDriver) { this.collectDriver = collectDriver; } public void setTypeName(final String typeName) { this.typeName = typeName; } public void setMachineType(final String machineType) { this.machineType = machineType; } public void setMachineModel(final String machineModel) { this.machineModel = machineModel; } public void setBrand(final String brand) { this.brand = brand; } public void setGroupId(final Long groupId) { this.groupId = groupId; } public void setMachinePinCode(final String machinePinCode) { this.machinePinCode = machinePinCode; } public void setMachineShortCode(final String machineShortCode) { this.machineShortCode = machineShortCode; } public void setStatus(final Integer status) { this.status = status; } public void setExternalKey(final String externalKey) { this.externalKey = externalKey; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MachineVO) { MachineVO other = (MachineVO) 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$collectSwitch = getCollectSwitch(); Object other$collectSwitch = other.getCollectSwitch(); if (this$collectSwitch == null) { if (other$collectSwitch != null) { return false; } } else if (!this$collectSwitch.equals(other$collectSwitch)) { return false; } Object this$groupId = getGroupId(); Object other$groupId = other.getGroupId(); if (this$groupId == null) { if (other$groupId != null) { return false; } } else if (!this$groupId.equals(other$groupId)) { return false; } Object this$status = getStatus(); Object other$status = other.getStatus(); if (this$status == null) { if (other$status != null) { return false; } } else if (!this$status.equals(other$status)) { return false; } Object this$extendId = getExtendId(); Object other$extendId = other.getExtendId(); if (this$extendId == null) { if (other$extendId != null) { return false; } } else if (!this$extendId.equals(other$extendId)) { return false; } Object this$machineCode = getMachineCode(); Object other$machineCode = other.getMachineCode(); if (this$machineCode == null) { if (other$machineCode != null) { return false; } } else if (!this$machineCode.equals(other$machineCode)) { return false; } Object this$machineName = getMachineName(); Object other$machineName = other.getMachineName(); if (this$machineName == null) { if (other$machineName != null) { return false; } } else if (!this$machineName.equals(other$machineName)) { return false; } Object this$collectDriver = getCollectDriver(); Object other$collectDriver = other.getCollectDriver(); if (this$collectDriver == null) { if (other$collectDriver != null) { return false; } } else if (!this$collectDriver.equals(other$collectDriver)) { return false; } Object this$typeName = getTypeName(); Object other$typeName = other.getTypeName(); if (this$typeName == null) { if (other$typeName != null) { return false; } } else if (!this$typeName.equals(other$typeName)) { return false; } Object this$machineType = getMachineType(); Object other$machineType = other.getMachineType(); if (this$machineType == null) { if (other$machineType != null) { return false; } } else if (!this$machineType.equals(other$machineType)) { return false; } Object this$machineModel = getMachineModel(); Object other$machineModel = other.getMachineModel(); if (this$machineModel == null) { if (other$machineModel != null) { return false; } } else if (!this$machineModel.equals(other$machineModel)) { return false; } Object this$brand = getBrand(); Object other$brand = other.getBrand(); if (this$brand == null) { if (other$brand != null) { return false; } } else if (!this$brand.equals(other$brand)) { return false; } Object this$machinePinCode = getMachinePinCode(); Object other$machinePinCode = other.getMachinePinCode(); if (this$machinePinCode == null) { if (other$machinePinCode != null) { return false; } } else if (!this$machinePinCode.equals(other$machinePinCode)) { return false; } Object this$machineShortCode = getMachineShortCode(); Object other$machineShortCode = other.getMachineShortCode(); if (this$machineShortCode == null) { if (other$machineShortCode != null) { return false; } } else if (!this$machineShortCode.equals(other$machineShortCode)) { return false; } Object this$externalKey = getExternalKey(); Object other$externalKey = other.getExternalKey(); return this$externalKey == null ? other$externalKey == null : this$externalKey.equals(other$externalKey); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MachineVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $collectSwitch = getCollectSwitch(); int result2 = (result * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode()); Object $groupId = getGroupId(); int result3 = (result2 * 59) + ($groupId == null ? 43 : $groupId.hashCode()); Object $status = getStatus(); int result4 = (result3 * 59) + ($status == null ? 43 : $status.hashCode()); Object $extendId = getExtendId(); int result5 = (result4 * 59) + ($extendId == null ? 43 : $extendId.hashCode()); Object $machineCode = getMachineCode(); int result6 = (result5 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode()); Object $machineName = getMachineName(); int result7 = (result6 * 59) + ($machineName == null ? 43 : $machineName.hashCode()); Object $collectDriver = getCollectDriver(); int result8 = (result7 * 59) + ($collectDriver == null ? 43 : $collectDriver.hashCode()); Object $typeName = getTypeName(); int result9 = (result8 * 59) + ($typeName == null ? 43 : $typeName.hashCode()); Object $machineType = getMachineType(); int result10 = (result9 * 59) + ($machineType == null ? 43 : $machineType.hashCode()); Object $machineModel = getMachineModel(); int result11 = (result10 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode()); Object $brand = getBrand(); int result12 = (result11 * 59) + ($brand == null ? 43 : $brand.hashCode()); Object $machinePinCode = getMachinePinCode(); int result13 = (result12 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode()); Object $machineShortCode = getMachineShortCode(); int result14 = (result13 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode()); Object $externalKey = getExternalKey(); return (result14 * 59) + ($externalKey == null ? 43 : $externalKey.hashCode()); } public String toString() { return "MachineVO(id=" + getId() + ", extendId=" + getExtendId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", collectSwitch=" + getCollectSwitch() + ", collectDriver=" + getCollectDriver() + ", typeName=" + getTypeName() + ", machineType=" + getMachineType() + ", machineModel=" + getMachineModel() + ", brand=" + getBrand() + ", groupId=" + getGroupId() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", status=" + getStatus() + ", externalKey=" + getExternalKey() + ")"; } public static MachineVOBuilder builder() { return new MachineVOBuilder(); } public MachineVO(final Long id, final String extendId, final String machineCode, final String machineName, final Integer collectSwitch, final String collectDriver, final String typeName, final String machineType, final String machineModel, final String brand, final Long groupId, final String machinePinCode, final String machineShortCode, final Integer status, final String externalKey) { this.id = id; this.extendId = extendId; this.machineCode = machineCode; this.machineName = machineName; this.collectSwitch = collectSwitch; this.collectDriver = collectDriver; this.typeName = typeName; this.machineType = machineType; this.machineModel = machineModel; this.brand = brand; this.groupId = groupId; this.machinePinCode = machinePinCode; this.machineShortCode = machineShortCode; this.status = status; this.externalKey = externalKey; } public MachineVO() { } public Long getId() { return this.id; } public String getExtendId() { return this.extendId; } public String getMachineCode() { return this.machineCode; } public String getMachineName() { return this.machineName; } public Integer getCollectSwitch() { return this.collectSwitch; } public String getCollectDriver() { return this.collectDriver; } public String getTypeName() { return this.typeName; } public String getMachineType() { return this.machineType; } public String getMachineModel() { return this.machineModel; } public String getBrand() { return this.brand; } public Long getGroupId() { return this.groupId; } public String getMachinePinCode() { return this.machinePinCode; } public String getMachineShortCode() { return this.machineShortCode; } public Integer getStatus() { return this.status; } public String getExternalKey() { return this.externalKey; } }