package com.qianwen.smartman.modules.visual.dto;
|
|
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/dto/VisualDownloadDTO.class */
|
public class VisualDownloadDTO {
|
private String visual;
|
private String detail;
|
private String component;
|
|
public void setVisual(final String visual) {
|
this.visual = visual;
|
}
|
|
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 VisualDownloadDTO) {
|
VisualDownloadDTO other = (VisualDownloadDTO) o;
|
if (other.canEqual(this)) {
|
Object this$visual = getVisual();
|
Object other$visual = other.getVisual();
|
if (this$visual == null) {
|
if (other$visual != null) {
|
return false;
|
}
|
} else if (!this$visual.equals(other$visual)) {
|
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 VisualDownloadDTO;
|
}
|
|
public int hashCode() {
|
Object $visual = getVisual();
|
int result = (1 * 59) + ($visual == null ? 43 : $visual.hashCode());
|
Object $detail = getDetail();
|
int result2 = (result * 59) + ($detail == null ? 43 : $detail.hashCode());
|
Object $component = getComponent();
|
return (result2 * 59) + ($component == null ? 43 : $component.hashCode());
|
}
|
|
public VisualDownloadDTO(final String visual, final String detail, final String component) {
|
this.visual = visual;
|
this.detail = detail;
|
this.component = component;
|
}
|
|
public String getVisual() {
|
return this.visual;
|
}
|
|
public String getDetail() {
|
return this.detail;
|
}
|
|
public String getComponent() {
|
return this.component;
|
}
|
|
public String toString() {
|
StringBuilder builder = new StringBuilder();
|
builder.append("{");
|
builder.append("\"visual\":");
|
builder.append(this.visual);
|
builder.append(",");
|
builder.append("\"detail\":");
|
builder.append(this.detail);
|
builder.append(",");
|
builder.append("\"component\":");
|
builder.append(this.component);
|
builder.append("}");
|
return builder.toString();
|
/*
|
return "{\"visual\":" + this.visual + ",\"detail\":" + this.detail + ",\"component\":" + this.component + "}";*/
|
}
|
}
|