package com.qianwen.smartman.modules.mdc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class ProParamResDTO implements Serializable {
|
private static final long serialVersionUID = -2983008804443599665L;
|
@ApiModelProperty("采集项名称")
|
private String collectItem;
|
@ApiModelProperty("采集项真实名称")
|
private String collectRealItem;
|
@ApiModelProperty("数据类型")
|
private Integer dataType;
|
@ApiModelProperty("数据")
|
private List<ProcessParameterRealVO> data;
|
@ApiModelProperty("状态数据")
|
private List<ProcessWcsDTO> statusData;
|
|
|
public static class ProParamResDTOBuilder {
|
private String collectItem;
|
private String collectRealItem;
|
private Integer dataType;
|
private List<ProcessParameterRealVO> data;
|
private List<ProcessWcsDTO> statusData;
|
|
ProParamResDTOBuilder() {
|
}
|
|
public ProParamResDTOBuilder collectItem(final String collectItem) {
|
this.collectItem = collectItem;
|
return this;
|
}
|
|
public ProParamResDTOBuilder collectRealItem(final String collectRealItem) {
|
this.collectRealItem = collectRealItem;
|
return this;
|
}
|
|
public ProParamResDTOBuilder dataType(final Integer dataType) {
|
this.dataType = dataType;
|
return this;
|
}
|
|
public ProParamResDTOBuilder data(final List<ProcessParameterRealVO> data) {
|
this.data = data;
|
return this;
|
}
|
|
public ProParamResDTOBuilder statusData(final List<ProcessWcsDTO> statusData) {
|
this.statusData = statusData;
|
return this;
|
}
|
|
public ProParamResDTO build() {
|
return new ProParamResDTO(this.collectItem, this.collectRealItem, this.dataType, this.data, this.statusData);
|
}
|
|
public String toString() {
|
return "ProParamResDTO.ProParamResDTOBuilder(collectItem=" + this.collectItem + ", collectRealItem=" + this.collectRealItem + ", dataType=" + this.dataType + ", data=" + this.data + ", statusData=" + this.statusData + ")";
|
}
|
}
|
|
public void setCollectItem(final String collectItem) {
|
this.collectItem = collectItem;
|
}
|
|
public void setCollectRealItem(final String collectRealItem) {
|
this.collectRealItem = collectRealItem;
|
}
|
|
public void setDataType(final Integer dataType) {
|
this.dataType = dataType;
|
}
|
|
public void setData(final List<ProcessParameterRealVO> data) {
|
this.data = data;
|
}
|
|
public void setStatusData(final List<ProcessWcsDTO> statusData) {
|
this.statusData = statusData;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProParamResDTO) {
|
ProParamResDTO other = (ProParamResDTO) o;
|
if (other.canEqual(this)) {
|
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$collectItem = getCollectItem();
|
Object other$collectItem = other.getCollectItem();
|
if (this$collectItem == null) {
|
if (other$collectItem != null) {
|
return false;
|
}
|
} else if (!this$collectItem.equals(other$collectItem)) {
|
return false;
|
}
|
Object this$collectRealItem = getCollectRealItem();
|
Object other$collectRealItem = other.getCollectRealItem();
|
if (this$collectRealItem == null) {
|
if (other$collectRealItem != null) {
|
return false;
|
}
|
} else if (!this$collectRealItem.equals(other$collectRealItem)) {
|
return false;
|
}
|
Object this$data = getData();
|
Object other$data = other.getData();
|
if (this$data == null) {
|
if (other$data != null) {
|
return false;
|
}
|
} else if (!this$data.equals(other$data)) {
|
return false;
|
}
|
Object this$statusData = getStatusData();
|
Object other$statusData = other.getStatusData();
|
return this$statusData == null ? other$statusData == null : this$statusData.equals(other$statusData);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProParamResDTO;
|
}
|
|
public int hashCode() {
|
Object $dataType = getDataType();
|
int result = (1 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
|
Object $collectItem = getCollectItem();
|
int result2 = (result * 59) + ($collectItem == null ? 43 : $collectItem.hashCode());
|
Object $collectRealItem = getCollectRealItem();
|
int result3 = (result2 * 59) + ($collectRealItem == null ? 43 : $collectRealItem.hashCode());
|
Object $data = getData();
|
int result4 = (result3 * 59) + ($data == null ? 43 : $data.hashCode());
|
Object $statusData = getStatusData();
|
return (result4 * 59) + ($statusData == null ? 43 : $statusData.hashCode());
|
}
|
|
public String toString() {
|
return "ProParamResDTO(collectItem=" + getCollectItem() + ", collectRealItem=" + getCollectRealItem() + ", dataType=" + getDataType() + ", data=" + getData() + ", statusData=" + getStatusData() + ")";
|
}
|
|
public static ProParamResDTOBuilder builder() {
|
return new ProParamResDTOBuilder();
|
}
|
|
public ProParamResDTO() {
|
}
|
|
public ProParamResDTO(final String collectItem, final String collectRealItem, final Integer dataType, final List<ProcessParameterRealVO> data, final List<ProcessWcsDTO> statusData) {
|
this.collectItem = collectItem;
|
this.collectRealItem = collectRealItem;
|
this.dataType = dataType;
|
this.data = data;
|
this.statusData = statusData;
|
}
|
|
public String getCollectItem() {
|
return this.collectItem;
|
}
|
|
public String getCollectRealItem() {
|
return this.collectRealItem;
|
}
|
|
public Integer getDataType() {
|
return this.dataType;
|
}
|
|
public List<ProcessParameterRealVO> getData() {
|
return this.data;
|
}
|
|
public List<ProcessWcsDTO> getStatusData() {
|
return this.statusData;
|
}
|
}
|