package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotNull; public class CraftVersionAddVO implements Serializable { private static final long serialVersionUID = 1517472806277683646L; private Long craftId; @ApiModelProperty("工艺版本名称") private String name; @ApiModelProperty("工艺版本描述") private String description; @NotNull(message = "产线必填") @ApiModelProperty("产线id") private List groupIds; public void setCraftId(final Long craftId) { this.craftId = craftId; } public void setName(final String name) { this.name = name; } public void setDescription(final String description) { this.description = description; } public void setGroupIds(final List groupIds) { this.groupIds = groupIds; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CraftVersionAddVO) { CraftVersionAddVO other = (CraftVersionAddVO) o; if (other.canEqual(this)) { 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 CraftVersionAddVO; } public int hashCode() { Object $craftId = getCraftId(); int result = (1 * 59) + ($craftId == null ? 43 : $craftId.hashCode()); Object $name = getName(); int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode()); Object $description = getDescription(); int result3 = (result2 * 59) + ($description == null ? 43 : $description.hashCode()); Object $groupIds = getGroupIds(); return (result3 * 59) + ($groupIds == null ? 43 : $groupIds.hashCode()); } public String toString() { return "CraftVersionAddVO(craftId=" + getCraftId() + ", name=" + getName() + ", description=" + getDescription() + ", groupIds=" + getGroupIds() + ")"; } public Long getCraftId() { return this.craftId; } public String getName() { return this.name; } public String getDescription() { return this.description; } public List getGroupIds() { return this.groupIds; } }