package com.qianwen.smartman.modules.visual.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import javax.validation.constraints.Size;
|
|
|
public class VisualBaseVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("工位id集合")
|
@Size(min = 1, message = "工位ID不能为空")
|
private List<Long> workStationIdList;
|
@ApiModelProperty("时间等级")
|
private String timeLevel;//running-top中是小时数
|
|
public void setWorkStationIdList(final List<Long> workStationIdList) {
|
this.workStationIdList = workStationIdList;
|
}
|
|
public void setTimeLevel(final String timeLevel) {
|
this.timeLevel = timeLevel;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof VisualBaseVO) {
|
VisualBaseVO other = (VisualBaseVO) o;
|
if (other.canEqual(this)) {
|
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$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 VisualBaseVO;
|
}
|
|
public int hashCode() {
|
Object $workStationIdList = getWorkStationIdList();
|
int result = (1 * 59) + ($workStationIdList == null ? 43 : $workStationIdList.hashCode());
|
Object $timeLevel = getTimeLevel();
|
return (result * 59) + ($timeLevel == null ? 43 : $timeLevel.hashCode());
|
}
|
|
public String toString() {
|
return "VisualBaseVO(workStationIdList=" + getWorkStationIdList() + ", timeLevel=" + getTimeLevel() + ")";
|
}
|
|
public List<Long> getWorkStationIdList() {
|
return this.workStationIdList;
|
}
|
|
public String getTimeLevel() {
|
return this.timeLevel;
|
}
|
}
|