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.Size; @ApiModel(value = "BomVersionVo对象", description = "bom版本") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/BomVersionVO.class */ public class BomVersionVO implements Serializable { @ApiModelProperty("所属租户") @Size(max = 12, message = "所属租户长度不能超过12") private String tenantId; @ApiModelProperty(value = "产品id", dataType = "java.lang.String") private Long productId; @ApiModelProperty("版本") @Size(max = 32, message = "版本长度不能超过32") private String version; @ApiModelProperty("版本状态(0:未定版,1:已定版)") private Integer versionStatus; @ApiModelProperty(value = "工艺版本id", dataType = "java.lang.String") private Long craftId; @ApiModelProperty("工艺版本") @Size(max = 32, message = "工艺版本长度不能超过32") private String craftVersion; @ApiModelProperty("备注") @Size(max = 255, message = "备注长度不能超过255") private String remark; @ApiModelProperty("版本描述") @Size(max = 255, message = "版本描述长度不能超过255") private String description; @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; @ApiModelProperty("状态") private Integer status; public void setTenantId(final String tenantId) { this.tenantId = tenantId; } public void setProductId(final Long productId) { this.productId = productId; } public void setVersion(final String version) { this.version = version; } public void setVersionStatus(final Integer versionStatus) { this.versionStatus = versionStatus; } public void setCraftId(final Long craftId) { this.craftId = craftId; } public void setCraftVersion(final String craftVersion) { this.craftVersion = craftVersion; } public void setRemark(final String remark) { this.remark = remark; } public void setDescription(final String description) { this.description = description; } public void setId(final Long id) { this.id = id; } public void setStatus(final Integer status) { this.status = status; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BomVersionVO) { BomVersionVO other = (BomVersionVO) 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$versionStatus = getVersionStatus(); Object other$versionStatus = other.getVersionStatus(); if (this$versionStatus == null) { if (other$versionStatus != null) { return false; } } else if (!this$versionStatus.equals(other$versionStatus)) { 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$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$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$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); if (this$tenantId == null) { if (other$tenantId != null) { return false; } } else if (!this$tenantId.equals(other$tenantId)) { return false; } Object this$version = getVersion(); Object other$version = other.getVersion(); if (this$version == null) { if (other$version != null) { return false; } } else if (!this$version.equals(other$version)) { return false; } Object this$craftVersion = getCraftVersion(); Object other$craftVersion = other.getCraftVersion(); if (this$craftVersion == null) { if (other$craftVersion != null) { return false; } } else if (!this$craftVersion.equals(other$craftVersion)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { return false; } Object this$description = getDescription(); Object other$description = other.getDescription(); return this$description == null ? other$description == null : this$description.equals(other$description); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BomVersionVO; } public int hashCode() { Object $productId = getProductId(); int result = (1 * 59) + ($productId == null ? 43 : $productId.hashCode()); Object $versionStatus = getVersionStatus(); int result2 = (result * 59) + ($versionStatus == null ? 43 : $versionStatus.hashCode()); Object $craftId = getCraftId(); int result3 = (result2 * 59) + ($craftId == null ? 43 : $craftId.hashCode()); Object $id = getId(); int result4 = (result3 * 59) + ($id == null ? 43 : $id.hashCode()); Object $status = getStatus(); int result5 = (result4 * 59) + ($status == null ? 43 : $status.hashCode()); Object $tenantId = getTenantId(); int result6 = (result5 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $version = getVersion(); int result7 = (result6 * 59) + ($version == null ? 43 : $version.hashCode()); Object $craftVersion = getCraftVersion(); int result8 = (result7 * 59) + ($craftVersion == null ? 43 : $craftVersion.hashCode()); Object $remark = getRemark(); int result9 = (result8 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $description = getDescription(); return (result9 * 59) + ($description == null ? 43 : $description.hashCode()); } public String toString() { return "BomVersionVO(tenantId=" + getTenantId() + ", productId=" + getProductId() + ", version=" + getVersion() + ", versionStatus=" + getVersionStatus() + ", craftId=" + getCraftId() + ", craftVersion=" + getCraftVersion() + ", remark=" + getRemark() + ", description=" + getDescription() + ", id=" + getId() + ", status=" + getStatus() + ")"; } public String getTenantId() { return this.tenantId; } public Long getProductId() { return this.productId; } public String getVersion() { return this.version; } public Integer getVersionStatus() { return this.versionStatus; } public Long getCraftId() { return this.craftId; } public String getCraftVersion() { return this.craftVersion; } public String getRemark() { return this.remark; } public String getDescription() { return this.description; } public Long getId() { return this.id; } public Integer getStatus() { return this.status; } }