package com.qianwen.smartman.modules.perf.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import com.qianwen.smartman.modules.perf.dto.WorkstationBO;
|
import com.qianwen.smartman.modules.perf.enums.WorkStatusEnum;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/QueryWorkStatusVO.class */
|
public class QueryWorkStatusVO implements Serializable {
|
private static final long serialVersionUID = -1922614889298875439L;
|
@ApiModelProperty("查询类型 ALL-所有 ON-上线 OFF-下线 MY-我的")
|
private WorkStatusEnum queryType;
|
@ApiModelProperty("工位信息")
|
private List<WorkstationBO> workstations;
|
|
public void setQueryType(final WorkStatusEnum queryType) {
|
this.queryType = queryType;
|
}
|
|
public void setWorkstations(final List<WorkstationBO> workstations) {
|
this.workstations = workstations;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof QueryWorkStatusVO) {
|
QueryWorkStatusVO other = (QueryWorkStatusVO) o;
|
if (other.canEqual(this)) {
|
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$workstations = getWorkstations();
|
Object other$workstations = other.getWorkstations();
|
return this$workstations == null ? other$workstations == null : this$workstations.equals(other$workstations);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof QueryWorkStatusVO;
|
}
|
|
public int hashCode() {
|
Object $queryType = getQueryType();
|
int result = (1 * 59) + ($queryType == null ? 43 : $queryType.hashCode());
|
Object $workstations = getWorkstations();
|
return (result * 59) + ($workstations == null ? 43 : $workstations.hashCode());
|
}
|
|
public String toString() {
|
return "QueryWorkStatusVO(queryType=" + getQueryType() + ", workstations=" + getWorkstations() + ")";
|
}
|
|
public WorkStatusEnum getQueryType() {
|
return this.queryType;
|
}
|
|
public List<WorkstationBO> getWorkstations() {
|
return this.workstations;
|
}
|
}
|