package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import javax.validation.constraints.NotNull; @ApiModel(value = "ProductionCraftProcessSortVO对象", description = "工艺版本的工序流程更新顺序") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductionCraftProcessSortVO.class */ public class ProductionCraftProcessSortVO implements Serializable { private static final long serialVersionUID = 6937315188225200890L; @ApiModelProperty("工序顺序") private Integer sort; @ApiModelProperty("目标ID") private String targetId; @ApiModelProperty("资源ID") private String sourceId; @ApiModelProperty("x坐标") private String xCoordinate; @ApiModelProperty("y坐标") private String yCoordinate; @NotNull(message = "工艺版本工序ID不能为空") @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductionCraftProcessSortVO$ProductionCraftProcessSortVOBuilder.class */ public static class ProductionCraftProcessSortVOBuilder { private Integer sort; private String targetId; private String sourceId; private String xCoordinate; private String yCoordinate; private Long id; ProductionCraftProcessSortVOBuilder() { } public ProductionCraftProcessSortVOBuilder sort(final Integer sort) { this.sort = sort; return this; } public ProductionCraftProcessSortVOBuilder targetId(final String targetId) { this.targetId = targetId; return this; } public ProductionCraftProcessSortVOBuilder sourceId(final String sourceId) { this.sourceId = sourceId; return this; } public ProductionCraftProcessSortVOBuilder xCoordinate(final String xCoordinate) { this.xCoordinate = xCoordinate; return this; } public ProductionCraftProcessSortVOBuilder yCoordinate(final String yCoordinate) { this.yCoordinate = yCoordinate; return this; } public ProductionCraftProcessSortVOBuilder id(final Long id) { this.id = id; return this; } public ProductionCraftProcessSortVO build() { return new ProductionCraftProcessSortVO(this.sort, this.targetId, this.sourceId, this.xCoordinate, this.yCoordinate, this.id); } public String toString() { return "ProductionCraftProcessSortVO.ProductionCraftProcessSortVOBuilder(sort=" + this.sort + ", targetId=" + this.targetId + ", sourceId=" + this.sourceId + ", xCoordinate=" + this.xCoordinate + ", yCoordinate=" + this.yCoordinate + ", id=" + this.id + ")"; } } public void setSort(final Integer sort) { this.sort = sort; } public void setTargetId(final String targetId) { this.targetId = targetId; } public void setSourceId(final String sourceId) { this.sourceId = sourceId; } public void setXCoordinate(final String xCoordinate) { this.xCoordinate = xCoordinate; } public void setYCoordinate(final String yCoordinate) { this.yCoordinate = yCoordinate; } public void setId(final Long id) { this.id = id; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ProductionCraftProcessSortVO) { ProductionCraftProcessSortVO other = (ProductionCraftProcessSortVO) o; if (other.canEqual(this)) { Object this$sort = getSort(); Object other$sort = other.getSort(); if (this$sort == null) { if (other$sort != null) { return false; } } else if (!this$sort.equals(other$sort)) { return false; } 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$targetId = getTargetId(); Object other$targetId = other.getTargetId(); if (this$targetId == null) { if (other$targetId != null) { return false; } } else if (!this$targetId.equals(other$targetId)) { return false; } Object this$sourceId = getSourceId(); Object other$sourceId = other.getSourceId(); if (this$sourceId == null) { if (other$sourceId != null) { return false; } } else if (!this$sourceId.equals(other$sourceId)) { return false; } Object this$xCoordinate = getXCoordinate(); Object other$xCoordinate = other.getXCoordinate(); if (this$xCoordinate == null) { if (other$xCoordinate != null) { return false; } } else if (!this$xCoordinate.equals(other$xCoordinate)) { return false; } Object this$yCoordinate = getYCoordinate(); Object other$yCoordinate = other.getYCoordinate(); return this$yCoordinate == null ? other$yCoordinate == null : this$yCoordinate.equals(other$yCoordinate); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ProductionCraftProcessSortVO; } public int hashCode() { Object $sort = getSort(); int result = (1 * 59) + ($sort == null ? 43 : $sort.hashCode()); Object $id = getId(); int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode()); Object $targetId = getTargetId(); int result3 = (result2 * 59) + ($targetId == null ? 43 : $targetId.hashCode()); Object $sourceId = getSourceId(); int result4 = (result3 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode()); Object $xCoordinate = getXCoordinate(); int result5 = (result4 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode()); Object $yCoordinate = getYCoordinate(); return (result5 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode()); } public String toString() { return "ProductionCraftProcessSortVO(sort=" + getSort() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", id=" + getId() + ")"; } ProductionCraftProcessSortVO(final Integer sort, final String targetId, final String sourceId, final String xCoordinate, final String yCoordinate, final Long id) { this.sort = sort; this.targetId = targetId; this.sourceId = sourceId; this.xCoordinate = xCoordinate; this.yCoordinate = yCoordinate; this.id = id; } public static ProductionCraftProcessSortVOBuilder builder() { return new ProductionCraftProcessSortVOBuilder(); } public Integer getSort() { return this.sort; } public String getTargetId() { return this.targetId; } public String getSourceId() { return this.sourceId; } public String getXCoordinate() { return this.xCoordinate; } public String getYCoordinate() { return this.yCoordinate; } public Long getId() { return this.id; } }