package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
@ApiModel(value = "ProductSelectVO对象", description = "产品信息")
|
public class ProductSelectVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(value = "所属产品节点id", dataType = "java.lang.String")
|
private Long parentId;
|
@ApiModelProperty(value = "所属产品类型", dataType = "java.lang.String")
|
private String typeId;
|
@ApiModelProperty("编号/名称")
|
private String keyWord;
|
@ApiModelProperty("规格型号")
|
private String standardModel;
|
@ApiModelProperty("状态")
|
private Integer status;
|
@ApiModelProperty(value = "类型Id列表", hidden = true)
|
private List<Long> typeIds;
|
@ApiModelProperty(hidden = true)
|
private List<Long> pids;
|
@ApiModelProperty(hidden = true)
|
private List<Long> ids;
|
@ApiModelProperty(hidden = true)
|
private String orderBy;
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public void setTypeId(final String typeId) {
|
this.typeId = typeId;
|
}
|
|
public void setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
}
|
|
public void setStandardModel(final String standardModel) {
|
this.standardModel = standardModel;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setTypeIds(final List<Long> typeIds) {
|
this.typeIds = typeIds;
|
}
|
|
public void setPids(final List<Long> pids) {
|
this.pids = pids;
|
}
|
|
public void setIds(final List<Long> ids) {
|
this.ids = ids;
|
}
|
|
public void setOrderBy(final String orderBy) {
|
this.orderBy = orderBy;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProductSelectVO) {
|
ProductSelectVO other = (ProductSelectVO) o;
|
if (other.canEqual(this)) {
|
Object this$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
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$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$keyWord = getKeyWord();
|
Object other$keyWord = other.getKeyWord();
|
if (this$keyWord == null) {
|
if (other$keyWord != null) {
|
return false;
|
}
|
} else if (!this$keyWord.equals(other$keyWord)) {
|
return false;
|
}
|
Object this$standardModel = getStandardModel();
|
Object other$standardModel = other.getStandardModel();
|
if (this$standardModel == null) {
|
if (other$standardModel != null) {
|
return false;
|
}
|
} else if (!this$standardModel.equals(other$standardModel)) {
|
return false;
|
}
|
Object this$typeIds = getTypeIds();
|
Object other$typeIds = other.getTypeIds();
|
if (this$typeIds == null) {
|
if (other$typeIds != null) {
|
return false;
|
}
|
} else if (!this$typeIds.equals(other$typeIds)) {
|
return false;
|
}
|
Object this$pids = getPids();
|
Object other$pids = other.getPids();
|
if (this$pids == null) {
|
if (other$pids != null) {
|
return false;
|
}
|
} else if (!this$pids.equals(other$pids)) {
|
return false;
|
}
|
Object this$ids = getIds();
|
Object other$ids = other.getIds();
|
if (this$ids == null) {
|
if (other$ids != null) {
|
return false;
|
}
|
} else if (!this$ids.equals(other$ids)) {
|
return false;
|
}
|
Object this$orderBy = getOrderBy();
|
Object other$orderBy = other.getOrderBy();
|
return this$orderBy == null ? other$orderBy == null : this$orderBy.equals(other$orderBy);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProductSelectVO;
|
}
|
|
public int hashCode() {
|
Object $parentId = getParentId();
|
int result = (1 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $status = getStatus();
|
int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $typeId = getTypeId();
|
int result3 = (result2 * 59) + ($typeId == null ? 43 : $typeId.hashCode());
|
Object $keyWord = getKeyWord();
|
int result4 = (result3 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode());
|
Object $standardModel = getStandardModel();
|
int result5 = (result4 * 59) + ($standardModel == null ? 43 : $standardModel.hashCode());
|
Object $typeIds = getTypeIds();
|
int result6 = (result5 * 59) + ($typeIds == null ? 43 : $typeIds.hashCode());
|
Object $pids = getPids();
|
int result7 = (result6 * 59) + ($pids == null ? 43 : $pids.hashCode());
|
Object $ids = getIds();
|
int result8 = (result7 * 59) + ($ids == null ? 43 : $ids.hashCode());
|
Object $orderBy = getOrderBy();
|
return (result8 * 59) + ($orderBy == null ? 43 : $orderBy.hashCode());
|
}
|
|
public String toString() {
|
return "ProductSelectVO(parentId=" + getParentId() + ", typeId=" + getTypeId() + ", keyWord=" + getKeyWord() + ", standardModel=" + getStandardModel() + ", status=" + getStatus() + ", typeIds=" + getTypeIds() + ", pids=" + getPids() + ", ids=" + getIds() + ", orderBy=" + getOrderBy() + ")";
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public String getTypeId() {
|
return this.typeId;
|
}
|
|
public String getKeyWord() {
|
return this.keyWord;
|
}
|
|
public String getStandardModel() {
|
return this.standardModel;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public List<Long> getTypeIds() {
|
return this.typeIds;
|
}
|
|
public List<Long> getPids() {
|
return this.pids;
|
}
|
|
public List<Long> getIds() {
|
return this.ids;
|
}
|
|
public String getOrderBy() {
|
return this.orderBy;
|
}
|
}
|