package com.qianwen.smartman.modules.visual.dto;
|
|
import java.io.Serializable;
|
import java.util.List;
|
import com.qianwen.smartman.modules.visual.entity.Visual;
|
import com.qianwen.smartman.modules.visual.entity.VisualConfig;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/dto/VisualDTO.class */
|
public class VisualDTO implements Serializable {
|
private static final long serialVersionUID = 1;
|
private Visual visual;
|
private VisualConfig config;
|
private Long nextId;
|
private Long prevId;
|
private List<Long> globalApiId;
|
|
public void setVisual(final Visual visual) {
|
this.visual = visual;
|
}
|
|
public void setConfig(final VisualConfig config) {
|
this.config = config;
|
}
|
|
public void setNextId(final Long nextId) {
|
this.nextId = nextId;
|
}
|
|
public void setPrevId(final Long prevId) {
|
this.prevId = prevId;
|
}
|
|
public void setGlobalApiId(final List<Long> globalApiId) {
|
this.globalApiId = globalApiId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof VisualDTO) {
|
VisualDTO other = (VisualDTO) o;
|
if (other.canEqual(this)) {
|
Object this$nextId = getNextId();
|
Object other$nextId = other.getNextId();
|
if (this$nextId == null) {
|
if (other$nextId != null) {
|
return false;
|
}
|
} else if (!this$nextId.equals(other$nextId)) {
|
return false;
|
}
|
Object this$prevId = getPrevId();
|
Object other$prevId = other.getPrevId();
|
if (this$prevId == null) {
|
if (other$prevId != null) {
|
return false;
|
}
|
} else if (!this$prevId.equals(other$prevId)) {
|
return false;
|
}
|
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$config = getConfig();
|
Object other$config = other.getConfig();
|
if (this$config == null) {
|
if (other$config != null) {
|
return false;
|
}
|
} else if (!this$config.equals(other$config)) {
|
return false;
|
}
|
Object this$globalApiId = getGlobalApiId();
|
Object other$globalApiId = other.getGlobalApiId();
|
return this$globalApiId == null ? other$globalApiId == null : this$globalApiId.equals(other$globalApiId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof VisualDTO;
|
}
|
|
public int hashCode() {
|
Object $nextId = getNextId();
|
int result = (1 * 59) + ($nextId == null ? 43 : $nextId.hashCode());
|
Object $prevId = getPrevId();
|
int result2 = (result * 59) + ($prevId == null ? 43 : $prevId.hashCode());
|
Object $visual = getVisual();
|
int result3 = (result2 * 59) + ($visual == null ? 43 : $visual.hashCode());
|
Object $config = getConfig();
|
int result4 = (result3 * 59) + ($config == null ? 43 : $config.hashCode());
|
Object $globalApiId = getGlobalApiId();
|
return (result4 * 59) + ($globalApiId == null ? 43 : $globalApiId.hashCode());
|
}
|
|
public String toString() {
|
return "VisualDTO(visual=" + getVisual() + ", config=" + getConfig() + ", nextId=" + getNextId() + ", prevId=" + getPrevId() + ", globalApiId=" + getGlobalApiId() + ")";
|
}
|
|
public Visual getVisual() {
|
return this.visual;
|
}
|
|
public VisualConfig getConfig() {
|
return this.config;
|
}
|
|
public Long getNextId() {
|
return this.nextId;
|
}
|
|
public Long getPrevId() {
|
return this.prevId;
|
}
|
|
public List<Long> getGlobalApiId() {
|
return this.globalApiId;
|
}
|
}
|