package com.qianwen.smartman.modules.visual.dynamic;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/dynamic/DynamicModel.class */
|
public class DynamicModel {
|
private String id;
|
private String sql;
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setSql(final String sql) {
|
this.sql = sql;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DynamicModel) {
|
DynamicModel other = (DynamicModel) 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$sql = getSql();
|
Object other$sql = other.getSql();
|
return this$sql == null ? other$sql == null : this$sql.equals(other$sql);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DynamicModel;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $sql = getSql();
|
return (result * 59) + ($sql == null ? 43 : $sql.hashCode());
|
}
|
|
public String toString() {
|
return "DynamicModel(id=" + getId() + ", sql=" + getSql() + ")";
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getSql() {
|
return this.sql;
|
}
|
}
|