package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProcessAssociationVO.class */
|
public class ProcessAssociationVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(name = "id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("工位list")
|
private List<ProcessWorkstationTypeVO> workstationList;
|
@ApiModelProperty("供应商list")
|
private List<ProcessSupplierTypeVO> supplierList;
|
@ApiModelProperty("库区list")
|
private List<ProcessWarehouseAreaTypeVO> warehouseAreaList;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProcessAssociationVO$ProcessAssociationVOBuilder.class */
|
public static class ProcessAssociationVOBuilder {
|
private Long id;
|
private List<ProcessWorkstationTypeVO> workstationList;
|
private List<ProcessSupplierTypeVO> supplierList;
|
private List<ProcessWarehouseAreaTypeVO> warehouseAreaList;
|
|
ProcessAssociationVOBuilder() {
|
}
|
|
public ProcessAssociationVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ProcessAssociationVOBuilder workstationList(final List<ProcessWorkstationTypeVO> workstationList) {
|
this.workstationList = workstationList;
|
return this;
|
}
|
|
public ProcessAssociationVOBuilder supplierList(final List<ProcessSupplierTypeVO> supplierList) {
|
this.supplierList = supplierList;
|
return this;
|
}
|
|
public ProcessAssociationVOBuilder warehouseAreaList(final List<ProcessWarehouseAreaTypeVO> warehouseAreaList) {
|
this.warehouseAreaList = warehouseAreaList;
|
return this;
|
}
|
|
public ProcessAssociationVO build() {
|
return new ProcessAssociationVO(this.id, this.workstationList, this.supplierList, this.warehouseAreaList);
|
}
|
|
public String toString() {
|
return "ProcessAssociationVO.ProcessAssociationVOBuilder(id=" + this.id + ", workstationList=" + this.workstationList + ", supplierList=" + this.supplierList + ", warehouseAreaList=" + this.warehouseAreaList + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setWorkstationList(final List<ProcessWorkstationTypeVO> workstationList) {
|
this.workstationList = workstationList;
|
}
|
|
public void setSupplierList(final List<ProcessSupplierTypeVO> supplierList) {
|
this.supplierList = supplierList;
|
}
|
|
public void setWarehouseAreaList(final List<ProcessWarehouseAreaTypeVO> warehouseAreaList) {
|
this.warehouseAreaList = warehouseAreaList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessAssociationVO) {
|
ProcessAssociationVO other = (ProcessAssociationVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$workstationList = getWorkstationList();
|
Object other$workstationList = other.getWorkstationList();
|
if (this$workstationList == null) {
|
if (other$workstationList != null) {
|
return false;
|
}
|
} else if (!this$workstationList.equals(other$workstationList)) {
|
return false;
|
}
|
Object this$supplierList = getSupplierList();
|
Object other$supplierList = other.getSupplierList();
|
if (this$supplierList == null) {
|
if (other$supplierList != null) {
|
return false;
|
}
|
} else if (!this$supplierList.equals(other$supplierList)) {
|
return false;
|
}
|
Object this$warehouseAreaList = getWarehouseAreaList();
|
Object other$warehouseAreaList = other.getWarehouseAreaList();
|
return this$warehouseAreaList == null ? other$warehouseAreaList == null : this$warehouseAreaList.equals(other$warehouseAreaList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessAssociationVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $workstationList = getWorkstationList();
|
int result2 = (result * 59) + ($workstationList == null ? 43 : $workstationList.hashCode());
|
Object $supplierList = getSupplierList();
|
int result3 = (result2 * 59) + ($supplierList == null ? 43 : $supplierList.hashCode());
|
Object $warehouseAreaList = getWarehouseAreaList();
|
return (result3 * 59) + ($warehouseAreaList == null ? 43 : $warehouseAreaList.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessAssociationVO(id=" + getId() + ", workstationList=" + getWorkstationList() + ", supplierList=" + getSupplierList() + ", warehouseAreaList=" + getWarehouseAreaList() + ")";
|
}
|
|
public static ProcessAssociationVOBuilder builder() {
|
return new ProcessAssociationVOBuilder();
|
}
|
|
public ProcessAssociationVO(final Long id, final List<ProcessWorkstationTypeVO> workstationList, final List<ProcessSupplierTypeVO> supplierList, final List<ProcessWarehouseAreaTypeVO> warehouseAreaList) {
|
this.id = id;
|
this.workstationList = workstationList;
|
this.supplierList = supplierList;
|
this.warehouseAreaList = warehouseAreaList;
|
}
|
|
public ProcessAssociationVO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public List<ProcessWorkstationTypeVO> getWorkstationList() {
|
return this.workstationList;
|
}
|
|
public List<ProcessSupplierTypeVO> getSupplierList() {
|
return this.supplierList;
|
}
|
|
public List<ProcessWarehouseAreaTypeVO> getWarehouseAreaList() {
|
return this.warehouseAreaList;
|
}
|
}
|