package com.qianwen.smartman.modules.system.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; @ApiModel(description = "工作台卡片新增信息") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/WorkbenchCardAddVO.class */ public class WorkbenchCardAddVO { @NotNull(message = "工作台ID不能为空") @ApiModelProperty(value = "工作台ID", dataType = "java.lang.String") private Long workbenchId; @ApiModelProperty("卡片长度") private String cardLength; @ApiModelProperty("卡片宽度") private String cardWide; @ApiModelProperty("x轴坐标") private String xCoordinate; @ApiModelProperty("Y轴坐标") private String yCoordinate; @ApiModelProperty("卡片Key") private String cardKey; @ApiModelProperty("接口API") private String apiResource; @ApiModelProperty("文本内容") private String textContent; public void setWorkbenchId(final Long workbenchId) { this.workbenchId = workbenchId; } public void setCardLength(final String cardLength) { this.cardLength = cardLength; } public void setCardWide(final String cardWide) { this.cardWide = cardWide; } public void setXCoordinate(final String xCoordinate) { this.xCoordinate = xCoordinate; } public void setYCoordinate(final String yCoordinate) { this.yCoordinate = yCoordinate; } public void setCardKey(final String cardKey) { this.cardKey = cardKey; } public void setApiResource(final String apiResource) { this.apiResource = apiResource; } public void setTextContent(final String textContent) { this.textContent = textContent; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkbenchCardAddVO) { WorkbenchCardAddVO other = (WorkbenchCardAddVO) o; if (other.canEqual(this)) { Object this$workbenchId = getWorkbenchId(); Object other$workbenchId = other.getWorkbenchId(); if (this$workbenchId == null) { if (other$workbenchId != null) { return false; } } else if (!this$workbenchId.equals(other$workbenchId)) { return false; } Object this$cardLength = getCardLength(); Object other$cardLength = other.getCardLength(); if (this$cardLength == null) { if (other$cardLength != null) { return false; } } else if (!this$cardLength.equals(other$cardLength)) { return false; } Object this$cardWide = getCardWide(); Object other$cardWide = other.getCardWide(); if (this$cardWide == null) { if (other$cardWide != null) { return false; } } else if (!this$cardWide.equals(other$cardWide)) { return false; } Object this$xCoordinate = getXCoordinate(); Object other$xCoordinate = other.getXCoordinate(); if (this$xCoordinate == null) { if (other$xCoordinate != null) { return false; } } else if (!this$xCoordinate.equals(other$xCoordinate)) { return false; } Object this$yCoordinate = getYCoordinate(); Object other$yCoordinate = other.getYCoordinate(); if (this$yCoordinate == null) { if (other$yCoordinate != null) { return false; } } else if (!this$yCoordinate.equals(other$yCoordinate)) { return false; } Object this$cardKey = getCardKey(); Object other$cardKey = other.getCardKey(); if (this$cardKey == null) { if (other$cardKey != null) { return false; } } else if (!this$cardKey.equals(other$cardKey)) { return false; } Object this$apiResource = getApiResource(); Object other$apiResource = other.getApiResource(); if (this$apiResource == null) { if (other$apiResource != null) { return false; } } else if (!this$apiResource.equals(other$apiResource)) { return false; } Object this$textContent = getTextContent(); Object other$textContent = other.getTextContent(); return this$textContent == null ? other$textContent == null : this$textContent.equals(other$textContent); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkbenchCardAddVO; } public int hashCode() { Object $workbenchId = getWorkbenchId(); int result = (1 * 59) + ($workbenchId == null ? 43 : $workbenchId.hashCode()); Object $cardLength = getCardLength(); int result2 = (result * 59) + ($cardLength == null ? 43 : $cardLength.hashCode()); Object $cardWide = getCardWide(); int result3 = (result2 * 59) + ($cardWide == null ? 43 : $cardWide.hashCode()); Object $xCoordinate = getXCoordinate(); int result4 = (result3 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode()); Object $yCoordinate = getYCoordinate(); int result5 = (result4 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode()); Object $cardKey = getCardKey(); int result6 = (result5 * 59) + ($cardKey == null ? 43 : $cardKey.hashCode()); Object $apiResource = getApiResource(); int result7 = (result6 * 59) + ($apiResource == null ? 43 : $apiResource.hashCode()); Object $textContent = getTextContent(); return (result7 * 59) + ($textContent == null ? 43 : $textContent.hashCode()); } public String toString() { return "WorkbenchCardAddVO(workbenchId=" + getWorkbenchId() + ", cardLength=" + getCardLength() + ", cardWide=" + getCardWide() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", cardKey=" + getCardKey() + ", apiResource=" + getApiResource() + ", textContent=" + getTextContent() + ")"; } public Long getWorkbenchId() { return this.workbenchId; } public String getCardLength() { return this.cardLength; } public String getCardWide() { return this.cardWide; } public String getXCoordinate() { return this.xCoordinate; } public String getYCoordinate() { return this.yCoordinate; } public String getCardKey() { return this.cardKey; } public String getApiResource() { return this.apiResource; } public String getTextContent() { return this.textContent; } }