package com.qianwen.smartman.modules.andon.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.validation.constraints.NotNull; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/andon/vo/AndonStatisticsSearchVO.class */ public class AndonStatisticsSearchVO implements Serializable { private static final long serialVersionUID = 5382738642334337148L; @NotNull(message = "开始时间必填") @ApiModelProperty("开始时间") private Date startTime; @NotNull(message = "结束时间必填") @ApiModelProperty("结束时间") private Date endTime; @NotNull(message = "统计分类必传") @ApiModelProperty("0:工位组统计 1:工位统计") private Integer workType; @ApiModelProperty("id集合") private List ids; @ApiModelProperty("查询类型 0:班次 1:日 2:周 3:月") private Integer queryType; public void setStartTime(final Date startTime) { this.startTime = startTime; } public void setEndTime(final Date endTime) { this.endTime = endTime; } public void setWorkType(final Integer workType) { this.workType = workType; } public void setIds(final List ids) { this.ids = ids; } public void setQueryType(final Integer queryType) { this.queryType = queryType; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof AndonStatisticsSearchVO) { AndonStatisticsSearchVO other = (AndonStatisticsSearchVO) o; if (other.canEqual(this)) { Object this$workType = getWorkType(); Object other$workType = other.getWorkType(); if (this$workType == null) { if (other$workType != null) { return false; } } else if (!this$workType.equals(other$workType)) { return false; } Object this$queryType = getQueryType(); Object other$queryType = other.getQueryType(); if (this$queryType == null) { if (other$queryType != null) { return false; } } else if (!this$queryType.equals(other$queryType)) { return false; } 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$ids = getIds(); Object other$ids = other.getIds(); return this$ids == null ? other$ids == null : this$ids.equals(other$ids); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof AndonStatisticsSearchVO; } public int hashCode() { Object $workType = getWorkType(); int result = (1 * 59) + ($workType == null ? 43 : $workType.hashCode()); Object $queryType = getQueryType(); int result2 = (result * 59) + ($queryType == null ? 43 : $queryType.hashCode()); Object $startTime = getStartTime(); int result3 = (result2 * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $endTime = getEndTime(); int result4 = (result3 * 59) + ($endTime == null ? 43 : $endTime.hashCode()); Object $ids = getIds(); return (result4 * 59) + ($ids == null ? 43 : $ids.hashCode()); } public String toString() { return "AndonStatisticsSearchVO(startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", workType=" + getWorkType() + ", ids=" + getIds() + ", queryType=" + getQueryType() + ")"; } public Date getStartTime() { return this.startTime; } public Date getEndTime() { return this.endTime; } public Integer getWorkType() { return this.workType; } public List getIds() { return this.ids; } public Integer getQueryType() { return this.queryType; } }