package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.util.List; import javax.validation.constraints.NotNull; public class ShiftModelSearchVO { @NotNull(message = "status cannot be empty") @ApiModelProperty("状态集合") private List statusList; @ApiModelProperty("班次方案") private String code; @ApiModelProperty("班次名称") private String name; public void setStatusList(final List statusList) { this.statusList = statusList; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ShiftModelSearchVO) { ShiftModelSearchVO other = (ShiftModelSearchVO) o; if (other.canEqual(this)) { Object this$statusList = getStatusList(); Object other$statusList = other.getStatusList(); if (this$statusList == null) { if (other$statusList != null) { return false; } } else if (!this$statusList.equals(other$statusList)) { 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$name = getName(); Object other$name = other.getName(); return this$name == null ? other$name == null : this$name.equals(other$name); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ShiftModelSearchVO; } public int hashCode() { Object $statusList = getStatusList(); int result = (1 * 59) + ($statusList == null ? 43 : $statusList.hashCode()); Object $code = getCode(); int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); return (result2 * 59) + ($name == null ? 43 : $name.hashCode()); } public String toString() { return "ShiftModelSearchVO(statusList=" + getStatusList() + ", code=" + getCode() + ", name=" + getName() + ")"; } public List getStatusList() { return this.statusList; } public String getCode() { return this.code; } public String getName() { return this.name; } }