package com.qianwen.smartman.modules.cps.dto;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_machine")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MachineDTO.class */
|
public class MachineDTO extends TenantEntity {
|
private static final long serialVersionUID = -883848031177958203L;
|
public String extendId;
|
private String machineCode;
|
private String machineName;
|
private Integer collectSwitch;
|
private String collectDriver;
|
private String typeName;
|
private String machineType;
|
private String machineModel;
|
|
public void setExtendId(final String extendId) {
|
this.extendId = extendId;
|
}
|
|
public void setMachineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
}
|
|
public void setMachineName(final String machineName) {
|
this.machineName = machineName;
|
}
|
|
public void setCollectSwitch(final Integer collectSwitch) {
|
this.collectSwitch = collectSwitch;
|
}
|
|
public void setCollectDriver(final String collectDriver) {
|
this.collectDriver = collectDriver;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setMachineType(final String machineType) {
|
this.machineType = machineType;
|
}
|
|
public void setMachineModel(final String machineModel) {
|
this.machineModel = machineModel;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MachineDTO) {
|
MachineDTO other = (MachineDTO) o;
|
if (other.canEqual(this)) {
|
Object this$collectSwitch = getCollectSwitch();
|
Object other$collectSwitch = other.getCollectSwitch();
|
if (this$collectSwitch == null) {
|
if (other$collectSwitch != null) {
|
return false;
|
}
|
} else if (!this$collectSwitch.equals(other$collectSwitch)) {
|
return false;
|
}
|
Object this$extendId = getExtendId();
|
Object other$extendId = other.getExtendId();
|
if (this$extendId == null) {
|
if (other$extendId != null) {
|
return false;
|
}
|
} else if (!this$extendId.equals(other$extendId)) {
|
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$collectDriver = getCollectDriver();
|
Object other$collectDriver = other.getCollectDriver();
|
if (this$collectDriver == null) {
|
if (other$collectDriver != null) {
|
return false;
|
}
|
} else if (!this$collectDriver.equals(other$collectDriver)) {
|
return false;
|
}
|
Object this$typeName = getTypeName();
|
Object other$typeName = other.getTypeName();
|
if (this$typeName == null) {
|
if (other$typeName != null) {
|
return false;
|
}
|
} else if (!this$typeName.equals(other$typeName)) {
|
return false;
|
}
|
Object this$machineType = getMachineType();
|
Object other$machineType = other.getMachineType();
|
if (this$machineType == null) {
|
if (other$machineType != null) {
|
return false;
|
}
|
} else if (!this$machineType.equals(other$machineType)) {
|
return false;
|
}
|
Object this$machineModel = getMachineModel();
|
Object other$machineModel = other.getMachineModel();
|
return this$machineModel == null ? other$machineModel == null : this$machineModel.equals(other$machineModel);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MachineDTO;
|
}
|
|
public int hashCode() {
|
Object $collectSwitch = getCollectSwitch();
|
int result = (1 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
|
Object $extendId = getExtendId();
|
int result2 = (result * 59) + ($extendId == null ? 43 : $extendId.hashCode());
|
Object $machineCode = getMachineCode();
|
int result3 = (result2 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
|
Object $machineName = getMachineName();
|
int result4 = (result3 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
|
Object $collectDriver = getCollectDriver();
|
int result5 = (result4 * 59) + ($collectDriver == null ? 43 : $collectDriver.hashCode());
|
Object $typeName = getTypeName();
|
int result6 = (result5 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $machineType = getMachineType();
|
int result7 = (result6 * 59) + ($machineType == null ? 43 : $machineType.hashCode());
|
Object $machineModel = getMachineModel();
|
return (result7 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
|
}
|
|
public String toString() {
|
return "MachineDTO(extendId=" + getExtendId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", collectSwitch=" + getCollectSwitch() + ", collectDriver=" + getCollectDriver() + ", typeName=" + getTypeName() + ", machineType=" + getMachineType() + ", machineModel=" + getMachineModel() + ")";
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MachineDTO$MachineDTOBuilder.class */
|
public static class MachineDTOBuilder {
|
private String extendId;
|
private String machineCode;
|
private String machineName;
|
private Integer collectSwitch;
|
private String collectDriver;
|
private String typeName;
|
private String machineType;
|
private String machineModel;
|
|
MachineDTOBuilder() {
|
}
|
|
public MachineDTOBuilder extendId(final String extendId) {
|
this.extendId = extendId;
|
return this;
|
}
|
|
public MachineDTOBuilder machineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
return this;
|
}
|
|
public MachineDTOBuilder machineName(final String machineName) {
|
this.machineName = machineName;
|
return this;
|
}
|
|
public MachineDTOBuilder collectSwitch(final Integer collectSwitch) {
|
this.collectSwitch = collectSwitch;
|
return this;
|
}
|
|
public MachineDTOBuilder collectDriver(final String collectDriver) {
|
this.collectDriver = collectDriver;
|
return this;
|
}
|
|
public MachineDTOBuilder typeName(final String typeName) {
|
this.typeName = typeName;
|
return this;
|
}
|
|
public MachineDTOBuilder machineType(final String machineType) {
|
this.machineType = machineType;
|
return this;
|
}
|
|
public MachineDTOBuilder machineModel(final String machineModel) {
|
this.machineModel = machineModel;
|
return this;
|
}
|
|
public MachineDTO build() {
|
return new MachineDTO(this.extendId, this.machineCode, this.machineName, this.collectSwitch, this.collectDriver, this.typeName, this.machineType, this.machineModel);
|
}
|
|
public String toString() {
|
return "MachineDTO.MachineDTOBuilder(extendId=" + this.extendId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", collectSwitch=" + this.collectSwitch + ", collectDriver=" + this.collectDriver + ", typeName=" + this.typeName + ", machineType=" + this.machineType + ", machineModel=" + this.machineModel + ")";
|
}
|
}
|
|
public static MachineDTOBuilder builder() {
|
return new MachineDTOBuilder();
|
}
|
|
public MachineDTO(final String extendId, final String machineCode, final String machineName, final Integer collectSwitch, final String collectDriver, final String typeName, final String machineType, final String machineModel) {
|
this.extendId = extendId;
|
this.machineCode = machineCode;
|
this.machineName = machineName;
|
this.collectSwitch = collectSwitch;
|
this.collectDriver = collectDriver;
|
this.typeName = typeName;
|
this.machineType = machineType;
|
this.machineModel = machineModel;
|
}
|
|
public MachineDTO() {
|
}
|
|
public String getExtendId() {
|
return this.extendId;
|
}
|
|
public String getMachineCode() {
|
return this.machineCode;
|
}
|
|
public String getMachineName() {
|
return this.machineName;
|
}
|
|
public Integer getCollectSwitch() {
|
return this.collectSwitch;
|
}
|
|
public String getCollectDriver() {
|
return this.collectDriver;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public String getMachineType() {
|
return this.machineType;
|
}
|
|
public String getMachineModel() {
|
return this.machineModel;
|
}
|
}
|