package com.qianwen.smartman.modules.mdc.dto; import java.io.Serializable; public class WorkstationDmpDTO implements Serializable { private static final long serialVersionUID = 2505656773607588758L; private Long workstationId; private Integer dataType; private String dmpName; private String itemCrc; public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setDataType(final Integer dataType) { this.dataType = dataType; } public void setDmpName(final String dmpName) { this.dmpName = dmpName; } public void setItemCrc(final String itemCrc) { this.itemCrc = itemCrc; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationDmpDTO) { WorkstationDmpDTO other = (WorkstationDmpDTO) o; if (other.canEqual(this)) { Object this$workstationId = getWorkstationId(); Object other$workstationId = other.getWorkstationId(); if (this$workstationId == null) { if (other$workstationId != null) { return false; } } else if (!this$workstationId.equals(other$workstationId)) { return false; } Object this$dataType = getDataType(); Object other$dataType = other.getDataType(); if (this$dataType == null) { if (other$dataType != null) { return false; } } else if (!this$dataType.equals(other$dataType)) { return false; } Object this$dmpName = getDmpName(); Object other$dmpName = other.getDmpName(); if (this$dmpName == null) { if (other$dmpName != null) { return false; } } else if (!this$dmpName.equals(other$dmpName)) { return false; } Object this$itemCrc = getItemCrc(); Object other$itemCrc = other.getItemCrc(); return this$itemCrc == null ? other$itemCrc == null : this$itemCrc.equals(other$itemCrc); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationDmpDTO; } public int hashCode() { Object $workstationId = getWorkstationId(); int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $dataType = getDataType(); int result2 = (result * 59) + ($dataType == null ? 43 : $dataType.hashCode()); Object $dmpName = getDmpName(); int result3 = (result2 * 59) + ($dmpName == null ? 43 : $dmpName.hashCode()); Object $itemCrc = getItemCrc(); return (result3 * 59) + ($itemCrc == null ? 43 : $itemCrc.hashCode()); } public String toString() { return "WorkstationDmpDTO(workstationId=" + getWorkstationId() + ", dataType=" + getDataType() + ", dmpName=" + getDmpName() + ", itemCrc=" + getItemCrc() + ")"; } public Long getWorkstationId() { return this.workstationId; } public Integer getDataType() { return this.dataType; } public String getDmpName() { return this.dmpName; } public String getItemCrc() { return this.itemCrc; } }