package com.qianwen.smartman.modules.mdc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import javax.validation.constraints.NotBlank;
|
|
public class WorkstationEndAndStartImmediateFeedBackDTO {
|
@NotBlank
|
@ApiModelProperty("工位Id")
|
private String workstationId;
|
@NotBlank
|
@ApiModelProperty("待结束反馈Id")
|
private String endFeedbackId;
|
@NotBlank
|
@ApiModelProperty("反馈状态")
|
private String wcs;
|
@ApiModelProperty("反馈描述")
|
private String desc;
|
@ApiModelProperty("结束时间")
|
private Date endTime;
|
@ApiModelProperty("结束并再次发起反馈人员Id")
|
private String feedUser;
|
|
public void setWorkstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setEndFeedbackId(final String endFeedbackId) {
|
this.endFeedbackId = endFeedbackId;
|
}
|
|
public void setWcs(final String wcs) {
|
this.wcs = wcs;
|
}
|
|
public void setDesc(final String desc) {
|
this.desc = desc;
|
}
|
|
public void setEndTime(final Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setFeedUser(final String feedUser) {
|
this.feedUser = feedUser;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationEndAndStartImmediateFeedBackDTO) {
|
WorkstationEndAndStartImmediateFeedBackDTO other = (WorkstationEndAndStartImmediateFeedBackDTO) o;
|
if (other.canEqual(this)) {
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$endFeedbackId = getEndFeedbackId();
|
Object other$endFeedbackId = other.getEndFeedbackId();
|
if (this$endFeedbackId == null) {
|
if (other$endFeedbackId != null) {
|
return false;
|
}
|
} else if (!this$endFeedbackId.equals(other$endFeedbackId)) {
|
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$desc = getDesc();
|
Object other$desc = other.getDesc();
|
if (this$desc == null) {
|
if (other$desc != null) {
|
return false;
|
}
|
} else if (!this$desc.equals(other$desc)) {
|
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$feedUser = getFeedUser();
|
Object other$feedUser = other.getFeedUser();
|
return this$feedUser == null ? other$feedUser == null : this$feedUser.equals(other$feedUser);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationEndAndStartImmediateFeedBackDTO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $endFeedbackId = getEndFeedbackId();
|
int result2 = (result * 59) + ($endFeedbackId == null ? 43 : $endFeedbackId.hashCode());
|
Object $wcs = getWcs();
|
int result3 = (result2 * 59) + ($wcs == null ? 43 : $wcs.hashCode());
|
Object $desc = getDesc();
|
int result4 = (result3 * 59) + ($desc == null ? 43 : $desc.hashCode());
|
Object $endTime = getEndTime();
|
int result5 = (result4 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $feedUser = getFeedUser();
|
return (result5 * 59) + ($feedUser == null ? 43 : $feedUser.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationEndAndStartImmediateFeedBackDTO(workstationId=" + getWorkstationId() + ", endFeedbackId=" + getEndFeedbackId() + ", wcs=" + getWcs() + ", desc=" + getDesc() + ", endTime=" + getEndTime() + ", feedUser=" + getFeedUser() + ")";
|
}
|
|
public String getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getEndFeedbackId() {
|
return this.endFeedbackId;
|
}
|
|
public String getWcs() {
|
return this.wcs;
|
}
|
|
public String getDesc() {
|
return this.desc;
|
}
|
|
public Date getEndTime() {
|
return this.endTime;
|
}
|
|
public String getFeedUser() {
|
return this.feedUser;
|
}
|
}
|