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 = "ProductionCraftVersionVo对象", description = "产品工艺版本复制") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductionCraftVersionCopyVO.class */ public class ProductionCraftVersionCopyVO implements Serializable { private static final long serialVersionUID = -2618951698134083120L; @ApiModelProperty("工艺路线名称") private String craftName; @ApiModelProperty(value = "产品ID", dataType = "java.lang.String") private Long productId; @NotNull(message = "版本ID不能为空") @ApiModelProperty(value = "版本ID", dataType = "java.lang.String") private Long versionId; @ApiModelProperty("产品复制0 - 工艺路线复制1") private Integer type; @ApiModelProperty(value = "工艺路线id", dataType = "java.lang.String") private Long craftId; public void setCraftName(final String craftName) { this.craftName = craftName; } public void setProductId(final Long productId) { this.productId = productId; } public void setVersionId(final Long versionId) { this.versionId = versionId; } public void setType(final Integer type) { this.type = type; } public void setCraftId(final Long craftId) { this.craftId = craftId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ProductionCraftVersionCopyVO) { ProductionCraftVersionCopyVO other = (ProductionCraftVersionCopyVO) o; if (other.canEqual(this)) { Object this$productId = getProductId(); Object other$productId = other.getProductId(); if (this$productId == null) { if (other$productId != null) { return false; } } else if (!this$productId.equals(other$productId)) { return false; } Object this$versionId = getVersionId(); Object other$versionId = other.getVersionId(); if (this$versionId == null) { if (other$versionId != null) { return false; } } else if (!this$versionId.equals(other$versionId)) { return false; } Object this$type = getType(); Object other$type = other.getType(); if (this$type == null) { if (other$type != null) { return false; } } else if (!this$type.equals(other$type)) { return false; } Object this$craftId = getCraftId(); Object other$craftId = other.getCraftId(); if (this$craftId == null) { if (other$craftId != null) { return false; } } else if (!this$craftId.equals(other$craftId)) { return false; } Object this$craftName = getCraftName(); Object other$craftName = other.getCraftName(); return this$craftName == null ? other$craftName == null : this$craftName.equals(other$craftName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ProductionCraftVersionCopyVO; } public int hashCode() { Object $productId = getProductId(); int result = (1 * 59) + ($productId == null ? 43 : $productId.hashCode()); Object $versionId = getVersionId(); int result2 = (result * 59) + ($versionId == null ? 43 : $versionId.hashCode()); Object $type = getType(); int result3 = (result2 * 59) + ($type == null ? 43 : $type.hashCode()); Object $craftId = getCraftId(); int result4 = (result3 * 59) + ($craftId == null ? 43 : $craftId.hashCode()); Object $craftName = getCraftName(); return (result4 * 59) + ($craftName == null ? 43 : $craftName.hashCode()); } public String toString() { return "ProductionCraftVersionCopyVO(craftName=" + getCraftName() + ", productId=" + getProductId() + ", versionId=" + getVersionId() + ", type=" + getType() + ", craftId=" + getCraftId() + ")"; } public String getCraftName() { return this.craftName; } public Long getProductId() { return this.productId; } public Long getVersionId() { return this.versionId; } public Integer getType() { return this.type; } public Long getCraftId() { return this.craftId; } }