package com.qianwen.smartman.modules.mdc.vo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer; import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.time.LocalDate; import java.util.List; import javax.validation.constraints.NotNull; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/StatusRecordDateSelectVO.class */ public class StatusRecordDateSelectVO implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty("工位信息列表") private List workstationInfoList; @JsonDeserialize(using = LocalDateDeserializer.class) @JsonSerialize(using = LocalDateSerializer.class) @ApiModelProperty("日期") @NotNull(message = "日期不能为空") private LocalDate date; @JsonDeserialize(using = LocalDateDeserializer.class) @JsonSerialize(using = LocalDateSerializer.class) @ApiModelProperty("结束日期") private LocalDate endDate; @ApiModelProperty("是否包含设备反馈记录") private boolean machineFeedback = true; @ApiModelProperty("是否包含人工反馈") private boolean humanFeedback; public void setWorkstationInfoList(final List workstationInfoList) { this.workstationInfoList = workstationInfoList; } @JsonDeserialize(using = LocalDateDeserializer.class) public void setDate(final LocalDate date) { this.date = date; } @JsonDeserialize(using = LocalDateDeserializer.class) public void setEndDate(final LocalDate endDate) { this.endDate = endDate; } public void setMachineFeedback(final boolean machineFeedback) { this.machineFeedback = machineFeedback; } public void setHumanFeedback(final boolean humanFeedback) { this.humanFeedback = humanFeedback; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof StatusRecordDateSelectVO) { StatusRecordDateSelectVO other = (StatusRecordDateSelectVO) o; if (other.canEqual(this) && isMachineFeedback() == other.isMachineFeedback() && isHumanFeedback() == other.isHumanFeedback()) { Object this$workstationInfoList = getWorkstationInfoList(); Object other$workstationInfoList = other.getWorkstationInfoList(); if (this$workstationInfoList == null) { if (other$workstationInfoList != null) { return false; } } else if (!this$workstationInfoList.equals(other$workstationInfoList)) { return false; } Object this$date = getDate(); Object other$date = other.getDate(); if (this$date == null) { if (other$date != null) { return false; } } else if (!this$date.equals(other$date)) { return false; } Object this$endDate = getEndDate(); Object other$endDate = other.getEndDate(); return this$endDate == null ? other$endDate == null : this$endDate.equals(other$endDate); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof StatusRecordDateSelectVO; } public int hashCode() { int result = (1 * 59) + (isMachineFeedback() ? 79 : 97); int result2 = (result * 59) + (isHumanFeedback() ? 79 : 97); Object $workstationInfoList = getWorkstationInfoList(); int result3 = (result2 * 59) + ($workstationInfoList == null ? 43 : $workstationInfoList.hashCode()); Object $date = getDate(); int result4 = (result3 * 59) + ($date == null ? 43 : $date.hashCode()); Object $endDate = getEndDate(); return (result4 * 59) + ($endDate == null ? 43 : $endDate.hashCode()); } public String toString() { return "StatusRecordDateSelectVO(workstationInfoList=" + getWorkstationInfoList() + ", date=" + getDate() + ", endDate=" + getEndDate() + ", machineFeedback=" + isMachineFeedback() + ", humanFeedback=" + isHumanFeedback() + ")"; } public List getWorkstationInfoList() { return this.workstationInfoList; } public LocalDate getDate() { return this.date; } public LocalDate getEndDate() { return this.endDate; } public boolean isMachineFeedback() { return this.machineFeedback; } public boolean isHumanFeedback() { return this.humanFeedback; } }