package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/HmiDeviceVO.class */
|
public class HmiDeviceVO implements Serializable {
|
@ApiModelProperty("设备id")
|
private String workstationId;
|
@ApiModelProperty("设备名称")
|
private String workstationName;
|
@ApiModelProperty("存储空间:1 内部存储 2 以太网")
|
private List<Integer> fileLocations;
|
|
public HmiDeviceVO setWorkstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public HmiDeviceVO setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public HmiDeviceVO setFileLocations(final List<Integer> fileLocations) {
|
this.fileLocations = fileLocations;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof HmiDeviceVO) {
|
HmiDeviceVO other = (HmiDeviceVO) 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$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$fileLocations = getFileLocations();
|
Object other$fileLocations = other.getFileLocations();
|
return this$fileLocations == null ? other$fileLocations == null : this$fileLocations.equals(other$fileLocations);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof HmiDeviceVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result2 = (result * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $fileLocations = getFileLocations();
|
return (result2 * 59) + ($fileLocations == null ? 43 : $fileLocations.hashCode());
|
}
|
|
public String toString() {
|
return "HmiDeviceVO(workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", fileLocations=" + getFileLocations() + ")";
|
}
|
|
public String getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public List<Integer> getFileLocations() {
|
return this.fileLocations;
|
}
|
}
|