package com.qianwen.smartman.modules.visual.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.mp.base.BaseEntity; @ApiModel(value = "Visual对象", description = "可视化表") @TableName("blade_visual") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/entity/Visual.class */ public class Visual extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("大屏标题") private String title; @ApiModelProperty("大屏背景") private String backgroundUrl; @ApiModelProperty("大屏类型") private Integer category; @ApiModelProperty("发布密码") private String password; @ApiModelProperty("组名称") private String groupName; @ApiModelProperty("组排序") private Integer groupIndex; @ApiModelProperty("轮播间隔") private Integer slidingSecond; public void setTitle(final String title) { this.title = title; } public void setBackgroundUrl(final String backgroundUrl) { this.backgroundUrl = backgroundUrl; } public void setCategory(final Integer category) { this.category = category; } public void setPassword(final String password) { this.password = password; } public void setGroupName(final String groupName) { this.groupName = groupName; } public void setGroupIndex(final Integer groupIndex) { this.groupIndex = groupIndex; } public void setSlidingSecond(final Integer slidingSecond) { this.slidingSecond = slidingSecond; } public String toString() { return "Visual(title=" + getTitle() + ", backgroundUrl=" + getBackgroundUrl() + ", category=" + getCategory() + ", password=" + getPassword() + ", groupName=" + getGroupName() + ", groupIndex=" + getGroupIndex() + ", slidingSecond=" + getSlidingSecond() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof Visual) { Visual other = (Visual) o; if (other.canEqual(this) && super.equals(o)) { Object this$category = getCategory(); Object other$category = other.getCategory(); if (this$category == null) { if (other$category != null) { return false; } } else if (!this$category.equals(other$category)) { return false; } Object this$groupIndex = getGroupIndex(); Object other$groupIndex = other.getGroupIndex(); if (this$groupIndex == null) { if (other$groupIndex != null) { return false; } } else if (!this$groupIndex.equals(other$groupIndex)) { return false; } Object this$slidingSecond = getSlidingSecond(); Object other$slidingSecond = other.getSlidingSecond(); if (this$slidingSecond == null) { if (other$slidingSecond != null) { return false; } } else if (!this$slidingSecond.equals(other$slidingSecond)) { return false; } Object this$title = getTitle(); Object other$title = other.getTitle(); if (this$title == null) { if (other$title != null) { return false; } } else if (!this$title.equals(other$title)) { return false; } Object this$backgroundUrl = getBackgroundUrl(); Object other$backgroundUrl = other.getBackgroundUrl(); if (this$backgroundUrl == null) { if (other$backgroundUrl != null) { return false; } } else if (!this$backgroundUrl.equals(other$backgroundUrl)) { return false; } Object this$password = getPassword(); Object other$password = other.getPassword(); if (this$password == null) { if (other$password != null) { return false; } } else if (!this$password.equals(other$password)) { return false; } Object this$groupName = getGroupName(); Object other$groupName = other.getGroupName(); return this$groupName == null ? other$groupName == null : this$groupName.equals(other$groupName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof Visual; } public int hashCode() { int result = super.hashCode(); Object $category = getCategory(); int result2 = (result * 59) + ($category == null ? 43 : $category.hashCode()); Object $groupIndex = getGroupIndex(); int result3 = (result2 * 59) + ($groupIndex == null ? 43 : $groupIndex.hashCode()); Object $slidingSecond = getSlidingSecond(); int result4 = (result3 * 59) + ($slidingSecond == null ? 43 : $slidingSecond.hashCode()); Object $title = getTitle(); int result5 = (result4 * 59) + ($title == null ? 43 : $title.hashCode()); Object $backgroundUrl = getBackgroundUrl(); int result6 = (result5 * 59) + ($backgroundUrl == null ? 43 : $backgroundUrl.hashCode()); Object $password = getPassword(); int result7 = (result6 * 59) + ($password == null ? 43 : $password.hashCode()); Object $groupName = getGroupName(); return (result7 * 59) + ($groupName == null ? 43 : $groupName.hashCode()); } public String getTitle() { return this.title; } public String getBackgroundUrl() { return this.backgroundUrl; } public Integer getCategory() { return this.category; } public String getPassword() { return this.password; } public String getGroupName() { return this.groupName; } public Integer getGroupIndex() { return this.groupIndex; } public Integer getSlidingSecond() { return this.slidingSecond; } }