package com.qianwen.smartman.modules.cps.dto;
|
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MachineExtDTO.class */
|
public class MachineExtDTO implements Serializable {
|
private static final long serialVersionUID = 8002136424403628039L;
|
private String extendId;
|
private Long workstationId;
|
|
public void setExtendId(final String extendId) {
|
this.extendId = extendId;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MachineExtDTO) {
|
MachineExtDTO other = (MachineExtDTO) 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$extendId = getExtendId();
|
Object other$extendId = other.getExtendId();
|
return this$extendId == null ? other$extendId == null : this$extendId.equals(other$extendId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MachineExtDTO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $extendId = getExtendId();
|
return (result * 59) + ($extendId == null ? 43 : $extendId.hashCode());
|
}
|
|
public String toString() {
|
return "MachineExtDTO(extendId=" + getExtendId() + ", workstationId=" + getWorkstationId() + ")";
|
}
|
|
public String getExtendId() {
|
return this.extendId;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
}
|