package com.qianwen.smartman.modules.mdc.entity;
|
|
import java.sql.Timestamp;
|
|
public class SuperAggregateState extends SuperAggregate {
|
private Timestamp startTime;
|
private Timestamp endTime;
|
/**
|
* 采集的期间/时长。单位秒?
|
*/
|
private Long durationCollect;
|
private Integer valueCollect;
|
/**
|
* 工况
|
*/
|
private Integer wcs;
|
/**
|
* 效率?
|
*/
|
private Integer rps;
|
private Boolean isDeleted;
|
private Integer isPlan;
|
private Long employeeId;
|
private Long feedbackId;
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SuperAggregateState) {
|
SuperAggregateState other = (SuperAggregateState) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$durationCollect = getDurationCollect();
|
Object other$durationCollect = other.getDurationCollect();
|
if (this$durationCollect == null) {
|
if (other$durationCollect != null) {
|
return false;
|
}
|
} else if (!this$durationCollect.equals(other$durationCollect)) {
|
return false;
|
}
|
Object this$valueCollect = getValueCollect();
|
Object other$valueCollect = other.getValueCollect();
|
if (this$valueCollect == null) {
|
if (other$valueCollect != null) {
|
return false;
|
}
|
} else if (!this$valueCollect.equals(other$valueCollect)) {
|
return false;
|
}
|
Object this$wcs = getWcs();
|
Object other$wcs = other.getWcs();
|
if (this$wcs == null) {
|
if (other$wcs != null) {
|
return false;
|
}
|
} else if (!this$wcs.equals(other$wcs)) {
|
return false;
|
}
|
Object this$rps = getRps();
|
Object other$rps = other.getRps();
|
if (this$rps == null) {
|
if (other$rps != null) {
|
return false;
|
}
|
} else if (!this$rps.equals(other$rps)) {
|
return false;
|
}
|
Object this$isDeleted = getIsDeleted();
|
Object other$isDeleted = other.getIsDeleted();
|
if (this$isDeleted == null) {
|
if (other$isDeleted != null) {
|
return false;
|
}
|
} else if (!this$isDeleted.equals(other$isDeleted)) {
|
return false;
|
}
|
Object this$isPlan = getIsPlan();
|
Object other$isPlan = other.getIsPlan();
|
if (this$isPlan == null) {
|
if (other$isPlan != null) {
|
return false;
|
}
|
} else if (!this$isPlan.equals(other$isPlan)) {
|
return false;
|
}
|
Object this$employeeId = getEmployeeId();
|
Object other$employeeId = other.getEmployeeId();
|
if (this$employeeId == null) {
|
if (other$employeeId != null) {
|
return false;
|
}
|
} else if (!this$employeeId.equals(other$employeeId)) {
|
return false;
|
}
|
Object this$feedbackId = getFeedbackId();
|
Object other$feedbackId = other.getFeedbackId();
|
if (this$feedbackId == null) {
|
if (other$feedbackId != null) {
|
return false;
|
}
|
} else if (!this$feedbackId.equals(other$feedbackId)) {
|
return false;
|
}
|
Object this$startTime = getStartTime();
|
Object other$startTime = other.getStartTime();
|
if (this$startTime == null) {
|
if (other$startTime != null) {
|
return false;
|
}
|
} else if (!this$startTime.equals(other$startTime)) {
|
return false;
|
}
|
Object this$endTime = getEndTime();
|
Object other$endTime = other.getEndTime();
|
return this$endTime == null ? other$endTime == null : this$endTime.equals(other$endTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
@Override // org.springblade.modules.mdc.entity.SuperAggregate
|
protected boolean canEqual(final Object other) {
|
return other instanceof SuperAggregateState;
|
}
|
|
@Override // org.springblade.modules.mdc.entity.SuperAggregate
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $durationCollect = getDurationCollect();
|
int result2 = (result * 59) + ($durationCollect == null ? 43 : $durationCollect.hashCode());
|
Object $valueCollect = getValueCollect();
|
int result3 = (result2 * 59) + ($valueCollect == null ? 43 : $valueCollect.hashCode());
|
Object $wcs = getWcs();
|
int result4 = (result3 * 59) + ($wcs == null ? 43 : $wcs.hashCode());
|
Object $rps = getRps();
|
int result5 = (result4 * 59) + ($rps == null ? 43 : $rps.hashCode());
|
Object $isDeleted = getIsDeleted();
|
int result6 = (result5 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
|
Object $isPlan = getIsPlan();
|
int result7 = (result6 * 59) + ($isPlan == null ? 43 : $isPlan.hashCode());
|
Object $employeeId = getEmployeeId();
|
int result8 = (result7 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
|
Object $feedbackId = getFeedbackId();
|
int result9 = (result8 * 59) + ($feedbackId == null ? 43 : $feedbackId.hashCode());
|
Object $startTime = getStartTime();
|
int result10 = (result9 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
return (result10 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
}
|
|
public void setStartTime(final Timestamp startTime) {
|
this.startTime = startTime;
|
}
|
|
public void setEndTime(final Timestamp endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setDurationCollect(final Long durationCollect) {
|
this.durationCollect = durationCollect;
|
}
|
|
public void setValueCollect(final Integer valueCollect) {
|
this.valueCollect = valueCollect;
|
}
|
|
public void setWcs(final Integer wcs) {
|
this.wcs = wcs;
|
}
|
|
public void setRps(final Integer rps) {
|
this.rps = rps;
|
}
|
|
public void setIsDeleted(final Boolean isDeleted) {
|
this.isDeleted = isDeleted;
|
}
|
|
public void setIsPlan(final Integer isPlan) {
|
this.isPlan = isPlan;
|
}
|
|
public void setEmployeeId(final Long employeeId) {
|
this.employeeId = employeeId;
|
}
|
|
public void setFeedbackId(final Long feedbackId) {
|
this.feedbackId = feedbackId;
|
}
|
|
@Override // org.springblade.modules.mdc.entity.SuperAggregate
|
public String toString() {
|
return "SuperAggregateState(startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", durationCollect=" + getDurationCollect() + ", valueCollect=" + getValueCollect() + ", wcs=" + getWcs() + ", rps=" + getRps() + ", isDeleted=" + getIsDeleted() + ", isPlan=" + getIsPlan() + ", employeeId=" + getEmployeeId() + ", feedbackId=" + getFeedbackId() + ")";
|
}
|
|
public SuperAggregateState() {
|
}
|
|
public SuperAggregateState(final Timestamp startTime, final Timestamp endTime, final Long durationCollect, final Integer valueCollect, final Integer wcs, final Integer rps, final Boolean isDeleted, final Integer isPlan, final Long employeeId, final Long feedbackId) {
|
this.startTime = startTime;
|
this.endTime = endTime;
|
this.durationCollect = durationCollect;
|
this.valueCollect = valueCollect;
|
this.wcs = wcs;
|
this.rps = rps;
|
this.isDeleted = isDeleted;
|
this.isPlan = isPlan;
|
this.employeeId = employeeId;
|
this.feedbackId = feedbackId;
|
}
|
|
public Timestamp getStartTime() {
|
return this.startTime;
|
}
|
|
public Timestamp getEndTime() {
|
return this.endTime;
|
}
|
|
public Long getDurationCollect() {
|
return this.durationCollect;
|
}
|
|
public Integer getValueCollect() {
|
return this.valueCollect;
|
}
|
|
public Integer getWcs() {
|
return this.wcs;
|
}
|
|
public Integer getRps() {
|
return this.rps;
|
}
|
|
public Boolean getIsDeleted() {
|
return this.isDeleted;
|
}
|
|
public Integer getIsPlan() {
|
return this.isPlan;
|
}
|
|
public Long getEmployeeId() {
|
return this.employeeId;
|
}
|
|
public Long getFeedbackId() {
|
return this.feedbackId;
|
}
|
}
|