package com.qianwen.smartman.modules.mdc.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import com.qianwen.smartman.modules.cps.dto.KeyNameDTO; import com.qianwen.smartman.modules.mdc.enums.StatisticalMethodEnum; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/SplitFilterVO.class */ public class SplitFilterVO implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty("统计方式:SHIFT--班次--1,DAY--日--2,WEEK--周--3,MONTH--月--4") private StatisticalMethodEnum statisticalMethod; @ApiModelProperty("选中的工位key-name") private List workStationList; @ApiModelProperty("班次index") private Integer shiftIndex; @ApiModelProperty("标题") private String title; @ApiModelProperty("code") private String code; @ApiModelProperty("日") private String date; @ApiModelProperty("周") private Integer week; @ApiModelProperty("月") private Integer month; @ApiModelProperty("年") private Integer year; public SplitFilterVO(final StatisticalMethodEnum statisticalMethod, final List workStationList, final Integer shiftIndex, final String title, final String code, final String date, final Integer week, final Integer month, final Integer year) { this.statisticalMethod = statisticalMethod; this.workStationList = workStationList; this.shiftIndex = shiftIndex; this.title = title; this.code = code; this.date = date; this.week = week; this.month = month; this.year = year; } public SplitFilterVO() { } public void setStatisticalMethod(final StatisticalMethodEnum statisticalMethod) { this.statisticalMethod = statisticalMethod; } public void setWorkStationList(final List workStationList) { this.workStationList = workStationList; } public void setShiftIndex(final Integer shiftIndex) { this.shiftIndex = shiftIndex; } public void setTitle(final String title) { this.title = title; } public void setCode(final String code) { this.code = code; } public void setDate(final String date) { this.date = date; } public void setWeek(final Integer week) { this.week = week; } public void setMonth(final Integer month) { this.month = month; } public void setYear(final Integer year) { this.year = year; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof SplitFilterVO) { SplitFilterVO other = (SplitFilterVO) o; if (other.canEqual(this)) { Object this$shiftIndex = getShiftIndex(); Object other$shiftIndex = other.getShiftIndex(); if (this$shiftIndex == null) { if (other$shiftIndex != null) { return false; } } else if (!this$shiftIndex.equals(other$shiftIndex)) { return false; } Object this$week = getWeek(); Object other$week = other.getWeek(); if (this$week == null) { if (other$week != null) { return false; } } else if (!this$week.equals(other$week)) { return false; } Object this$month = getMonth(); Object other$month = other.getMonth(); if (this$month == null) { if (other$month != null) { return false; } } else if (!this$month.equals(other$month)) { return false; } Object this$year = getYear(); Object other$year = other.getYear(); if (this$year == null) { if (other$year != null) { return false; } } else if (!this$year.equals(other$year)) { return false; } Object this$statisticalMethod = getStatisticalMethod(); Object other$statisticalMethod = other.getStatisticalMethod(); if (this$statisticalMethod == null) { if (other$statisticalMethod != null) { return false; } } else if (!this$statisticalMethod.equals(other$statisticalMethod)) { return false; } Object this$workStationList = getWorkStationList(); Object other$workStationList = other.getWorkStationList(); if (this$workStationList == null) { if (other$workStationList != null) { return false; } } else if (!this$workStationList.equals(other$workStationList)) { return false; } Object this$title = getTitle(); Object other$title = other.getTitle(); if (this$title == null) { if (other$title != null) { return false; } } else if (!this$title.equals(other$title)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$date = getDate(); Object other$date = other.getDate(); return this$date == null ? other$date == null : this$date.equals(other$date); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof SplitFilterVO; } public int hashCode() { Object $shiftIndex = getShiftIndex(); int result = (1 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode()); Object $week = getWeek(); int result2 = (result * 59) + ($week == null ? 43 : $week.hashCode()); Object $month = getMonth(); int result3 = (result2 * 59) + ($month == null ? 43 : $month.hashCode()); Object $year = getYear(); int result4 = (result3 * 59) + ($year == null ? 43 : $year.hashCode()); Object $statisticalMethod = getStatisticalMethod(); int result5 = (result4 * 59) + ($statisticalMethod == null ? 43 : $statisticalMethod.hashCode()); Object $workStationList = getWorkStationList(); int result6 = (result5 * 59) + ($workStationList == null ? 43 : $workStationList.hashCode()); Object $title = getTitle(); int result7 = (result6 * 59) + ($title == null ? 43 : $title.hashCode()); Object $code = getCode(); int result8 = (result7 * 59) + ($code == null ? 43 : $code.hashCode()); Object $date = getDate(); return (result8 * 59) + ($date == null ? 43 : $date.hashCode()); } public String toString() { return "SplitFilterVO(statisticalMethod=" + getStatisticalMethod() + ", workStationList=" + getWorkStationList() + ", shiftIndex=" + getShiftIndex() + ", title=" + getTitle() + ", code=" + getCode() + ", date=" + getDate() + ", week=" + getWeek() + ", month=" + getMonth() + ", year=" + getYear() + ")"; } public StatisticalMethodEnum getStatisticalMethod() { return this.statisticalMethod; } public List getWorkStationList() { return this.workStationList; } public Integer getShiftIndex() { return this.shiftIndex; } public String getTitle() { return this.title; } public String getCode() { return this.code; } public String getDate() { return this.date; } public Integer getWeek() { return this.week; } public Integer getMonth() { return this.month; } public Integer getYear() { return this.year; } }