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 = "WorkbenchTemplate", description = "工作台模板") @TableName("blade_workbench_template") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/WorkbenchTemplate.class */ public class WorkbenchTemplate implements Serializable { @ApiModelProperty("主键") private Long id; @ApiModelProperty("工作台名称") private String name; @ApiModelProperty("排序") private Integer sort; @ApiModelProperty("图片展示") private String pictureLink; public void setId(final Long id) { this.id = id; } public void setName(final String name) { this.name = name; } public void setSort(final Integer sort) { this.sort = sort; } public void setPictureLink(final String pictureLink) { this.pictureLink = pictureLink; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkbenchTemplate) { WorkbenchTemplate other = (WorkbenchTemplate) 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$sort = getSort(); Object other$sort = other.getSort(); if (this$sort == null) { if (other$sort != null) { return false; } } else if (!this$sort.equals(other$sort)) { 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$pictureLink = getPictureLink(); Object other$pictureLink = other.getPictureLink(); return this$pictureLink == null ? other$pictureLink == null : this$pictureLink.equals(other$pictureLink); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkbenchTemplate; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $sort = getSort(); int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode()); Object $name = getName(); int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode()); Object $pictureLink = getPictureLink(); return (result3 * 59) + ($pictureLink == null ? 43 : $pictureLink.hashCode()); } public String toString() { return "WorkbenchTemplate(id=" + getId() + ", name=" + getName() + ", sort=" + getSort() + ", pictureLink=" + getPictureLink() + ")"; } public Long getId() { return this.id; } public String getName() { return this.name; } public Integer getSort() { return this.sort; } public String getPictureLink() { return this.pictureLink; } }