package com.qianwen.smartman.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "MetaObjectTypeField", description = "业务对象字段")
|
@TableName("blade_meta_object_type_field")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/MetaObjectTypeField.class */
|
public class MetaObjectTypeField implements Serializable {
|
private static final long serialVersionUID = 1;
|
@TableId
|
private Long id;
|
@ApiModelProperty("所属业务对象")
|
private String objectId;
|
@ApiModelProperty("字段编码")
|
private String fCode;
|
@ApiModelProperty("字段标题")
|
private String fName;
|
@ApiModelProperty("数据库实体属性")
|
private String field;
|
@ApiModelProperty("元素类型")
|
private String elementType;
|
@ApiModelProperty("元素下拉列表时候对应的枚举类型Key")
|
private String enumType;
|
@ApiModelProperty("字段顺序")
|
private Integer seq;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setObjectId(final String objectId) {
|
this.objectId = objectId;
|
}
|
|
public void setFCode(final String fCode) {
|
this.fCode = fCode;
|
}
|
|
public void setFName(final String fName) {
|
this.fName = fName;
|
}
|
|
public void setField(final String field) {
|
this.field = field;
|
}
|
|
public void setElementType(final String elementType) {
|
this.elementType = elementType;
|
}
|
|
public void setEnumType(final String enumType) {
|
this.enumType = enumType;
|
}
|
|
public void setSeq(final Integer seq) {
|
this.seq = seq;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MetaObjectTypeField) {
|
MetaObjectTypeField other = (MetaObjectTypeField) 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$seq = getSeq();
|
Object other$seq = other.getSeq();
|
if (this$seq == null) {
|
if (other$seq != null) {
|
return false;
|
}
|
} else if (!this$seq.equals(other$seq)) {
|
return false;
|
}
|
Object this$objectId = getObjectId();
|
Object other$objectId = other.getObjectId();
|
if (this$objectId == null) {
|
if (other$objectId != null) {
|
return false;
|
}
|
} else if (!this$objectId.equals(other$objectId)) {
|
return false;
|
}
|
Object this$fCode = getFCode();
|
Object other$fCode = other.getFCode();
|
if (this$fCode == null) {
|
if (other$fCode != null) {
|
return false;
|
}
|
} else if (!this$fCode.equals(other$fCode)) {
|
return false;
|
}
|
Object this$fName = getFName();
|
Object other$fName = other.getFName();
|
if (this$fName == null) {
|
if (other$fName != null) {
|
return false;
|
}
|
} else if (!this$fName.equals(other$fName)) {
|
return false;
|
}
|
Object this$field = getField();
|
Object other$field = other.getField();
|
if (this$field == null) {
|
if (other$field != null) {
|
return false;
|
}
|
} else if (!this$field.equals(other$field)) {
|
return false;
|
}
|
Object this$elementType = getElementType();
|
Object other$elementType = other.getElementType();
|
if (this$elementType == null) {
|
if (other$elementType != null) {
|
return false;
|
}
|
} else if (!this$elementType.equals(other$elementType)) {
|
return false;
|
}
|
Object this$enumType = getEnumType();
|
Object other$enumType = other.getEnumType();
|
return this$enumType == null ? other$enumType == null : this$enumType.equals(other$enumType);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MetaObjectTypeField;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $seq = getSeq();
|
int result2 = (result * 59) + ($seq == null ? 43 : $seq.hashCode());
|
Object $objectId = getObjectId();
|
int result3 = (result2 * 59) + ($objectId == null ? 43 : $objectId.hashCode());
|
Object $fCode = getFCode();
|
int result4 = (result3 * 59) + ($fCode == null ? 43 : $fCode.hashCode());
|
Object $fName = getFName();
|
int result5 = (result4 * 59) + ($fName == null ? 43 : $fName.hashCode());
|
Object $field = getField();
|
int result6 = (result5 * 59) + ($field == null ? 43 : $field.hashCode());
|
Object $elementType = getElementType();
|
int result7 = (result6 * 59) + ($elementType == null ? 43 : $elementType.hashCode());
|
Object $enumType = getEnumType();
|
return (result7 * 59) + ($enumType == null ? 43 : $enumType.hashCode());
|
}
|
|
public String toString() {
|
return "MetaObjectTypeField(id=" + getId() + ", objectId=" + getObjectId() + ", fCode=" + getFCode() + ", fName=" + getFName() + ", field=" + getField() + ", elementType=" + getElementType() + ", enumType=" + getEnumType() + ", seq=" + getSeq() + ")";
|
}
|
|
public MetaObjectTypeField() {
|
}
|
|
public MetaObjectTypeField(final Long id, final String objectId, final String fCode, final String fName, final String field, final String elementType, final String enumType, final Integer seq) {
|
this.id = id;
|
this.objectId = objectId;
|
this.fCode = fCode;
|
this.fName = fName;
|
this.field = field;
|
this.elementType = elementType;
|
this.enumType = enumType;
|
this.seq = seq;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getObjectId() {
|
return this.objectId;
|
}
|
|
public String getFCode() {
|
return this.fCode;
|
}
|
|
public String getFName() {
|
return this.fName;
|
}
|
|
public String getField() {
|
return this.field;
|
}
|
|
public String getElementType() {
|
return this.elementType;
|
}
|
|
public String getEnumType() {
|
return this.enumType;
|
}
|
|
public Integer getSeq() {
|
return this.seq;
|
}
|
}
|