package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import javax.validation.constraints.NotNull;
|
|
public class CommonGroupTypeVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@NotNull(message = "组别不能为空")
|
@ApiModelProperty(value = "组别", required = true)
|
private String groupType;
|
@NotNull(message = "组子类不能为空")
|
@ApiModelProperty(value = "组子类", required = true)
|
private Integer groupCategory;
|
@ApiModelProperty("工位内部存储区分")
|
private Integer distinguish;
|
@ApiModelProperty("业务状态 1启用 0 停用")
|
private Integer status;
|
@ApiModelProperty("工位id集合")
|
private List<Long> workstationIdList;
|
@ApiModelProperty("工种")
|
private Integer workType;
|
@ApiModelProperty("关键字查询")
|
private String keyword;
|
|
public CommonGroupTypeVO setGroupType(final String groupType) {
|
this.groupType = groupType;
|
return this;
|
}
|
|
public CommonGroupTypeVO setGroupCategory(final Integer groupCategory) {
|
this.groupCategory = groupCategory;
|
return this;
|
}
|
|
public CommonGroupTypeVO setDistinguish(final Integer distinguish) {
|
this.distinguish = distinguish;
|
return this;
|
}
|
|
public CommonGroupTypeVO setStatus(final Integer status) {
|
this.status = status;
|
return this;
|
}
|
|
public CommonGroupTypeVO setWorkstationIdList(final List<Long> workstationIdList) {
|
this.workstationIdList = workstationIdList;
|
return this;
|
}
|
|
public CommonGroupTypeVO setWorkType(final Integer workType) {
|
this.workType = workType;
|
return this;
|
}
|
|
public CommonGroupTypeVO setKeyword(final String keyword) {
|
this.keyword = keyword;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CommonGroupTypeVO) {
|
CommonGroupTypeVO other = (CommonGroupTypeVO) o;
|
if (other.canEqual(this)) {
|
Object this$groupCategory = getGroupCategory();
|
Object other$groupCategory = other.getGroupCategory();
|
if (this$groupCategory == null) {
|
if (other$groupCategory != null) {
|
return false;
|
}
|
} else if (!this$groupCategory.equals(other$groupCategory)) {
|
return false;
|
}
|
Object this$distinguish = getDistinguish();
|
Object other$distinguish = other.getDistinguish();
|
if (this$distinguish == null) {
|
if (other$distinguish != null) {
|
return false;
|
}
|
} else if (!this$distinguish.equals(other$distinguish)) {
|
return false;
|
}
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$workType = getWorkType();
|
Object other$workType = other.getWorkType();
|
if (this$workType == null) {
|
if (other$workType != null) {
|
return false;
|
}
|
} else if (!this$workType.equals(other$workType)) {
|
return false;
|
}
|
Object this$groupType = getGroupType();
|
Object other$groupType = other.getGroupType();
|
if (this$groupType == null) {
|
if (other$groupType != null) {
|
return false;
|
}
|
} else if (!this$groupType.equals(other$groupType)) {
|
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$keyword = getKeyword();
|
Object other$keyword = other.getKeyword();
|
return this$keyword == null ? other$keyword == null : this$keyword.equals(other$keyword);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CommonGroupTypeVO;
|
}
|
|
public int hashCode() {
|
Object $groupCategory = getGroupCategory();
|
int result = (1 * 59) + ($groupCategory == null ? 43 : $groupCategory.hashCode());
|
Object $distinguish = getDistinguish();
|
int result2 = (result * 59) + ($distinguish == null ? 43 : $distinguish.hashCode());
|
Object $status = getStatus();
|
int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $workType = getWorkType();
|
int result4 = (result3 * 59) + ($workType == null ? 43 : $workType.hashCode());
|
Object $groupType = getGroupType();
|
int result5 = (result4 * 59) + ($groupType == null ? 43 : $groupType.hashCode());
|
Object $workstationIdList = getWorkstationIdList();
|
int result6 = (result5 * 59) + ($workstationIdList == null ? 43 : $workstationIdList.hashCode());
|
Object $keyword = getKeyword();
|
return (result6 * 59) + ($keyword == null ? 43 : $keyword.hashCode());
|
}
|
|
public String toString() {
|
return "CommonGroupTypeVO(groupType=" + getGroupType() + ", groupCategory=" + getGroupCategory() + ", distinguish=" + getDistinguish() + ", status=" + getStatus() + ", workstationIdList=" + getWorkstationIdList() + ", workType=" + getWorkType() + ", keyword=" + getKeyword() + ")";
|
}
|
|
public String getGroupType() {
|
return this.groupType;
|
}
|
|
public Integer getGroupCategory() {
|
return this.groupCategory;
|
}
|
|
public Integer getDistinguish() {
|
return this.distinguish;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public List<Long> getWorkstationIdList() {
|
return this.workstationIdList;
|
}
|
|
public Integer getWorkType() {
|
return this.workType;
|
}
|
|
public String getKeyword() {
|
return this.keyword;
|
}
|
}
|