yangys
2025-11-20 537d302507bf5bdc6f6b81ece701abb6e8b6a1e1
smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/entity/WorkbenchCard.java
@@ -7,7 +7,6 @@
@ApiModel(value = "WorkbenchCard", description = "工作台卡片")
@TableName("blade_workbench_card")
public class WorkbenchCard extends TenantEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("工作台ID")
@@ -26,7 +25,8 @@
    private String apiResource;
    @ApiModelProperty("文本内容")
    private String textContent;
    @ApiModelProperty("布局设置")
    private String layoutConfig;
    public void setWorkbenchId(final Long workbenchId) {
        this.workbenchId = workbenchId;
    }
@@ -62,7 +62,7 @@
    public String toString() {
        return "WorkbenchCard(workbenchId=" + getWorkbenchId() + ", cardLength=" + getCardLength() + ", cardWide=" + getCardWide() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", cardKey=" + getCardKey() + ", apiResource=" + getApiResource() + ", textContent=" + getTextContent() + ")";
    }
    /*
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
@@ -141,11 +141,11 @@
        }
        return false;
    }
   */
    protected boolean canEqual(final Object other) {
        return other instanceof WorkbenchCard;
    }
/*
    public int hashCode() {
        int result = super.hashCode();
        Object $workbenchId = getWorkbenchId();
@@ -165,7 +165,7 @@
        Object $textContent = getTextContent();
        return (result8 * 59) + ($textContent == null ? 43 : $textContent.hashCode());
    }
*/
    public Long getWorkbenchId() {
        return this.workbenchId;
    }
@@ -197,4 +197,30 @@
    public String getTextContent() {
        return this.textContent;
    }
   public String getLayoutConfig() {
      return layoutConfig;
   }
   public void setLayoutConfig(String layoutConfig) {
      this.layoutConfig = layoutConfig;
   }
   public String getxCoordinate() {
      return xCoordinate;
   }
   public void setxCoordinate(String xCoordinate) {
      this.xCoordinate = xCoordinate;
   }
   public String getyCoordinate() {
      return yCoordinate;
   }
   public void setyCoordinate(String yCoordinate) {
      this.yCoordinate = yCoordinate;
   }
}