package com.qianwen.mdc.collect.dto;
|
|
import java.util.Date;
|
|
import com.qianwen.mdc.collect.enums.FeedbackTimePointEnum;
|
|
public class WorkstationFeedbackTimePointDTO {
|
private Integer index;
|
private Long feedbackId;
|
private Long feedbackDetailId;
|
private Date feedbackTime;
|
private Date reportTime;
|
private String wcs;
|
private FeedbackTimePointEnum pointEnum;
|
|
public WorkstationFeedbackTimePointDTO setIndex(final Integer index) {
|
this.index = index;
|
return this;
|
}
|
|
public WorkstationFeedbackTimePointDTO setFeedbackId(final Long feedbackId) {
|
this.feedbackId = feedbackId;
|
return this;
|
}
|
|
public WorkstationFeedbackTimePointDTO setFeedbackDetailId(final Long feedbackDetailId) {
|
this.feedbackDetailId = feedbackDetailId;
|
return this;
|
}
|
|
public WorkstationFeedbackTimePointDTO setFeedbackTime(final Date feedbackTime) {
|
this.feedbackTime = feedbackTime;
|
return this;
|
}
|
|
public WorkstationFeedbackTimePointDTO setReportTime(final Date reportTime) {
|
this.reportTime = reportTime;
|
return this;
|
}
|
|
public WorkstationFeedbackTimePointDTO setWcs(final String wcs) {
|
this.wcs = wcs;
|
return this;
|
}
|
|
public WorkstationFeedbackTimePointDTO setPointEnum(final FeedbackTimePointEnum pointEnum) {
|
this.pointEnum = pointEnum;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationFeedbackTimePointDTO) {
|
WorkstationFeedbackTimePointDTO other = (WorkstationFeedbackTimePointDTO) o;
|
if (other.canEqual(this)) {
|
Object this$index = getIndex();
|
Object other$index = other.getIndex();
|
if (this$index == null) {
|
if (other$index != null) {
|
return false;
|
}
|
} else if (!this$index.equals(other$index)) {
|
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$feedbackDetailId = getFeedbackDetailId();
|
Object other$feedbackDetailId = other.getFeedbackDetailId();
|
if (this$feedbackDetailId == null) {
|
if (other$feedbackDetailId != null) {
|
return false;
|
}
|
} else if (!this$feedbackDetailId.equals(other$feedbackDetailId)) {
|
return false;
|
}
|
Object this$feedbackTime = getFeedbackTime();
|
Object other$feedbackTime = other.getFeedbackTime();
|
if (this$feedbackTime == null) {
|
if (other$feedbackTime != null) {
|
return false;
|
}
|
} else if (!this$feedbackTime.equals(other$feedbackTime)) {
|
return false;
|
}
|
Object this$reportTime = getReportTime();
|
Object other$reportTime = other.getReportTime();
|
if (this$reportTime == null) {
|
if (other$reportTime != null) {
|
return false;
|
}
|
} else if (!this$reportTime.equals(other$reportTime)) {
|
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$pointEnum = getPointEnum();
|
Object other$pointEnum = other.getPointEnum();
|
return this$pointEnum == null ? other$pointEnum == null : this$pointEnum.equals(other$pointEnum);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationFeedbackTimePointDTO;
|
}
|
|
public int hashCode() {
|
Object $index = getIndex();
|
int result = (1 * 59) + ($index == null ? 43 : $index.hashCode());
|
Object $feedbackId = getFeedbackId();
|
int result2 = (result * 59) + ($feedbackId == null ? 43 : $feedbackId.hashCode());
|
Object $feedbackDetailId = getFeedbackDetailId();
|
int result3 = (result2 * 59) + ($feedbackDetailId == null ? 43 : $feedbackDetailId.hashCode());
|
Object $feedbackTime = getFeedbackTime();
|
int result4 = (result3 * 59) + ($feedbackTime == null ? 43 : $feedbackTime.hashCode());
|
Object $reportTime = getReportTime();
|
int result5 = (result4 * 59) + ($reportTime == null ? 43 : $reportTime.hashCode());
|
Object $wcs = getWcs();
|
int result6 = (result5 * 59) + ($wcs == null ? 43 : $wcs.hashCode());
|
Object $pointEnum = getPointEnum();
|
return (result6 * 59) + ($pointEnum == null ? 43 : $pointEnum.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationFeedbackTimePointDTO(index=" + getIndex() + ", feedbackId=" + getFeedbackId() + ", feedbackDetailId=" + getFeedbackDetailId() + ", feedbackTime=" + getFeedbackTime() + ", reportTime=" + getReportTime() + ", wcs=" + getWcs() + ", pointEnum=" + getPointEnum() + ")";
|
}
|
|
public Integer getIndex() {
|
return this.index;
|
}
|
|
public Long getFeedbackId() {
|
return this.feedbackId;
|
}
|
|
public Long getFeedbackDetailId() {
|
return this.feedbackDetailId;
|
}
|
|
public Date getFeedbackTime() {
|
return this.feedbackTime;
|
}
|
|
public Date getReportTime() {
|
return this.reportTime;
|
}
|
|
public String getWcs() {
|
return this.wcs;
|
}
|
|
public FeedbackTimePointEnum getPointEnum() {
|
return this.pointEnum;
|
}
|
}
|