package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class MaterialQueryVO implements Serializable {
|
@ApiModelProperty(name = "物料类型Id", dataType = "java.lang.String")
|
private Long typeId;
|
@ApiModelProperty("关键词")
|
private String keyWord;
|
@ApiModelProperty("物料属性")
|
private Integer property;
|
@ApiModelProperty("启用-1 禁用-0")
|
private Integer status;
|
|
public MaterialQueryVO setTypeId(final Long typeId) {
|
this.typeId = typeId;
|
return this;
|
}
|
|
public MaterialQueryVO setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
return this;
|
}
|
|
public MaterialQueryVO setProperty(final Integer property) {
|
this.property = property;
|
return this;
|
}
|
|
public MaterialQueryVO setStatus(final Integer status) {
|
this.status = status;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaterialQueryVO) {
|
MaterialQueryVO other = (MaterialQueryVO) o;
|
if (other.canEqual(this)) {
|
Object this$typeId = getTypeId();
|
Object other$typeId = other.getTypeId();
|
if (this$typeId == null) {
|
if (other$typeId != null) {
|
return false;
|
}
|
} else if (!this$typeId.equals(other$typeId)) {
|
return false;
|
}
|
Object this$property = getProperty();
|
Object other$property = other.getProperty();
|
if (this$property == null) {
|
if (other$property != null) {
|
return false;
|
}
|
} else if (!this$property.equals(other$property)) {
|
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$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 MaterialQueryVO;
|
}
|
|
public int hashCode() {
|
Object $typeId = getTypeId();
|
int result = (1 * 59) + ($typeId == null ? 43 : $typeId.hashCode());
|
Object $property = getProperty();
|
int result2 = (result * 59) + ($property == null ? 43 : $property.hashCode());
|
Object $status = getStatus();
|
int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $keyWord = getKeyWord();
|
return (result3 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode());
|
}
|
|
public String toString() {
|
return "MaterialQueryVO(typeId=" + getTypeId() + ", keyWord=" + getKeyWord() + ", property=" + getProperty() + ", status=" + getStatus() + ")";
|
}
|
|
public Long getTypeId() {
|
return this.typeId;
|
}
|
|
public String getKeyWord() {
|
return this.keyWord;
|
}
|
|
public Integer getProperty() {
|
return this.property;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|