package com.qianwen.smartman.modules.mdc.dto;
|
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
|
public class ProcessParameterVO implements Serializable {
|
private static final long serialVersionUID = -1794674168753499898L;
|
private Timestamp time;
|
private Long realTime;
|
private String collectItem;
|
private String valueCollect;
|
|
public void setTime(final Timestamp time) {
|
this.time = time;
|
}
|
|
public void setRealTime(final Long realTime) {
|
this.realTime = realTime;
|
}
|
|
public void setCollectItem(final String collectItem) {
|
this.collectItem = collectItem;
|
}
|
|
public void setValueCollect(final String valueCollect) {
|
this.valueCollect = valueCollect;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessParameterVO) {
|
ProcessParameterVO other = (ProcessParameterVO) o;
|
if (other.canEqual(this)) {
|
Object this$realTime = getRealTime();
|
Object other$realTime = other.getRealTime();
|
if (this$realTime == null) {
|
if (other$realTime != null) {
|
return false;
|
}
|
} else if (!this$realTime.equals(other$realTime)) {
|
return false;
|
}
|
Object this$time = getTime();
|
Object other$time = other.getTime();
|
if (this$time == null) {
|
if (other$time != null) {
|
return false;
|
}
|
} else if (!this$time.equals(other$time)) {
|
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$valueCollect = getValueCollect();
|
Object other$valueCollect = other.getValueCollect();
|
return this$valueCollect == null ? other$valueCollect == null : this$valueCollect.equals(other$valueCollect);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessParameterVO;
|
}
|
|
public int hashCode() {
|
Object $realTime = getRealTime();
|
int result = (1 * 59) + ($realTime == null ? 43 : $realTime.hashCode());
|
Object $time = getTime();
|
int result2 = (result * 59) + ($time == null ? 43 : $time.hashCode());
|
Object $collectItem = getCollectItem();
|
int result3 = (result2 * 59) + ($collectItem == null ? 43 : $collectItem.hashCode());
|
Object $valueCollect = getValueCollect();
|
return (result3 * 59) + ($valueCollect == null ? 43 : $valueCollect.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessParameterVO(time=" + getTime() + ", realTime=" + getRealTime() + ", collectItem=" + getCollectItem() + ", valueCollect=" + getValueCollect() + ")";
|
}
|
|
public ProcessParameterVO() {
|
}
|
|
public ProcessParameterVO(final Timestamp time, final Long realTime, final String collectItem, final String valueCollect) {
|
this.time = time;
|
this.realTime = realTime;
|
this.collectItem = collectItem;
|
this.valueCollect = valueCollect;
|
}
|
|
public Timestamp getTime() {
|
return this.time;
|
}
|
|
public Long getRealTime() {
|
return this.realTime;
|
}
|
|
public String getCollectItem() {
|
return this.collectItem;
|
}
|
|
public String getValueCollect() {
|
return this.valueCollect;
|
}
|
|
public String getValue() {
|
return getValueCollect();
|
}
|
}
|