package com.qianwen.smartman.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
|
@TableName("blade_meta_ref_object_type")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/MetaRefObjectType.class */
|
public class MetaRefObjectType extends Model<MetaRefObjectType> {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键id")
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
private String objectTypeId;
|
private String refObjectTypeId;
|
private String fieldName;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setObjectTypeId(final String objectTypeId) {
|
this.objectTypeId = objectTypeId;
|
}
|
|
public void setRefObjectTypeId(final String refObjectTypeId) {
|
this.refObjectTypeId = refObjectTypeId;
|
}
|
|
public void setFieldName(final String fieldName) {
|
this.fieldName = fieldName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MetaRefObjectType) {
|
MetaRefObjectType other = (MetaRefObjectType) 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$objectTypeId = getObjectTypeId();
|
Object other$objectTypeId = other.getObjectTypeId();
|
if (this$objectTypeId == null) {
|
if (other$objectTypeId != null) {
|
return false;
|
}
|
} else if (!this$objectTypeId.equals(other$objectTypeId)) {
|
return false;
|
}
|
Object this$refObjectTypeId = getRefObjectTypeId();
|
Object other$refObjectTypeId = other.getRefObjectTypeId();
|
if (this$refObjectTypeId == null) {
|
if (other$refObjectTypeId != null) {
|
return false;
|
}
|
} else if (!this$refObjectTypeId.equals(other$refObjectTypeId)) {
|
return false;
|
}
|
Object this$fieldName = getFieldName();
|
Object other$fieldName = other.getFieldName();
|
return this$fieldName == null ? other$fieldName == null : this$fieldName.equals(other$fieldName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MetaRefObjectType;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $objectTypeId = getObjectTypeId();
|
int result2 = (result * 59) + ($objectTypeId == null ? 43 : $objectTypeId.hashCode());
|
Object $refObjectTypeId = getRefObjectTypeId();
|
int result3 = (result2 * 59) + ($refObjectTypeId == null ? 43 : $refObjectTypeId.hashCode());
|
Object $fieldName = getFieldName();
|
return (result3 * 59) + ($fieldName == null ? 43 : $fieldName.hashCode());
|
}
|
|
public String toString() {
|
return "MetaRefObjectType(id=" + getId() + ", objectTypeId=" + getObjectTypeId() + ", refObjectTypeId=" + getRefObjectTypeId() + ", fieldName=" + getFieldName() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getObjectTypeId() {
|
return this.objectTypeId;
|
}
|
|
public String getRefObjectTypeId() {
|
return this.refObjectTypeId;
|
}
|
|
public String getFieldName() {
|
return this.fieldName;
|
}
|
}
|