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/MachineSelectVO.class */ public class MachineSelectVO implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty("机器编号") private String machineCode; @ApiModelProperty("机器名称") private String machineName; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("机器类型") private Long machineTypeId; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("所属工位组") private Long groupId; @ApiModelProperty("状态:1 启用 0 停用") private Integer status; @ApiModelProperty("关键词") private String keyword; public void setMachineCode(final String machineCode) { this.machineCode = machineCode; } public void setMachineName(final String machineName) { this.machineName = machineName; } public void setMachineTypeId(final Long machineTypeId) { this.machineTypeId = machineTypeId; } public void setGroupId(final Long groupId) { this.groupId = groupId; } public void setStatus(final Integer status) { this.status = status; } public void setKeyword(final String keyword) { this.keyword = keyword; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MachineSelectVO) { MachineSelectVO other = (MachineSelectVO) o; if (other.canEqual(this)) { Object this$machineTypeId = getMachineTypeId(); Object other$machineTypeId = other.getMachineTypeId(); if (this$machineTypeId == null) { if (other$machineTypeId != null) { return false; } } else if (!this$machineTypeId.equals(other$machineTypeId)) { 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$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$keyword = getKeyword(); Object other$keyword = other.getKeyword(); return this$keyword == null ? other$keyword == null : this$keyword.equals(other$keyword); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MachineSelectVO; } public int hashCode() { Object $machineTypeId = getMachineTypeId(); int result = (1 * 59) + ($machineTypeId == null ? 43 : $machineTypeId.hashCode()); Object $groupId = getGroupId(); int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode()); Object $status = getStatus(); int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode()); Object $machineCode = getMachineCode(); int result4 = (result3 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode()); Object $machineName = getMachineName(); int result5 = (result4 * 59) + ($machineName == null ? 43 : $machineName.hashCode()); Object $keyword = getKeyword(); return (result5 * 59) + ($keyword == null ? 43 : $keyword.hashCode()); } public String toString() { return "MachineSelectVO(machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineTypeId=" + getMachineTypeId() + ", groupId=" + getGroupId() + ", status=" + getStatus() + ", keyword=" + getKeyword() + ")"; } public String getMachineCode() { return this.machineCode; } public String getMachineName() { return this.machineName; } public Long getMachineTypeId() { return this.machineTypeId; } public Long getGroupId() { return this.groupId; } public Integer getStatus() { return this.status; } public String getKeyword() { return this.keyword; } }