package com.qianwen.smartman.modules.cps.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; @ApiModel(value = "ProductionCraftVersionEditVO对象", description = "产品工艺版本编辑") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/ProductionCraftVersionEditVO.class */ public class ProductionCraftVersionEditVO implements Serializable { private static final long serialVersionUID = 4210459052752173161L; @NotBlank(message = "版本名称不能为空") @ApiModelProperty("版本名称") @Size(max = 32, message = "版本名称长度不能超过32") private String name; @ApiModelProperty("版本描述") @Size(max = 255, message = "版本描述长度不能超过255") private String description; @NotNull(message = "版本ID不能为空") @ApiModelProperty(value = "主键", dataType = "java.lang.String") private Long id; @NotNull(message = "工艺路线id不能为空") @ApiModelProperty(value = "工艺路线id", dataType = "java.lang.String") private Long craftId; @NotNull(message = "产线必填") @ApiModelProperty("产线id") private List groupIds; public void setName(final String name) { this.name = name; } public void setDescription(final String description) { this.description = description; } public void setId(final Long id) { this.id = id; } public void setCraftId(final Long craftId) { this.craftId = craftId; } public void setGroupIds(final List groupIds) { this.groupIds = groupIds; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ProductionCraftVersionEditVO) { ProductionCraftVersionEditVO other = (ProductionCraftVersionEditVO) o; if (other.canEqual(this)) { 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$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$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$groupIds = getGroupIds(); Object other$groupIds = other.getGroupIds(); return this$groupIds == null ? other$groupIds == null : this$groupIds.equals(other$groupIds); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ProductionCraftVersionEditVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $craftId = getCraftId(); int result2 = (result * 59) + ($craftId == null ? 43 : $craftId.hashCode()); Object $name = getName(); int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode()); Object $description = getDescription(); int result4 = (result3 * 59) + ($description == null ? 43 : $description.hashCode()); Object $groupIds = getGroupIds(); return (result4 * 59) + ($groupIds == null ? 43 : $groupIds.hashCode()); } public String toString() { return "ProductionCraftVersionEditVO(name=" + getName() + ", description=" + getDescription() + ", id=" + getId() + ", craftId=" + getCraftId() + ", groupIds=" + getGroupIds() + ")"; } public String getName() { return this.name; } public String getDescription() { return this.description; } public Long getId() { return this.id; } public Long getCraftId() { return this.craftId; } public List getGroupIds() { return this.groupIds; } }