package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import com.qianwen.smartman.modules.smis.dto.CheckItemSubmitDTO; @ApiModel(description = "新增点检项信息") public class CheckItemSubmitVO implements Serializable { private static final long serialVersionUID = 6350482571152153148L; @ApiModelProperty(name = "checkProjectId", dataType = "java.lang.String") private Long checkProjectId; private List items; public static class CheckItemSubmitVOBuilder { private Long checkProjectId; private List items; CheckItemSubmitVOBuilder() { } public CheckItemSubmitVOBuilder checkProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; return this; } public CheckItemSubmitVOBuilder items(final List items) { this.items = items; return this; } public CheckItemSubmitVO build() { return new CheckItemSubmitVO(this.checkProjectId, this.items); } public String toString() { return "CheckItemSubmitVO.CheckItemSubmitVOBuilder(checkProjectId=" + this.checkProjectId + ", items=" + this.items + ")"; } } public void setCheckProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; } public void setItems(final List items) { this.items = items; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CheckItemSubmitVO) { CheckItemSubmitVO other = (CheckItemSubmitVO) o; if (other.canEqual(this)) { Object this$checkProjectId = getCheckProjectId(); Object other$checkProjectId = other.getCheckProjectId(); if (this$checkProjectId == null) { if (other$checkProjectId != null) { return false; } } else if (!this$checkProjectId.equals(other$checkProjectId)) { return false; } Object this$items = getItems(); Object other$items = other.getItems(); return this$items == null ? other$items == null : this$items.equals(other$items); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CheckItemSubmitVO; } public int hashCode() { Object $checkProjectId = getCheckProjectId(); int result = (1 * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode()); Object $items = getItems(); return (result * 59) + ($items == null ? 43 : $items.hashCode()); } public String toString() { return "CheckItemSubmitVO(checkProjectId=" + getCheckProjectId() + ", items=" + getItems() + ")"; } public static CheckItemSubmitVOBuilder builder() { return new CheckItemSubmitVOBuilder(); } public CheckItemSubmitVO() { } public CheckItemSubmitVO(final Long checkProjectId, final List items) { this.checkProjectId = checkProjectId; this.items = items; } public Long getCheckProjectId() { return this.checkProjectId; } public List getItems() { return this.items; } }