package com.qianwen.smartman.modules.system.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; @ApiModel(value = "WorkbenchTemplateCard", description = "工作台模板卡片") @TableName("blade_workbench_template_card") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/WorkbenchTemplateCard.class */ public class WorkbenchTemplateCard implements Serializable { @ApiModelProperty("主键") private Long id; @ApiModelProperty("工作台ID") 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; public void setId(final Long id) { this.id = id; } 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 boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkbenchTemplateCard) { WorkbenchTemplateCard other = (WorkbenchTemplateCard) 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$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(); return this$apiResource == null ? other$apiResource == null : this$apiResource.equals(other$apiResource); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkbenchTemplateCard; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $workbenchId = getWorkbenchId(); int result2 = (result * 59) + ($workbenchId == null ? 43 : $workbenchId.hashCode()); Object $cardLength = getCardLength(); int result3 = (result2 * 59) + ($cardLength == null ? 43 : $cardLength.hashCode()); Object $cardWide = getCardWide(); int result4 = (result3 * 59) + ($cardWide == null ? 43 : $cardWide.hashCode()); Object $xCoordinate = getXCoordinate(); int result5 = (result4 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode()); Object $yCoordinate = getYCoordinate(); int result6 = (result5 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode()); Object $cardKey = getCardKey(); int result7 = (result6 * 59) + ($cardKey == null ? 43 : $cardKey.hashCode()); Object $apiResource = getApiResource(); return (result7 * 59) + ($apiResource == null ? 43 : $apiResource.hashCode()); } public String toString() { return "WorkbenchTemplateCard(id=" + getId() + ", workbenchId=" + getWorkbenchId() + ", cardLength=" + getCardLength() + ", cardWide=" + getCardWide() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", cardKey=" + getCardKey() + ", apiResource=" + getApiResource() + ")"; } public Long getId() { return this.id; } 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; } }