package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class MachineDmpVariablesVO implements Serializable {
|
private static final long serialVersionUID = -6052005091822853098L;
|
@ApiModelProperty("采集项")
|
List<DmpVariablesVO> dmpVariablesVOList;
|
@ApiModelProperty("机器编码")
|
private String machineCode;
|
@ApiModelProperty("机器名称")
|
private String machineName;
|
@ApiModelProperty("机器品牌")
|
private String machineBrand;
|
@ApiModelProperty("采集驱动")
|
private String collectDriver;
|
@ApiModelProperty("驱动名称")
|
private String typeName;
|
|
|
public static class MachineDmpVariablesVOBuilder {
|
private List<DmpVariablesVO> dmpVariablesVOList;
|
private String machineCode;
|
private String machineName;
|
private String machineBrand;
|
private String collectDriver;
|
private String typeName;
|
|
MachineDmpVariablesVOBuilder() {
|
}
|
|
public MachineDmpVariablesVOBuilder dmpVariablesVOList(final List<DmpVariablesVO> dmpVariablesVOList) {
|
this.dmpVariablesVOList = dmpVariablesVOList;
|
return this;
|
}
|
|
public MachineDmpVariablesVOBuilder machineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
return this;
|
}
|
|
public MachineDmpVariablesVOBuilder machineName(final String machineName) {
|
this.machineName = machineName;
|
return this;
|
}
|
|
public MachineDmpVariablesVOBuilder machineBrand(final String machineBrand) {
|
this.machineBrand = machineBrand;
|
return this;
|
}
|
|
public MachineDmpVariablesVOBuilder collectDriver(final String collectDriver) {
|
this.collectDriver = collectDriver;
|
return this;
|
}
|
|
public MachineDmpVariablesVOBuilder typeName(final String typeName) {
|
this.typeName = typeName;
|
return this;
|
}
|
|
public MachineDmpVariablesVO build() {
|
return new MachineDmpVariablesVO(this.dmpVariablesVOList, this.machineCode, this.machineName, this.machineBrand, this.collectDriver, this.typeName);
|
}
|
|
public String toString() {
|
return "MachineDmpVariablesVO.MachineDmpVariablesVOBuilder(dmpVariablesVOList=" + this.dmpVariablesVOList + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machineBrand=" + this.machineBrand + ", collectDriver=" + this.collectDriver + ", typeName=" + this.typeName + ")";
|
}
|
}
|
|
public void setDmpVariablesVOList(final List<DmpVariablesVO> dmpVariablesVOList) {
|
this.dmpVariablesVOList = dmpVariablesVOList;
|
}
|
|
public void setMachineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
}
|
|
public void setMachineName(final String machineName) {
|
this.machineName = machineName;
|
}
|
|
public void setMachineBrand(final String machineBrand) {
|
this.machineBrand = machineBrand;
|
}
|
|
public void setCollectDriver(final String collectDriver) {
|
this.collectDriver = collectDriver;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MachineDmpVariablesVO) {
|
MachineDmpVariablesVO other = (MachineDmpVariablesVO) o;
|
if (other.canEqual(this)) {
|
Object this$dmpVariablesVOList = getDmpVariablesVOList();
|
Object other$dmpVariablesVOList = other.getDmpVariablesVOList();
|
if (this$dmpVariablesVOList == null) {
|
if (other$dmpVariablesVOList != null) {
|
return false;
|
}
|
} else if (!this$dmpVariablesVOList.equals(other$dmpVariablesVOList)) {
|
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$machineBrand = getMachineBrand();
|
Object other$machineBrand = other.getMachineBrand();
|
if (this$machineBrand == null) {
|
if (other$machineBrand != null) {
|
return false;
|
}
|
} else if (!this$machineBrand.equals(other$machineBrand)) {
|
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();
|
return this$typeName == null ? other$typeName == null : this$typeName.equals(other$typeName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MachineDmpVariablesVO;
|
}
|
|
public int hashCode() {
|
Object $dmpVariablesVOList = getDmpVariablesVOList();
|
int result = (1 * 59) + ($dmpVariablesVOList == null ? 43 : $dmpVariablesVOList.hashCode());
|
Object $machineCode = getMachineCode();
|
int result2 = (result * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
|
Object $machineName = getMachineName();
|
int result3 = (result2 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
|
Object $machineBrand = getMachineBrand();
|
int result4 = (result3 * 59) + ($machineBrand == null ? 43 : $machineBrand.hashCode());
|
Object $collectDriver = getCollectDriver();
|
int result5 = (result4 * 59) + ($collectDriver == null ? 43 : $collectDriver.hashCode());
|
Object $typeName = getTypeName();
|
return (result5 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
}
|
|
public String toString() {
|
return "MachineDmpVariablesVO(dmpVariablesVOList=" + getDmpVariablesVOList() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineBrand=" + getMachineBrand() + ", collectDriver=" + getCollectDriver() + ", typeName=" + getTypeName() + ")";
|
}
|
|
public static MachineDmpVariablesVOBuilder builder() {
|
return new MachineDmpVariablesVOBuilder();
|
}
|
|
public MachineDmpVariablesVO(final List<DmpVariablesVO> dmpVariablesVOList, final String machineCode, final String machineName, final String machineBrand, final String collectDriver, final String typeName) {
|
this.dmpVariablesVOList = dmpVariablesVOList;
|
this.machineCode = machineCode;
|
this.machineName = machineName;
|
this.machineBrand = machineBrand;
|
this.collectDriver = collectDriver;
|
this.typeName = typeName;
|
}
|
|
public MachineDmpVariablesVO() {
|
}
|
|
public List<DmpVariablesVO> getDmpVariablesVOList() {
|
return this.dmpVariablesVOList;
|
}
|
|
public String getMachineCode() {
|
return this.machineCode;
|
}
|
|
public String getMachineName() {
|
return this.machineName;
|
}
|
|
public String getMachineBrand() {
|
return this.machineBrand;
|
}
|
|
public String getCollectDriver() {
|
return this.collectDriver;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
}
|