package com.qianwen.smartman.modules.smis.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 = "BomVersionDetailVO对象", description = "bom版本")
|
public class BomVersionDetailVO implements Serializable {
|
@ApiModelProperty("版本名称")
|
@Size(max = 32, message = "版本名称长度不能超过32")
|
private String version;
|
@ApiModelProperty("版本描述")
|
@Size(max = 255, message = "版本描述长度不能超过255")
|
private String description;
|
@ApiModelProperty(value = "产品ID", dataType = "java.lang.String")
|
private Long productId;
|
@ApiModelProperty("版本状态(0:未定版,1:已定版)")
|
private Integer versionStatus;
|
@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 setVersion(final String version) {
|
this.version = version;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public void setProductId(final Long productId) {
|
this.productId = productId;
|
}
|
|
public void setVersionStatus(final Integer versionStatus) {
|
this.versionStatus = versionStatus;
|
}
|
|
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 BomVersionDetailVO) {
|
BomVersionDetailVO other = (BomVersionDetailVO) 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$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$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$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$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 BomVersionDetailVO;
|
}
|
|
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 $id = getId();
|
int result3 = (result2 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $version = getVersion();
|
int result4 = (result3 * 59) + ($version == null ? 43 : $version.hashCode());
|
Object $description = getDescription();
|
int result5 = (result4 * 59) + ($description == null ? 43 : $description.hashCode());
|
Object $createUser = getCreateUser();
|
int result6 = (result5 * 59) + ($createUser == null ? 43 : $createUser.hashCode());
|
Object $createTime = getCreateTime();
|
int result7 = (result6 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
|
Object $updateTime = getUpdateTime();
|
int result8 = (result7 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode());
|
Object $updateUser = getUpdateUser();
|
return (result8 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode());
|
}
|
|
public String toString() {
|
return "BomVersionDetailVO(version=" + getVersion() + ", description=" + getDescription() + ", productId=" + getProductId() + ", versionStatus=" + getVersionStatus() + ", id=" + getId() + ", createUser=" + getCreateUser() + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", updateUser=" + getUpdateUser() + ")";
|
}
|
|
public String getVersion() {
|
return this.version;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public Long getProductId() {
|
return this.productId;
|
}
|
|
public Integer getVersionStatus() {
|
return this.versionStatus;
|
}
|
|
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;
|
}
|
}
|