package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/SynchronizedProductMaterialVO.class */
|
public class SynchronizedProductMaterialVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@NotEmpty(message = "产品不能为空")
|
@ApiModelProperty("产品编码名称集合")
|
private List<ProductVO> productList;
|
@NotNull(message = "物料类型Id不能为空")
|
@ApiModelProperty(value = "物料类型Id", required = true, dataType = "java.lang.String")
|
private Long materialTypeId;
|
@ApiModelProperty("是否强制删除")
|
private Integer isDeleted;
|
|
public void setProductList(final List<ProductVO> productList) {
|
this.productList = productList;
|
}
|
|
public void setMaterialTypeId(final Long materialTypeId) {
|
this.materialTypeId = materialTypeId;
|
}
|
|
public void setIsDeleted(final Integer isDeleted) {
|
this.isDeleted = isDeleted;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SynchronizedProductMaterialVO) {
|
SynchronizedProductMaterialVO other = (SynchronizedProductMaterialVO) o;
|
if (other.canEqual(this)) {
|
Object this$materialTypeId = getMaterialTypeId();
|
Object other$materialTypeId = other.getMaterialTypeId();
|
if (this$materialTypeId == null) {
|
if (other$materialTypeId != null) {
|
return false;
|
}
|
} else if (!this$materialTypeId.equals(other$materialTypeId)) {
|
return false;
|
}
|
Object this$isDeleted = getIsDeleted();
|
Object other$isDeleted = other.getIsDeleted();
|
if (this$isDeleted == null) {
|
if (other$isDeleted != null) {
|
return false;
|
}
|
} else if (!this$isDeleted.equals(other$isDeleted)) {
|
return false;
|
}
|
Object this$productList = getProductList();
|
Object other$productList = other.getProductList();
|
return this$productList == null ? other$productList == null : this$productList.equals(other$productList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof SynchronizedProductMaterialVO;
|
}
|
|
public int hashCode() {
|
Object $materialTypeId = getMaterialTypeId();
|
int result = (1 * 59) + ($materialTypeId == null ? 43 : $materialTypeId.hashCode());
|
Object $isDeleted = getIsDeleted();
|
int result2 = (result * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
|
Object $productList = getProductList();
|
return (result2 * 59) + ($productList == null ? 43 : $productList.hashCode());
|
}
|
|
public String toString() {
|
return "SynchronizedProductMaterialVO(productList=" + getProductList() + ", materialTypeId=" + getMaterialTypeId() + ", isDeleted=" + getIsDeleted() + ")";
|
}
|
|
public List<ProductVO> getProductList() {
|
return this.productList;
|
}
|
|
public Long getMaterialTypeId() {
|
return this.materialTypeId;
|
}
|
|
public Integer getIsDeleted() {
|
return this.isDeleted;
|
}
|
}
|