package com.qianwen.smartman.modules.mdc.vo; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import java.util.Date; import com.qianwen.smartman.common.constant.DateConstant; import org.springframework.format.annotation.DateTimeFormat; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/WorkstationFeedbackInfoVO.class */ public class WorkstationFeedbackInfoVO { @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "工位ID", dataType = "java.lang.String") private Long workstationId; @ApiModelProperty("工位Code") private String workstationCode; @ApiModelProperty("工位名称") private String workstationName; @ApiModelProperty("工位图片") private String workstationAvatar; @ApiModelProperty("持续反馈工位反馈描述") private String wcsDesc; @ApiModelProperty("持续反馈工位反馈颜色") private String wcsColor; @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME) @ApiModelProperty("即时反馈开始时间") @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME) private Date lastImmediateFeedbackTime; @ApiModelProperty("今日是否存在反馈") private Boolean toDayHaveFeedback; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "持续反馈ID", dataType = "java.lang.String") private Long feedbackId; public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; } public void setWorkstationName(final String workstationName) { this.workstationName = workstationName; } public void setWorkstationAvatar(final String workstationAvatar) { this.workstationAvatar = workstationAvatar; } public void setWcsDesc(final String wcsDesc) { this.wcsDesc = wcsDesc; } public void setWcsColor(final String wcsColor) { this.wcsColor = wcsColor; } @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME) public void setLastImmediateFeedbackTime(final Date lastImmediateFeedbackTime) { this.lastImmediateFeedbackTime = lastImmediateFeedbackTime; } public void setToDayHaveFeedback(final Boolean toDayHaveFeedback) { this.toDayHaveFeedback = toDayHaveFeedback; } public void setFeedbackId(final Long feedbackId) { this.feedbackId = feedbackId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationFeedbackInfoVO) { WorkstationFeedbackInfoVO other = (WorkstationFeedbackInfoVO) 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$toDayHaveFeedback = getToDayHaveFeedback(); Object other$toDayHaveFeedback = other.getToDayHaveFeedback(); if (this$toDayHaveFeedback == null) { if (other$toDayHaveFeedback != null) { return false; } } else if (!this$toDayHaveFeedback.equals(other$toDayHaveFeedback)) { 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$workstationCode = getWorkstationCode(); Object other$workstationCode = other.getWorkstationCode(); if (this$workstationCode == null) { if (other$workstationCode != null) { return false; } } else if (!this$workstationCode.equals(other$workstationCode)) { return false; } Object this$workstationName = getWorkstationName(); Object other$workstationName = other.getWorkstationName(); if (this$workstationName == null) { if (other$workstationName != null) { return false; } } else if (!this$workstationName.equals(other$workstationName)) { return false; } Object this$workstationAvatar = getWorkstationAvatar(); Object other$workstationAvatar = other.getWorkstationAvatar(); if (this$workstationAvatar == null) { if (other$workstationAvatar != null) { return false; } } else if (!this$workstationAvatar.equals(other$workstationAvatar)) { return false; } Object this$wcsDesc = getWcsDesc(); Object other$wcsDesc = other.getWcsDesc(); if (this$wcsDesc == null) { if (other$wcsDesc != null) { return false; } } else if (!this$wcsDesc.equals(other$wcsDesc)) { return false; } Object this$wcsColor = getWcsColor(); Object other$wcsColor = other.getWcsColor(); if (this$wcsColor == null) { if (other$wcsColor != null) { return false; } } else if (!this$wcsColor.equals(other$wcsColor)) { return false; } Object this$lastImmediateFeedbackTime = getLastImmediateFeedbackTime(); Object other$lastImmediateFeedbackTime = other.getLastImmediateFeedbackTime(); return this$lastImmediateFeedbackTime == null ? other$lastImmediateFeedbackTime == null : this$lastImmediateFeedbackTime.equals(other$lastImmediateFeedbackTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationFeedbackInfoVO; } public int hashCode() { Object $workstationId = getWorkstationId(); int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $toDayHaveFeedback = getToDayHaveFeedback(); int result2 = (result * 59) + ($toDayHaveFeedback == null ? 43 : $toDayHaveFeedback.hashCode()); Object $feedbackId = getFeedbackId(); int result3 = (result2 * 59) + ($feedbackId == null ? 43 : $feedbackId.hashCode()); Object $workstationCode = getWorkstationCode(); int result4 = (result3 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); Object $workstationName = getWorkstationName(); int result5 = (result4 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $workstationAvatar = getWorkstationAvatar(); int result6 = (result5 * 59) + ($workstationAvatar == null ? 43 : $workstationAvatar.hashCode()); Object $wcsDesc = getWcsDesc(); int result7 = (result6 * 59) + ($wcsDesc == null ? 43 : $wcsDesc.hashCode()); Object $wcsColor = getWcsColor(); int result8 = (result7 * 59) + ($wcsColor == null ? 43 : $wcsColor.hashCode()); Object $lastImmediateFeedbackTime = getLastImmediateFeedbackTime(); return (result8 * 59) + ($lastImmediateFeedbackTime == null ? 43 : $lastImmediateFeedbackTime.hashCode()); } public String toString() { return "WorkstationFeedbackInfoVO(workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workstationAvatar=" + getWorkstationAvatar() + ", wcsDesc=" + getWcsDesc() + ", wcsColor=" + getWcsColor() + ", lastImmediateFeedbackTime=" + getLastImmediateFeedbackTime() + ", toDayHaveFeedback=" + getToDayHaveFeedback() + ", feedbackId=" + getFeedbackId() + ")"; } public Long getWorkstationId() { return this.workstationId; } public String getWorkstationCode() { return this.workstationCode; } public String getWorkstationName() { return this.workstationName; } public String getWorkstationAvatar() { return this.workstationAvatar; } public String getWcsDesc() { return this.wcsDesc; } public String getWcsColor() { return this.wcsColor; } public Date getLastImmediateFeedbackTime() { return this.lastImmediateFeedbackTime; } public Boolean getToDayHaveFeedback() { return this.toDayHaveFeedback; } public Long getFeedbackId() { return this.feedbackId; } }