package com.qianwen.smartman.modules.develop.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "Code", description = "Code对象")
|
@TableName("blade_code")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/develop/entity/Code.class */
|
public class Code implements Serializable {
|
private static final long serialVersionUID = 1;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键")
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
@ApiModelProperty("标题")
|
private String title;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("数据源主键")
|
private Long datasourceId;
|
@ApiModelProperty("服务名称")
|
private String serviceName;
|
@ApiModelProperty("模块名称")
|
private String codeName;
|
@ApiModelProperty("表名")
|
private String tableName;
|
@ApiModelProperty("表前缀")
|
private String tablePrefix;
|
@ApiModelProperty("主键名")
|
private String pkName;
|
@ApiModelProperty("基础业务模式")
|
private Integer baseMode;
|
@ApiModelProperty("包装器模式")
|
private Integer wrapMode;
|
@ApiModelProperty("后端包名")
|
private String packageName;
|
@ApiModelProperty("后端路径")
|
private String apiPath;
|
@ApiModelProperty("前端路径")
|
private String webPath;
|
@TableLogic
|
@ApiModelProperty("是否已删除")
|
private Integer isDeleted;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setTitle(final String title) {
|
this.title = title;
|
}
|
|
public void setDatasourceId(final Long datasourceId) {
|
this.datasourceId = datasourceId;
|
}
|
|
public void setServiceName(final String serviceName) {
|
this.serviceName = serviceName;
|
}
|
|
public void setCodeName(final String codeName) {
|
this.codeName = codeName;
|
}
|
|
public void setTableName(final String tableName) {
|
this.tableName = tableName;
|
}
|
|
public void setTablePrefix(final String tablePrefix) {
|
this.tablePrefix = tablePrefix;
|
}
|
|
public void setPkName(final String pkName) {
|
this.pkName = pkName;
|
}
|
|
public void setBaseMode(final Integer baseMode) {
|
this.baseMode = baseMode;
|
}
|
|
public void setWrapMode(final Integer wrapMode) {
|
this.wrapMode = wrapMode;
|
}
|
|
public void setPackageName(final String packageName) {
|
this.packageName = packageName;
|
}
|
|
public void setApiPath(final String apiPath) {
|
this.apiPath = apiPath;
|
}
|
|
public void setWebPath(final String webPath) {
|
this.webPath = webPath;
|
}
|
|
public void setIsDeleted(final Integer isDeleted) {
|
this.isDeleted = isDeleted;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof Code) {
|
Code other = (Code) 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$datasourceId = getDatasourceId();
|
Object other$datasourceId = other.getDatasourceId();
|
if (this$datasourceId == null) {
|
if (other$datasourceId != null) {
|
return false;
|
}
|
} else if (!this$datasourceId.equals(other$datasourceId)) {
|
return false;
|
}
|
Object this$baseMode = getBaseMode();
|
Object other$baseMode = other.getBaseMode();
|
if (this$baseMode == null) {
|
if (other$baseMode != null) {
|
return false;
|
}
|
} else if (!this$baseMode.equals(other$baseMode)) {
|
return false;
|
}
|
Object this$wrapMode = getWrapMode();
|
Object other$wrapMode = other.getWrapMode();
|
if (this$wrapMode == null) {
|
if (other$wrapMode != null) {
|
return false;
|
}
|
} else if (!this$wrapMode.equals(other$wrapMode)) {
|
return false;
|
}
|
Object this$isDeleted = getIsDeleted();
|
Object other$isDeleted = other.getIsDeleted();
|
if (this$isDeleted == null) {
|
if (other$isDeleted != null) {
|
return false;
|
}
|
} else if (!this$isDeleted.equals(other$isDeleted)) {
|
return false;
|
}
|
Object this$title = getTitle();
|
Object other$title = other.getTitle();
|
if (this$title == null) {
|
if (other$title != null) {
|
return false;
|
}
|
} else if (!this$title.equals(other$title)) {
|
return false;
|
}
|
Object this$serviceName = getServiceName();
|
Object other$serviceName = other.getServiceName();
|
if (this$serviceName == null) {
|
if (other$serviceName != null) {
|
return false;
|
}
|
} else if (!this$serviceName.equals(other$serviceName)) {
|
return false;
|
}
|
Object this$codeName = getCodeName();
|
Object other$codeName = other.getCodeName();
|
if (this$codeName == null) {
|
if (other$codeName != null) {
|
return false;
|
}
|
} else if (!this$codeName.equals(other$codeName)) {
|
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$tablePrefix = getTablePrefix();
|
Object other$tablePrefix = other.getTablePrefix();
|
if (this$tablePrefix == null) {
|
if (other$tablePrefix != null) {
|
return false;
|
}
|
} else if (!this$tablePrefix.equals(other$tablePrefix)) {
|
return false;
|
}
|
Object this$pkName = getPkName();
|
Object other$pkName = other.getPkName();
|
if (this$pkName == null) {
|
if (other$pkName != null) {
|
return false;
|
}
|
} else if (!this$pkName.equals(other$pkName)) {
|
return false;
|
}
|
Object this$packageName = getPackageName();
|
Object other$packageName = other.getPackageName();
|
if (this$packageName == null) {
|
if (other$packageName != null) {
|
return false;
|
}
|
} else if (!this$packageName.equals(other$packageName)) {
|
return false;
|
}
|
Object this$apiPath = getApiPath();
|
Object other$apiPath = other.getApiPath();
|
if (this$apiPath == null) {
|
if (other$apiPath != null) {
|
return false;
|
}
|
} else if (!this$apiPath.equals(other$apiPath)) {
|
return false;
|
}
|
Object this$webPath = getWebPath();
|
Object other$webPath = other.getWebPath();
|
return this$webPath == null ? other$webPath == null : this$webPath.equals(other$webPath);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Code;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $datasourceId = getDatasourceId();
|
int result2 = (result * 59) + ($datasourceId == null ? 43 : $datasourceId.hashCode());
|
Object $baseMode = getBaseMode();
|
int result3 = (result2 * 59) + ($baseMode == null ? 43 : $baseMode.hashCode());
|
Object $wrapMode = getWrapMode();
|
int result4 = (result3 * 59) + ($wrapMode == null ? 43 : $wrapMode.hashCode());
|
Object $isDeleted = getIsDeleted();
|
int result5 = (result4 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
|
Object $title = getTitle();
|
int result6 = (result5 * 59) + ($title == null ? 43 : $title.hashCode());
|
Object $serviceName = getServiceName();
|
int result7 = (result6 * 59) + ($serviceName == null ? 43 : $serviceName.hashCode());
|
Object $codeName = getCodeName();
|
int result8 = (result7 * 59) + ($codeName == null ? 43 : $codeName.hashCode());
|
Object $tableName = getTableName();
|
int result9 = (result8 * 59) + ($tableName == null ? 43 : $tableName.hashCode());
|
Object $tablePrefix = getTablePrefix();
|
int result10 = (result9 * 59) + ($tablePrefix == null ? 43 : $tablePrefix.hashCode());
|
Object $pkName = getPkName();
|
int result11 = (result10 * 59) + ($pkName == null ? 43 : $pkName.hashCode());
|
Object $packageName = getPackageName();
|
int result12 = (result11 * 59) + ($packageName == null ? 43 : $packageName.hashCode());
|
Object $apiPath = getApiPath();
|
int result13 = (result12 * 59) + ($apiPath == null ? 43 : $apiPath.hashCode());
|
Object $webPath = getWebPath();
|
return (result13 * 59) + ($webPath == null ? 43 : $webPath.hashCode());
|
}
|
|
public String toString() {
|
return "Code(id=" + getId() + ", title=" + getTitle() + ", datasourceId=" + getDatasourceId() + ", serviceName=" + getServiceName() + ", codeName=" + getCodeName() + ", tableName=" + getTableName() + ", tablePrefix=" + getTablePrefix() + ", pkName=" + getPkName() + ", baseMode=" + getBaseMode() + ", wrapMode=" + getWrapMode() + ", packageName=" + getPackageName() + ", apiPath=" + getApiPath() + ", webPath=" + getWebPath() + ", isDeleted=" + getIsDeleted() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public Long getDatasourceId() {
|
return this.datasourceId;
|
}
|
|
public String getServiceName() {
|
return this.serviceName;
|
}
|
|
public String getCodeName() {
|
return this.codeName;
|
}
|
|
public String getTableName() {
|
return this.tableName;
|
}
|
|
public String getTablePrefix() {
|
return this.tablePrefix;
|
}
|
|
public String getPkName() {
|
return this.pkName;
|
}
|
|
public Integer getBaseMode() {
|
return this.baseMode;
|
}
|
|
public Integer getWrapMode() {
|
return this.wrapMode;
|
}
|
|
public String getPackageName() {
|
return this.packageName;
|
}
|
|
public String getApiPath() {
|
return this.apiPath;
|
}
|
|
public String getWebPath() {
|
return this.webPath;
|
}
|
|
public Integer getIsDeleted() {
|
return this.isDeleted;
|
}
|
}
|