package com.qianwen.smartman.modules.visual.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "VisualCompVo对象", description = "大屏组件")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/vo/VisualCompVO.class */
|
public class VisualCompVO implements Serializable {
|
@ApiModelProperty("组件中文名称")
|
@Size(max = 50, message = "组件中文名称长度不能超过50")
|
private String name;
|
@NotBlank(message = "组件内容不能为空")
|
@ApiModelProperty("组件详情信息")
|
@Size(max = 65535, message = "组件详情信息长度不能超过65535")
|
private String component;
|
@NotBlank(message = "组件类型不能为空")
|
@ApiModelProperty("组件所在目录类别")
|
@Size(max = 50, message = "组件所在目录类别长度不能超过50")
|
private String type;
|
@ApiModelProperty("组件的类型名称")
|
private String typeName;
|
@ApiModelProperty("缩略图地址")
|
@Size(max = 255, message = "缩略图地址长度不能超过255")
|
private String url;
|
private String id;
|
@ApiModelProperty("业务状态 1启用 0 停用")
|
private Integer status;
|
@ApiModelProperty("顺序")
|
private Integer orderNum;
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setComponent(final String component) {
|
this.component = component;
|
}
|
|
public void setType(final String type) {
|
this.type = type;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setUrl(final String url) {
|
this.url = url;
|
}
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setOrderNum(final Integer orderNum) {
|
this.orderNum = orderNum;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof VisualCompVO) {
|
VisualCompVO other = (VisualCompVO) o;
|
if (other.canEqual(this)) {
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$orderNum = getOrderNum();
|
Object other$orderNum = other.getOrderNum();
|
if (this$orderNum == null) {
|
if (other$orderNum != null) {
|
return false;
|
}
|
} else if (!this$orderNum.equals(other$orderNum)) {
|
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$component = getComponent();
|
Object other$component = other.getComponent();
|
if (this$component == null) {
|
if (other$component != null) {
|
return false;
|
}
|
} else if (!this$component.equals(other$component)) {
|
return false;
|
}
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$typeName = getTypeName();
|
Object other$typeName = other.getTypeName();
|
if (this$typeName == null) {
|
if (other$typeName != null) {
|
return false;
|
}
|
} else if (!this$typeName.equals(other$typeName)) {
|
return false;
|
}
|
Object this$url = getUrl();
|
Object other$url = other.getUrl();
|
if (this$url == null) {
|
if (other$url != null) {
|
return false;
|
}
|
} else if (!this$url.equals(other$url)) {
|
return false;
|
}
|
Object this$id = getId();
|
Object other$id = other.getId();
|
return this$id == null ? other$id == null : this$id.equals(other$id);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof VisualCompVO;
|
}
|
|
public int hashCode() {
|
Object $status = getStatus();
|
int result = (1 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $orderNum = getOrderNum();
|
int result2 = (result * 59) + ($orderNum == null ? 43 : $orderNum.hashCode());
|
Object $name = getName();
|
int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $component = getComponent();
|
int result4 = (result3 * 59) + ($component == null ? 43 : $component.hashCode());
|
Object $type = getType();
|
int result5 = (result4 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $typeName = getTypeName();
|
int result6 = (result5 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $url = getUrl();
|
int result7 = (result6 * 59) + ($url == null ? 43 : $url.hashCode());
|
Object $id = getId();
|
return (result7 * 59) + ($id == null ? 43 : $id.hashCode());
|
}
|
|
public String toString() {
|
return "VisualCompVO(name=" + getName() + ", component=" + getComponent() + ", type=" + getType() + ", typeName=" + getTypeName() + ", url=" + getUrl() + ", id=" + getId() + ", status=" + getStatus() + ", orderNum=" + getOrderNum() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getComponent() {
|
return this.component;
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public String getUrl() {
|
return this.url;
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public Integer getOrderNum() {
|
return this.orderNum;
|
}
|
}
|