package com.qianwen.core.coderule.model;
|
|
import java.io.Serializable;
|
|
/* loaded from: blade-starter-coderule-9.3.0.0-SNAPSHOT.jar:org/springblade/core/coderule/model/ObjectType.class */
|
public class ObjectType implements Serializable {
|
private String fId;
|
private String tableName;
|
private String refCode;
|
private String refName;
|
private String primaryKey;
|
|
public void setFId(final String fId) {
|
this.fId = fId;
|
}
|
|
public void setTableName(final String tableName) {
|
this.tableName = tableName;
|
}
|
|
public void setRefCode(final String refCode) {
|
this.refCode = refCode;
|
}
|
|
public void setRefName(final String refName) {
|
this.refName = refName;
|
}
|
|
public void setPrimaryKey(final String primaryKey) {
|
this.primaryKey = primaryKey;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ObjectType) {
|
ObjectType other = (ObjectType) o;
|
if (other.canEqual(this)) {
|
Object this$fId = getFId();
|
Object other$fId = other.getFId();
|
if (this$fId == null) {
|
if (other$fId != null) {
|
return false;
|
}
|
} else if (!this$fId.equals(other$fId)) {
|
return false;
|
}
|
Object this$tableName = getTableName();
|
Object other$tableName = other.getTableName();
|
if (this$tableName == null) {
|
if (other$tableName != null) {
|
return false;
|
}
|
} else if (!this$tableName.equals(other$tableName)) {
|
return false;
|
}
|
Object this$refCode = getRefCode();
|
Object other$refCode = other.getRefCode();
|
if (this$refCode == null) {
|
if (other$refCode != null) {
|
return false;
|
}
|
} else if (!this$refCode.equals(other$refCode)) {
|
return false;
|
}
|
Object this$refName = getRefName();
|
Object other$refName = other.getRefName();
|
if (this$refName == null) {
|
if (other$refName != null) {
|
return false;
|
}
|
} else if (!this$refName.equals(other$refName)) {
|
return false;
|
}
|
Object this$primaryKey = getPrimaryKey();
|
Object other$primaryKey = other.getPrimaryKey();
|
return this$primaryKey == null ? other$primaryKey == null : this$primaryKey.equals(other$primaryKey);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ObjectType;
|
}
|
|
public int hashCode() {
|
Object $fId = getFId();
|
int result = (1 * 59) + ($fId == null ? 43 : $fId.hashCode());
|
Object $tableName = getTableName();
|
int result2 = (result * 59) + ($tableName == null ? 43 : $tableName.hashCode());
|
Object $refCode = getRefCode();
|
int result3 = (result2 * 59) + ($refCode == null ? 43 : $refCode.hashCode());
|
Object $refName = getRefName();
|
int result4 = (result3 * 59) + ($refName == null ? 43 : $refName.hashCode());
|
Object $primaryKey = getPrimaryKey();
|
return (result4 * 59) + ($primaryKey == null ? 43 : $primaryKey.hashCode());
|
}
|
|
public String toString() {
|
return "ObjectType(fId=" + getFId() + ", tableName=" + getTableName() + ", refCode=" + getRefCode() + ", refName=" + getRefName() + ", primaryKey=" + getPrimaryKey() + ")";
|
}
|
|
public String getFId() {
|
return this.fId;
|
}
|
|
public String getTableName() {
|
return this.tableName;
|
}
|
|
public String getRefCode() {
|
return this.refCode;
|
}
|
|
public String getRefName() {
|
return this.refName;
|
}
|
|
public String getPrimaryKey() {
|
return this.primaryKey;
|
}
|
}
|