package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.time.LocalDateTime; import javax.validation.constraints.Size; @ApiModel(value = "ProductionCraftVersionDetailVO", description = "产品工艺版本详情") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductionCraftVersionDetailVO.class */ public class ProductionCraftVersionDetailVO implements Serializable { @ApiModelProperty("版本名称") @Size(max = 32, message = "版本名称长度不能超过32") private String name; @ApiModelProperty("版本描述") @Size(max = 255, message = "版本描述长度不能超过255") private String description; @ApiModelProperty(value = "产品ID", dataType = "java.lang.String") private Long productId; @ApiModelProperty("产品编码") private String productCode; @ApiModelProperty("产品名称") private String productName; @ApiModelProperty("是否定版(0:否 1:是)") private Integer editionStatus; @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; @ApiModelProperty("创建人") private String createUser; @ApiModelProperty("创建时间") private LocalDateTime createTime; @ApiModelProperty("更新时间") private LocalDateTime updateTime; @ApiModelProperty("更新人") private String updateUser; public void setName(final String name) { this.name = name; } public void setDescription(final String description) { this.description = description; } public void setProductId(final Long productId) { this.productId = productId; } public void setProductCode(final String productCode) { this.productCode = productCode; } public void setProductName(final String productName) { this.productName = productName; } public void setEditionStatus(final Integer editionStatus) { this.editionStatus = editionStatus; } public void setId(final Long id) { this.id = id; } public void setCreateUser(final String createUser) { this.createUser = createUser; } public void setCreateTime(final LocalDateTime createTime) { this.createTime = createTime; } public void setUpdateTime(final LocalDateTime updateTime) { this.updateTime = updateTime; } public void setUpdateUser(final String updateUser) { this.updateUser = updateUser; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ProductionCraftVersionDetailVO) { ProductionCraftVersionDetailVO other = (ProductionCraftVersionDetailVO) 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$editionStatus = getEditionStatus(); Object other$editionStatus = other.getEditionStatus(); if (this$editionStatus == null) { if (other$editionStatus != null) { return false; } } else if (!this$editionStatus.equals(other$editionStatus)) { 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$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$description = getDescription(); Object other$description = other.getDescription(); if (this$description == null) { if (other$description != null) { return false; } } else if (!this$description.equals(other$description)) { return false; } Object this$productCode = getProductCode(); Object other$productCode = other.getProductCode(); if (this$productCode == null) { if (other$productCode != null) { return false; } } else if (!this$productCode.equals(other$productCode)) { return false; } Object this$productName = getProductName(); Object other$productName = other.getProductName(); if (this$productName == null) { if (other$productName != null) { return false; } } else if (!this$productName.equals(other$productName)) { return false; } Object this$createUser = getCreateUser(); Object other$createUser = other.getCreateUser(); if (this$createUser == null) { if (other$createUser != null) { return false; } } else if (!this$createUser.equals(other$createUser)) { return false; } Object this$createTime = getCreateTime(); Object other$createTime = other.getCreateTime(); if (this$createTime == null) { if (other$createTime != null) { return false; } } else if (!this$createTime.equals(other$createTime)) { return false; } Object this$updateTime = getUpdateTime(); Object other$updateTime = other.getUpdateTime(); if (this$updateTime == null) { if (other$updateTime != null) { return false; } } else if (!this$updateTime.equals(other$updateTime)) { return false; } Object this$updateUser = getUpdateUser(); Object other$updateUser = other.getUpdateUser(); return this$updateUser == null ? other$updateUser == null : this$updateUser.equals(other$updateUser); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ProductionCraftVersionDetailVO; } public int hashCode() { Object $productId = getProductId(); int result = (1 * 59) + ($productId == null ? 43 : $productId.hashCode()); Object $editionStatus = getEditionStatus(); int result2 = (result * 59) + ($editionStatus == null ? 43 : $editionStatus.hashCode()); Object $id = getId(); int result3 = (result2 * 59) + ($id == null ? 43 : $id.hashCode()); Object $name = getName(); int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode()); Object $description = getDescription(); int result5 = (result4 * 59) + ($description == null ? 43 : $description.hashCode()); Object $productCode = getProductCode(); int result6 = (result5 * 59) + ($productCode == null ? 43 : $productCode.hashCode()); Object $productName = getProductName(); int result7 = (result6 * 59) + ($productName == null ? 43 : $productName.hashCode()); Object $createUser = getCreateUser(); int result8 = (result7 * 59) + ($createUser == null ? 43 : $createUser.hashCode()); Object $createTime = getCreateTime(); int result9 = (result8 * 59) + ($createTime == null ? 43 : $createTime.hashCode()); Object $updateTime = getUpdateTime(); int result10 = (result9 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode()); Object $updateUser = getUpdateUser(); return (result10 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode()); } public String toString() { return "ProductionCraftVersionDetailVO(name=" + getName() + ", description=" + getDescription() + ", productId=" + getProductId() + ", productCode=" + getProductCode() + ", productName=" + getProductName() + ", editionStatus=" + getEditionStatus() + ", id=" + getId() + ", createUser=" + getCreateUser() + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", updateUser=" + getUpdateUser() + ")"; } public String getName() { return this.name; } public String getDescription() { return this.description; } public Long getProductId() { return this.productId; } public String getProductCode() { return this.productCode; } public String getProductName() { return this.productName; } public Integer getEditionStatus() { return this.editionStatus; } public Long getId() { return this.id; } public String getCreateUser() { return this.createUser; } public LocalDateTime getCreateTime() { return this.createTime; } public LocalDateTime getUpdateTime() { return this.updateTime; } public String getUpdateUser() { return this.updateUser; } }