package com.qianwen.mdc.collect.dto;
|
|
public class StateAggregateTimeDTO {
|
private Long startTime;
|
private Long endTime;
|
private Boolean noFeedbackTime;
|
|
public void setStartTime(final Long startTime) {
|
this.startTime = startTime;
|
}
|
|
public void setEndTime(final Long endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setNoFeedbackTime(final Boolean noFeedbackTime) {
|
this.noFeedbackTime = noFeedbackTime;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof StateAggregateTimeDTO) {
|
StateAggregateTimeDTO other = (StateAggregateTimeDTO) o;
|
if (other.canEqual(this)) {
|
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();
|
if (this$endTime == null) {
|
if (other$endTime != null) {
|
return false;
|
}
|
} else if (!this$endTime.equals(other$endTime)) {
|
return false;
|
}
|
Object this$noFeedbackTime = getNoFeedbackTime();
|
Object other$noFeedbackTime = other.getNoFeedbackTime();
|
return this$noFeedbackTime == null ? other$noFeedbackTime == null : this$noFeedbackTime.equals(other$noFeedbackTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof StateAggregateTimeDTO;
|
}
|
|
public int hashCode() {
|
Object $startTime = getStartTime();
|
int result = (1 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
int result2 = (result * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $noFeedbackTime = getNoFeedbackTime();
|
return (result2 * 59) + ($noFeedbackTime == null ? 43 : $noFeedbackTime.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationStateAggregateTimeDTO(startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", noFeedbackTime=" + getNoFeedbackTime() + ")";
|
}
|
|
public Long getStartTime() {
|
return this.startTime;
|
}
|
|
public Long getEndTime() {
|
return this.endTime;
|
}
|
|
public Boolean getNoFeedbackTime() {
|
return this.noFeedbackTime;
|
}
|
}
|