package com.qianwen.core.log.model;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
@TableName("blade_log_api")
|
/* loaded from: blade-starter-log-9.3.0.0-SNAPSHOT.jar:org/springblade/core/log/model/LogApi.class */
|
public class LogApi extends LogAbstract {
|
private static final long serialVersionUID = 1;
|
private String type;
|
private String title;
|
private String time;
|
|
public void setType(final String type) {
|
this.type = type;
|
}
|
|
public void setTitle(final String title) {
|
this.title = title;
|
}
|
|
public void setTime(final String time) {
|
this.time = time;
|
}
|
|
@Override // org.springblade.core.log.model.LogAbstract
|
public String toString() {
|
return "LogApi(type=" + getType() + ", title=" + getTitle() + ", time=" + getTime() + ")";
|
}
|
|
@Override // org.springblade.core.log.model.LogAbstract
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof LogApi) {
|
LogApi other = (LogApi) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$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$time = getTime();
|
Object other$time = other.getTime();
|
return this$time == null ? other$time == null : this$time.equals(other$time);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
@Override // org.springblade.core.log.model.LogAbstract
|
protected boolean canEqual(final Object other) {
|
return other instanceof LogApi;
|
}
|
|
@Override // org.springblade.core.log.model.LogAbstract
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $type = getType();
|
int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $title = getTitle();
|
int result3 = (result2 * 59) + ($title == null ? 43 : $title.hashCode());
|
Object $time = getTime();
|
return (result3 * 59) + ($time == null ? 43 : $time.hashCode());
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public String getTime() {
|
return this.time;
|
}
|
}
|