package com.qianwen.smartman.modules.visual.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/vo/WorkstationCountVisualQueryVO.class */ public class WorkstationCountVisualQueryVO implements Serializable { @NotNull @ApiModelProperty("数据标签") private String usageCode; @ApiModelProperty("工位列表") @Size(min = 1) private List workStationIdList; @NotNull @ApiModelProperty("查询策略") private VisualUsagePolicyEnum policy; @ApiModelProperty("时间等级") private String timeLevel; public void setUsageCode(final String usageCode) { this.usageCode = usageCode; } public void setWorkStationIdList(final List workStationIdList) { this.workStationIdList = workStationIdList; } public void setPolicy(final VisualUsagePolicyEnum policy) { this.policy = policy; } public void setTimeLevel(final String timeLevel) { this.timeLevel = timeLevel; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationCountVisualQueryVO) { WorkstationCountVisualQueryVO other = (WorkstationCountVisualQueryVO) o; if (other.canEqual(this)) { Object this$usageCode = getUsageCode(); Object other$usageCode = other.getUsageCode(); if (this$usageCode == null) { if (other$usageCode != null) { return false; } } else if (!this$usageCode.equals(other$usageCode)) { return false; } Object this$workStationIdList = getWorkStationIdList(); Object other$workStationIdList = other.getWorkStationIdList(); if (this$workStationIdList == null) { if (other$workStationIdList != null) { return false; } } else if (!this$workStationIdList.equals(other$workStationIdList)) { return false; } Object this$policy = getPolicy(); Object other$policy = other.getPolicy(); if (this$policy == null) { if (other$policy != null) { return false; } } else if (!this$policy.equals(other$policy)) { return false; } Object this$timeLevel = getTimeLevel(); Object other$timeLevel = other.getTimeLevel(); return this$timeLevel == null ? other$timeLevel == null : this$timeLevel.equals(other$timeLevel); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationCountVisualQueryVO; } public int hashCode() { Object $usageCode = getUsageCode(); int result = (1 * 59) + ($usageCode == null ? 43 : $usageCode.hashCode()); Object $workStationIdList = getWorkStationIdList(); int result2 = (result * 59) + ($workStationIdList == null ? 43 : $workStationIdList.hashCode()); Object $policy = getPolicy(); int result3 = (result2 * 59) + ($policy == null ? 43 : $policy.hashCode()); Object $timeLevel = getTimeLevel(); return (result3 * 59) + ($timeLevel == null ? 43 : $timeLevel.hashCode()); } public String toString() { return "WorkstationCountVisualQueryVO(usageCode=" + getUsageCode() + ", workStationIdList=" + getWorkStationIdList() + ", policy=" + getPolicy() + ", timeLevel=" + getTimeLevel() + ")"; } public String getUsageCode() { return this.usageCode; } public List getWorkStationIdList() { return this.workStationIdList; } public VisualUsagePolicyEnum getPolicy() { return this.policy; } public String getTimeLevel() { return this.timeLevel; } }