package com.qianwen.smartman.modules.system.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import com.qianwen.smartman.modules.system.vo.MetaObjectTypeFieldVO;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/MetaObjectTypeDTO.class */
|
public class MetaObjectTypeDTO {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("业务对象编码")
|
private String objectId;
|
@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;
|
private List<MetaObjectTypeFieldVO> fields;
|
|
public void setObjectId(final String objectId) {
|
this.objectId = objectId;
|
}
|
|
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 setFields(final List<MetaObjectTypeFieldVO> fields) {
|
this.fields = fields;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MetaObjectTypeDTO) {
|
MetaObjectTypeDTO other = (MetaObjectTypeDTO) o;
|
if (other.canEqual(this)) {
|
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$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$fields = getFields();
|
Object other$fields = other.getFields();
|
return this$fields == null ? other$fields == null : this$fields.equals(other$fields);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MetaObjectTypeDTO;
|
}
|
|
public int hashCode() {
|
Object $objectId = getObjectId();
|
int result = (1 * 59) + ($objectId == null ? 43 : $objectId.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 $fields = getFields();
|
return (result8 * 59) + ($fields == null ? 43 : $fields.hashCode());
|
}
|
|
public String toString() {
|
return "MetaObjectTypeDTO(objectId=" + getObjectId() + ", name=" + getName() + ", code=" + getCode() + ", subsysId=" + getSubsysId() + ", tableName=" + getTableName() + ", refCode=" + getRefCode() + ", refName=" + getRefName() + ", primaryKey=" + getPrimaryKey() + ", fields=" + getFields() + ")";
|
}
|
|
public String getObjectId() {
|
return this.objectId;
|
}
|
|
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 List<MetaObjectTypeFieldVO> getFields() {
|
return this.fields;
|
}
|
}
|