package com.qianwen.smartman.modules.mdc.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/mdc/vo/CollectParamResVO.class */
|
public class CollectParamResVO<T> implements Serializable {
|
private static final long serialVersionUID = 2331362643056207126L;
|
@ApiModelProperty("采集项名称")
|
private String collectItem;
|
@ApiModelProperty("采集项真实名称")
|
private String collectRealItem;
|
@ApiModelProperty("数据")
|
private List<T> data;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/CollectParamResVO$CollectParamResVOBuilder.class */
|
public static class CollectParamResVOBuilder<T> {
|
private String collectItem;
|
private String collectRealItem;
|
private List<T> data;
|
|
CollectParamResVOBuilder() {
|
}
|
|
public CollectParamResVOBuilder<T> collectItem(final String collectItem) {
|
this.collectItem = collectItem;
|
return this;
|
}
|
|
public CollectParamResVOBuilder<T> collectRealItem(final String collectRealItem) {
|
this.collectRealItem = collectRealItem;
|
return this;
|
}
|
|
public CollectParamResVOBuilder<T> data(final List<T> data) {
|
this.data = data;
|
return this;
|
}
|
|
public CollectParamResVO<T> build() {
|
return new CollectParamResVO<>(this.collectItem, this.collectRealItem, this.data);
|
}
|
|
public String toString() {
|
return "CollectParamResVO.CollectParamResVOBuilder(collectItem=" + this.collectItem + ", collectRealItem=" + this.collectRealItem + ", data=" + this.data + ")";
|
}
|
}
|
|
public void setCollectItem(final String collectItem) {
|
this.collectItem = collectItem;
|
}
|
|
public void setCollectRealItem(final String collectRealItem) {
|
this.collectRealItem = collectRealItem;
|
}
|
|
public void setData(final List<T> data) {
|
this.data = data;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CollectParamResVO) {
|
CollectParamResVO<?> other = (CollectParamResVO) o;
|
if (other.canEqual(this)) {
|
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();
|
return this$data == null ? other$data == null : this$data.equals(other$data);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CollectParamResVO;
|
}
|
|
public int hashCode() {
|
Object $collectItem = getCollectItem();
|
int result = (1 * 59) + ($collectItem == null ? 43 : $collectItem.hashCode());
|
Object $collectRealItem = getCollectRealItem();
|
int result2 = (result * 59) + ($collectRealItem == null ? 43 : $collectRealItem.hashCode());
|
Object $data = getData();
|
return (result2 * 59) + ($data == null ? 43 : $data.hashCode());
|
}
|
|
public String toString() {
|
return "CollectParamResVO(collectItem=" + getCollectItem() + ", collectRealItem=" + getCollectRealItem() + ", data=" + getData() + ")";
|
}
|
|
public static <T> CollectParamResVOBuilder<T> builder() {
|
return new CollectParamResVOBuilder<>();
|
}
|
|
public CollectParamResVO() {
|
}
|
|
public CollectParamResVO(final String collectItem, final String collectRealItem, final List<T> data) {
|
this.collectItem = collectItem;
|
this.collectRealItem = collectRealItem;
|
this.data = data;
|
}
|
|
public String getCollectItem() {
|
return this.collectItem;
|
}
|
|
public String getCollectRealItem() {
|
return this.collectRealItem;
|
}
|
|
public List<T> getData() {
|
return this.data;
|
}
|
}
|