package com.qianwen.smartman.modules.visual.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; 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 = "VisualConfig对象", description = "可视化配置表") @TableName("blade_visual_config") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/entity/VisualConfig.class */ public class VisualConfig implements Serializable { private static final long serialVersionUID = 1; @JsonSerialize(using = ToStringSerializer.class) @TableId(value = "id", type = IdType.ASSIGN_ID) @ApiModelProperty("主键") private Long id; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("可视化表主键") private Long visualId; @ApiModelProperty("配置json") private String detail; @ApiModelProperty("组件json") private String component; public void setId(final Long id) { this.id = id; } public void setVisualId(final Long visualId) { this.visualId = visualId; } public void setDetail(final String detail) { this.detail = detail; } public void setComponent(final String component) { this.component = component; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof VisualConfig) { VisualConfig other = (VisualConfig) 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$visualId = getVisualId(); Object other$visualId = other.getVisualId(); if (this$visualId == null) { if (other$visualId != null) { return false; } } else if (!this$visualId.equals(other$visualId)) { return false; } Object this$detail = getDetail(); Object other$detail = other.getDetail(); if (this$detail == null) { if (other$detail != null) { return false; } } else if (!this$detail.equals(other$detail)) { return false; } Object this$component = getComponent(); Object other$component = other.getComponent(); return this$component == null ? other$component == null : this$component.equals(other$component); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof VisualConfig; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $visualId = getVisualId(); int result2 = (result * 59) + ($visualId == null ? 43 : $visualId.hashCode()); Object $detail = getDetail(); int result3 = (result2 * 59) + ($detail == null ? 43 : $detail.hashCode()); Object $component = getComponent(); return (result3 * 59) + ($component == null ? 43 : $component.hashCode()); } public String toString() { return "VisualConfig(id=" + getId() + ", visualId=" + getVisualId() + ", detail=" + getDetail() + ", component=" + getComponent() + ")"; } public Long getId() { return this.id; } public Long getVisualId() { return this.visualId; } public String getDetail() { return this.detail; } public String getComponent() { return this.component; } }