package com.qianwen.smartman.modules.visual.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; @ApiModel(value = "VisualCategory对象", description = "可视化分类表") @TableName("blade_visual_category") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/entity/VisualCategory.class */ public class VisualCategory implements Serializable { private static final long serialVersionUID = 1; @JsonSerialize(using = ToStringSerializer.class) @TableId(value = "id", type = IdType.ASSIGN_ID) @ApiModelProperty("主键") private Long id; @ApiModelProperty("分类键值") private String categoryKey; @ApiModelProperty("分类名称") private String categoryValue; @TableLogic @ApiModelProperty("是否已删除") private Integer isDeleted; public void setId(final Long id) { this.id = id; } public void setCategoryKey(final String categoryKey) { this.categoryKey = categoryKey; } public void setCategoryValue(final String categoryValue) { this.categoryValue = categoryValue; } public void setIsDeleted(final Integer isDeleted) { this.isDeleted = isDeleted; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof VisualCategory) { VisualCategory other = (VisualCategory) 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$isDeleted = getIsDeleted(); Object other$isDeleted = other.getIsDeleted(); if (this$isDeleted == null) { if (other$isDeleted != null) { return false; } } else if (!this$isDeleted.equals(other$isDeleted)) { return false; } Object this$categoryKey = getCategoryKey(); Object other$categoryKey = other.getCategoryKey(); if (this$categoryKey == null) { if (other$categoryKey != null) { return false; } } else if (!this$categoryKey.equals(other$categoryKey)) { return false; } Object this$categoryValue = getCategoryValue(); Object other$categoryValue = other.getCategoryValue(); return this$categoryValue == null ? other$categoryValue == null : this$categoryValue.equals(other$categoryValue); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof VisualCategory; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $isDeleted = getIsDeleted(); int result2 = (result * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode()); Object $categoryKey = getCategoryKey(); int result3 = (result2 * 59) + ($categoryKey == null ? 43 : $categoryKey.hashCode()); Object $categoryValue = getCategoryValue(); return (result3 * 59) + ($categoryValue == null ? 43 : $categoryValue.hashCode()); } public String toString() { return "VisualCategory(id=" + getId() + ", categoryKey=" + getCategoryKey() + ", categoryValue=" + getCategoryValue() + ", isDeleted=" + getIsDeleted() + ")"; } public Long getId() { return this.id; } public String getCategoryKey() { return this.categoryKey; } public String getCategoryValue() { return this.categoryValue; } public Integer getIsDeleted() { return this.isDeleted; } }