package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
|
@TableName("blade_dmp_variables")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/DmpVariables.class */
|
public class DmpVariables implements Serializable {
|
private static final long serialVersionUID = -5852439219495925331L;
|
private Long id;
|
private String dmpDeviceId;
|
private Long machineId;
|
private Integer dmpType;
|
private String name;
|
private String description;
|
private String deviceAddress;
|
private Integer dmpAccess;
|
private Integer dataLength;
|
private Double valueFactor;
|
private Integer dataType;
|
private String methodParam;
|
private Integer idx;
|
private String defaultValue;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setDmpDeviceId(final String dmpDeviceId) {
|
this.dmpDeviceId = dmpDeviceId;
|
}
|
|
public void setMachineId(final Long machineId) {
|
this.machineId = machineId;
|
}
|
|
public void setDmpType(final Integer dmpType) {
|
this.dmpType = dmpType;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public void setDeviceAddress(final String deviceAddress) {
|
this.deviceAddress = deviceAddress;
|
}
|
|
public void setDmpAccess(final Integer dmpAccess) {
|
this.dmpAccess = dmpAccess;
|
}
|
|
public void setDataLength(final Integer dataLength) {
|
this.dataLength = dataLength;
|
}
|
|
public void setValueFactor(final Double valueFactor) {
|
this.valueFactor = valueFactor;
|
}
|
|
public void setDataType(final Integer dataType) {
|
this.dataType = dataType;
|
}
|
|
public void setMethodParam(final String methodParam) {
|
this.methodParam = methodParam;
|
}
|
|
public void setIdx(final Integer idx) {
|
this.idx = idx;
|
}
|
|
public void setDefaultValue(final String defaultValue) {
|
this.defaultValue = defaultValue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DmpVariables) {
|
DmpVariables other = (DmpVariables) 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$machineId = getMachineId();
|
Object other$machineId = other.getMachineId();
|
if (this$machineId == null) {
|
if (other$machineId != null) {
|
return false;
|
}
|
} else if (!this$machineId.equals(other$machineId)) {
|
return false;
|
}
|
Object this$dmpType = getDmpType();
|
Object other$dmpType = other.getDmpType();
|
if (this$dmpType == null) {
|
if (other$dmpType != null) {
|
return false;
|
}
|
} else if (!this$dmpType.equals(other$dmpType)) {
|
return false;
|
}
|
Object this$dmpAccess = getDmpAccess();
|
Object other$dmpAccess = other.getDmpAccess();
|
if (this$dmpAccess == null) {
|
if (other$dmpAccess != null) {
|
return false;
|
}
|
} else if (!this$dmpAccess.equals(other$dmpAccess)) {
|
return false;
|
}
|
Object this$dataLength = getDataLength();
|
Object other$dataLength = other.getDataLength();
|
if (this$dataLength == null) {
|
if (other$dataLength != null) {
|
return false;
|
}
|
} else if (!this$dataLength.equals(other$dataLength)) {
|
return false;
|
}
|
Object this$valueFactor = getValueFactor();
|
Object other$valueFactor = other.getValueFactor();
|
if (this$valueFactor == null) {
|
if (other$valueFactor != null) {
|
return false;
|
}
|
} else if (!this$valueFactor.equals(other$valueFactor)) {
|
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$idx = getIdx();
|
Object other$idx = other.getIdx();
|
if (this$idx == null) {
|
if (other$idx != null) {
|
return false;
|
}
|
} else if (!this$idx.equals(other$idx)) {
|
return false;
|
}
|
Object this$dmpDeviceId = getDmpDeviceId();
|
Object other$dmpDeviceId = other.getDmpDeviceId();
|
if (this$dmpDeviceId == null) {
|
if (other$dmpDeviceId != null) {
|
return false;
|
}
|
} else if (!this$dmpDeviceId.equals(other$dmpDeviceId)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
if (this$description == null) {
|
if (other$description != null) {
|
return false;
|
}
|
} else if (!this$description.equals(other$description)) {
|
return false;
|
}
|
Object this$deviceAddress = getDeviceAddress();
|
Object other$deviceAddress = other.getDeviceAddress();
|
if (this$deviceAddress == null) {
|
if (other$deviceAddress != null) {
|
return false;
|
}
|
} else if (!this$deviceAddress.equals(other$deviceAddress)) {
|
return false;
|
}
|
Object this$methodParam = getMethodParam();
|
Object other$methodParam = other.getMethodParam();
|
if (this$methodParam == null) {
|
if (other$methodParam != null) {
|
return false;
|
}
|
} else if (!this$methodParam.equals(other$methodParam)) {
|
return false;
|
}
|
Object this$defaultValue = getDefaultValue();
|
Object other$defaultValue = other.getDefaultValue();
|
return this$defaultValue == null ? other$defaultValue == null : this$defaultValue.equals(other$defaultValue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DmpVariables;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $machineId = getMachineId();
|
int result2 = (result * 59) + ($machineId == null ? 43 : $machineId.hashCode());
|
Object $dmpType = getDmpType();
|
int result3 = (result2 * 59) + ($dmpType == null ? 43 : $dmpType.hashCode());
|
Object $dmpAccess = getDmpAccess();
|
int result4 = (result3 * 59) + ($dmpAccess == null ? 43 : $dmpAccess.hashCode());
|
Object $dataLength = getDataLength();
|
int result5 = (result4 * 59) + ($dataLength == null ? 43 : $dataLength.hashCode());
|
Object $valueFactor = getValueFactor();
|
int result6 = (result5 * 59) + ($valueFactor == null ? 43 : $valueFactor.hashCode());
|
Object $dataType = getDataType();
|
int result7 = (result6 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
|
Object $idx = getIdx();
|
int result8 = (result7 * 59) + ($idx == null ? 43 : $idx.hashCode());
|
Object $dmpDeviceId = getDmpDeviceId();
|
int result9 = (result8 * 59) + ($dmpDeviceId == null ? 43 : $dmpDeviceId.hashCode());
|
Object $name = getName();
|
int result10 = (result9 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $description = getDescription();
|
int result11 = (result10 * 59) + ($description == null ? 43 : $description.hashCode());
|
Object $deviceAddress = getDeviceAddress();
|
int result12 = (result11 * 59) + ($deviceAddress == null ? 43 : $deviceAddress.hashCode());
|
Object $methodParam = getMethodParam();
|
int result13 = (result12 * 59) + ($methodParam == null ? 43 : $methodParam.hashCode());
|
Object $defaultValue = getDefaultValue();
|
return (result13 * 59) + ($defaultValue == null ? 43 : $defaultValue.hashCode());
|
}
|
|
public String toString() {
|
return "DmpVariables(id=" + getId() + ", dmpDeviceId=" + getDmpDeviceId() + ", machineId=" + getMachineId() + ", dmpType=" + getDmpType() + ", name=" + getName() + ", description=" + getDescription() + ", deviceAddress=" + getDeviceAddress() + ", dmpAccess=" + getDmpAccess() + ", dataLength=" + getDataLength() + ", valueFactor=" + getValueFactor() + ", dataType=" + getDataType() + ", methodParam=" + getMethodParam() + ", idx=" + getIdx() + ", defaultValue=" + getDefaultValue() + ")";
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/DmpVariables$DmpVariablesBuilder.class */
|
public static class DmpVariablesBuilder {
|
private Long id;
|
private String dmpDeviceId;
|
private Long machineId;
|
private Integer dmpType;
|
private String name;
|
private String description;
|
private String deviceAddress;
|
private Integer dmpAccess;
|
private Integer dataLength;
|
private Double valueFactor;
|
private Integer dataType;
|
private String methodParam;
|
private Integer idx;
|
private String defaultValue;
|
|
DmpVariablesBuilder() {
|
}
|
|
public DmpVariablesBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public DmpVariablesBuilder dmpDeviceId(final String dmpDeviceId) {
|
this.dmpDeviceId = dmpDeviceId;
|
return this;
|
}
|
|
public DmpVariablesBuilder machineId(final Long machineId) {
|
this.machineId = machineId;
|
return this;
|
}
|
|
public DmpVariablesBuilder dmpType(final Integer dmpType) {
|
this.dmpType = dmpType;
|
return this;
|
}
|
|
public DmpVariablesBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public DmpVariablesBuilder description(final String description) {
|
this.description = description;
|
return this;
|
}
|
|
public DmpVariablesBuilder deviceAddress(final String deviceAddress) {
|
this.deviceAddress = deviceAddress;
|
return this;
|
}
|
|
public DmpVariablesBuilder dmpAccess(final Integer dmpAccess) {
|
this.dmpAccess = dmpAccess;
|
return this;
|
}
|
|
public DmpVariablesBuilder dataLength(final Integer dataLength) {
|
this.dataLength = dataLength;
|
return this;
|
}
|
|
public DmpVariablesBuilder valueFactor(final Double valueFactor) {
|
this.valueFactor = valueFactor;
|
return this;
|
}
|
|
public DmpVariablesBuilder dataType(final Integer dataType) {
|
this.dataType = dataType;
|
return this;
|
}
|
|
public DmpVariablesBuilder methodParam(final String methodParam) {
|
this.methodParam = methodParam;
|
return this;
|
}
|
|
public DmpVariablesBuilder idx(final Integer idx) {
|
this.idx = idx;
|
return this;
|
}
|
|
public DmpVariablesBuilder defaultValue(final String defaultValue) {
|
this.defaultValue = defaultValue;
|
return this;
|
}
|
|
public DmpVariables build() {
|
return new DmpVariables(this.id, this.dmpDeviceId, this.machineId, this.dmpType, this.name, this.description, this.deviceAddress, this.dmpAccess, this.dataLength, this.valueFactor, this.dataType, this.methodParam, this.idx, this.defaultValue);
|
}
|
|
public String toString() {
|
return "DmpVariables.DmpVariablesBuilder(id=" + this.id + ", dmpDeviceId=" + this.dmpDeviceId + ", machineId=" + this.machineId + ", dmpType=" + this.dmpType + ", name=" + this.name + ", description=" + this.description + ", deviceAddress=" + this.deviceAddress + ", dmpAccess=" + this.dmpAccess + ", dataLength=" + this.dataLength + ", valueFactor=" + this.valueFactor + ", dataType=" + this.dataType + ", methodParam=" + this.methodParam + ", idx=" + this.idx + ", defaultValue=" + this.defaultValue + ")";
|
}
|
}
|
|
public static DmpVariablesBuilder builder() {
|
return new DmpVariablesBuilder();
|
}
|
|
public DmpVariables(final Long id, final String dmpDeviceId, final Long machineId, final Integer dmpType, final String name, final String description, final String deviceAddress, final Integer dmpAccess, final Integer dataLength, final Double valueFactor, final Integer dataType, final String methodParam, final Integer idx, final String defaultValue) {
|
this.id = id;
|
this.dmpDeviceId = dmpDeviceId;
|
this.machineId = machineId;
|
this.dmpType = dmpType;
|
this.name = name;
|
this.description = description;
|
this.deviceAddress = deviceAddress;
|
this.dmpAccess = dmpAccess;
|
this.dataLength = dataLength;
|
this.valueFactor = valueFactor;
|
this.dataType = dataType;
|
this.methodParam = methodParam;
|
this.idx = idx;
|
this.defaultValue = defaultValue;
|
}
|
|
public DmpVariables() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getDmpDeviceId() {
|
return this.dmpDeviceId;
|
}
|
|
public Long getMachineId() {
|
return this.machineId;
|
}
|
|
public Integer getDmpType() {
|
return this.dmpType;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public String getDeviceAddress() {
|
return this.deviceAddress;
|
}
|
|
public Integer getDmpAccess() {
|
return this.dmpAccess;
|
}
|
|
public Integer getDataLength() {
|
return this.dataLength;
|
}
|
|
public Double getValueFactor() {
|
return this.valueFactor;
|
}
|
|
public Integer getDataType() {
|
return this.dataType;
|
}
|
|
public String getMethodParam() {
|
return this.methodParam;
|
}
|
|
public Integer getIdx() {
|
return this.idx;
|
}
|
|
public String getDefaultValue() {
|
return this.defaultValue;
|
}
|
}
|