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 = "MetaObjectType", description = "业务对象")
|
@TableName("blade_meta_object_type")
|
|
public class MetaObjectType implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("业务对象编码")
|
@TableId
|
private String fId;
|
@ApiModelProperty("业务对象名称")
|
private String name;
|
@ApiModelProperty("业务对象编码字段")
|
private String code;
|
@ApiModelProperty("子系统编码")
|
private String subsysId;
|
@ApiModelProperty("所在得物理表")
|
private String tableName;
|
@ApiModelProperty("三方引用得代码字段")
|
private String refCode;
|
@ApiModelProperty("三方引用得名称字段")
|
private String refName;
|
@ApiModelProperty("主键字段")
|
private String primaryKey;
|
@ApiModelProperty("业务规则")
|
private String ruleField;
|
@ApiModelProperty("业务规则字典")
|
private String ruleDictCode;
|
|
public void setFId(final String fId) {
|
this.fId = fId;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setSubsysId(final String subsysId) {
|
this.subsysId = subsysId;
|
}
|
|
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 void setRuleField(final String ruleField) {
|
this.ruleField = ruleField;
|
}
|
|
public void setRuleDictCode(final String ruleDictCode) {
|
this.ruleDictCode = ruleDictCode;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MetaObjectType) {
|
MetaObjectType other = (MetaObjectType) 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$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$subsysId = getSubsysId();
|
Object other$subsysId = other.getSubsysId();
|
if (this$subsysId == null) {
|
if (other$subsysId != null) {
|
return false;
|
}
|
} else if (!this$subsysId.equals(other$subsysId)) {
|
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();
|
if (this$primaryKey == null) {
|
if (other$primaryKey != null) {
|
return false;
|
}
|
} else if (!this$primaryKey.equals(other$primaryKey)) {
|
return false;
|
}
|
Object this$ruleField = getRuleField();
|
Object other$ruleField = other.getRuleField();
|
if (this$ruleField == null) {
|
if (other$ruleField != null) {
|
return false;
|
}
|
} else if (!this$ruleField.equals(other$ruleField)) {
|
return false;
|
}
|
Object this$ruleDictCode = getRuleDictCode();
|
Object other$ruleDictCode = other.getRuleDictCode();
|
return this$ruleDictCode == null ? other$ruleDictCode == null : this$ruleDictCode.equals(other$ruleDictCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MetaObjectType;
|
}
|
|
public int hashCode() {
|
Object $fId = getFId();
|
int result = (1 * 59) + ($fId == null ? 43 : $fId.hashCode());
|
Object $name = getName();
|
int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $code = getCode();
|
int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $subsysId = getSubsysId();
|
int result4 = (result3 * 59) + ($subsysId == null ? 43 : $subsysId.hashCode());
|
Object $tableName = getTableName();
|
int result5 = (result4 * 59) + ($tableName == null ? 43 : $tableName.hashCode());
|
Object $refCode = getRefCode();
|
int result6 = (result5 * 59) + ($refCode == null ? 43 : $refCode.hashCode());
|
Object $refName = getRefName();
|
int result7 = (result6 * 59) + ($refName == null ? 43 : $refName.hashCode());
|
Object $primaryKey = getPrimaryKey();
|
int result8 = (result7 * 59) + ($primaryKey == null ? 43 : $primaryKey.hashCode());
|
Object $ruleField = getRuleField();
|
int result9 = (result8 * 59) + ($ruleField == null ? 43 : $ruleField.hashCode());
|
Object $ruleDictCode = getRuleDictCode();
|
return (result9 * 59) + ($ruleDictCode == null ? 43 : $ruleDictCode.hashCode());
|
}
|
|
public String toString() {
|
return "MetaObjectType(fId=" + getFId() + ", name=" + getName() + ", code=" + getCode() + ", subsysId=" + getSubsysId() + ", tableName=" + getTableName() + ", refCode=" + getRefCode() + ", refName=" + getRefName() + ", primaryKey=" + getPrimaryKey() + ", ruleField=" + getRuleField() + ", ruleDictCode=" + getRuleDictCode() + ")";
|
}
|
|
public MetaObjectType() {
|
}
|
|
public MetaObjectType(final String fId, final String name, final String code, final String subsysId, final String tableName, final String refCode, final String refName, final String primaryKey, final String ruleField, final String ruleDictCode) {
|
this.fId = fId;
|
this.name = name;
|
this.code = code;
|
this.subsysId = subsysId;
|
this.tableName = tableName;
|
this.refCode = refCode;
|
this.refName = refName;
|
this.primaryKey = primaryKey;
|
this.ruleField = ruleField;
|
this.ruleDictCode = ruleDictCode;
|
}
|
|
public String getFId() {
|
return this.fId;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getSubsysId() {
|
return this.subsysId;
|
}
|
|
public String getTableName() {
|
return this.tableName;
|
}
|
|
public String getRefCode() {
|
return this.refCode;
|
}
|
|
public String getRefName() {
|
return this.refName;
|
}
|
|
public String getPrimaryKey() {
|
return this.primaryKey;
|
}
|
|
public String getRuleField() {
|
return this.ruleField;
|
}
|
|
public String getRuleDictCode() {
|
return this.ruleDictCode;
|
}
|
}
|