package com.qianwen.smartman.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@ApiModel(value = "Workbench", description = "工作台对象")
|
@TableName("blade_workbench")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/Workbench.class */
|
public class Workbench extends TenantEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("工作台名称")
|
private String name;
|
@ApiModelProperty("排序")
|
private Integer sort;
|
@ApiModelProperty("图片展示")
|
private String pictureLink;
|
@ApiModelProperty("是否自动生成")
|
private Integer isSystem;
|
@ApiModelProperty("创建人姓名")
|
private String userName;
|
|
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 void setIsSystem(final Integer isSystem) {
|
this.isSystem = isSystem;
|
}
|
|
public void setUserName(final String userName) {
|
this.userName = userName;
|
}
|
|
public String toString() {
|
return "Workbench(name=" + getName() + ", sort=" + getSort() + ", pictureLink=" + getPictureLink() + ", isSystem=" + getIsSystem() + ", userName=" + getUserName() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof Workbench) {
|
Workbench other = (Workbench) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$isSystem = getIsSystem();
|
Object other$isSystem = other.getIsSystem();
|
if (this$isSystem == null) {
|
if (other$isSystem != null) {
|
return false;
|
}
|
} else if (!this$isSystem.equals(other$isSystem)) {
|
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();
|
if (this$pictureLink == null) {
|
if (other$pictureLink != null) {
|
return false;
|
}
|
} else if (!this$pictureLink.equals(other$pictureLink)) {
|
return false;
|
}
|
Object this$userName = getUserName();
|
Object other$userName = other.getUserName();
|
return this$userName == null ? other$userName == null : this$userName.equals(other$userName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Workbench;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $sort = getSort();
|
int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $isSystem = getIsSystem();
|
int result3 = (result2 * 59) + ($isSystem == null ? 43 : $isSystem.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $pictureLink = getPictureLink();
|
int result5 = (result4 * 59) + ($pictureLink == null ? 43 : $pictureLink.hashCode());
|
Object $userName = getUserName();
|
return (result5 * 59) + ($userName == null ? 43 : $userName.hashCode());
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getPictureLink() {
|
return this.pictureLink;
|
}
|
|
public Integer getIsSystem() {
|
return this.isSystem;
|
}
|
|
public String getUserName() {
|
return this.userName;
|
}
|
}
|