io.github.xuyao5.dkl.eskits.schema.mysql.Tables Maven / Gradle / Ivy
package io.github.xuyao5.dkl.eskits.schema.mysql;
import javax.annotation.Generated;
import java.io.Serializable;
import java.util.Date;
public class Tables implements Serializable {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private static final long serialVersionUID = 1L;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String tableCatalog;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String tableSchema;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String tableName;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String tableType;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String engine;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long version;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String rowFormat;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long tableRows;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long avgRowLength;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long dataLength;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long maxDataLength;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long indexLength;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long dataFree;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long autoIncrement;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date createTime;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date updateTime;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date checkTime;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String tableCollation;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long checksum;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String createOptions;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String tableComment;
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getTableCatalog() {
return tableCatalog;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableCatalog(String tableCatalog) {
this.tableCatalog = tableCatalog == null ? null : tableCatalog.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableCatalog(String tableCatalog) {
this.setTableCatalog(tableCatalog);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getTableSchema() {
return tableSchema;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableSchema(String tableSchema) {
this.tableSchema = tableSchema == null ? null : tableSchema.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableSchema(String tableSchema) {
this.setTableSchema(tableSchema);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getTableName() {
return tableName;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableName(String tableName) {
this.tableName = tableName == null ? null : tableName.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableName(String tableName) {
this.setTableName(tableName);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getTableType() {
return tableType;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableType(String tableType) {
this.tableType = tableType == null ? null : tableType.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableType(String tableType) {
this.setTableType(tableType);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getEngine() {
return engine;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setEngine(String engine) {
this.engine = engine == null ? null : engine.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withEngine(String engine) {
this.setEngine(engine);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getVersion() {
return version;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setVersion(Long version) {
this.version = version;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withVersion(Long version) {
this.setVersion(version);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getRowFormat() {
return rowFormat;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setRowFormat(String rowFormat) {
this.rowFormat = rowFormat == null ? null : rowFormat.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withRowFormat(String rowFormat) {
this.setRowFormat(rowFormat);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getTableRows() {
return tableRows;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableRows(Long tableRows) {
this.tableRows = tableRows;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableRows(Long tableRows) {
this.setTableRows(tableRows);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getAvgRowLength() {
return avgRowLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setAvgRowLength(Long avgRowLength) {
this.avgRowLength = avgRowLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withAvgRowLength(Long avgRowLength) {
this.setAvgRowLength(avgRowLength);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getDataLength() {
return dataLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setDataLength(Long dataLength) {
this.dataLength = dataLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withDataLength(Long dataLength) {
this.setDataLength(dataLength);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getMaxDataLength() {
return maxDataLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setMaxDataLength(Long maxDataLength) {
this.maxDataLength = maxDataLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withMaxDataLength(Long maxDataLength) {
this.setMaxDataLength(maxDataLength);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getIndexLength() {
return indexLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setIndexLength(Long indexLength) {
this.indexLength = indexLength;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withIndexLength(Long indexLength) {
this.setIndexLength(indexLength);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getDataFree() {
return dataFree;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setDataFree(Long dataFree) {
this.dataFree = dataFree;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withDataFree(Long dataFree) {
this.setDataFree(dataFree);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getAutoIncrement() {
return autoIncrement;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setAutoIncrement(Long autoIncrement) {
this.autoIncrement = autoIncrement;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withAutoIncrement(Long autoIncrement) {
this.setAutoIncrement(autoIncrement);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getCreateTime() {
return createTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withCreateTime(Date createTime) {
this.setCreateTime(createTime);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getUpdateTime() {
return updateTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withUpdateTime(Date updateTime) {
this.setUpdateTime(updateTime);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getCheckTime() {
return checkTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCheckTime(Date checkTime) {
this.checkTime = checkTime;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withCheckTime(Date checkTime) {
this.setCheckTime(checkTime);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getTableCollation() {
return tableCollation;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableCollation(String tableCollation) {
this.tableCollation = tableCollation == null ? null : tableCollation.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableCollation(String tableCollation) {
this.setTableCollation(tableCollation);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getChecksum() {
return checksum;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setChecksum(Long checksum) {
this.checksum = checksum;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withChecksum(Long checksum) {
this.setChecksum(checksum);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getCreateOptions() {
return createOptions;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCreateOptions(String createOptions) {
this.createOptions = createOptions == null ? null : createOptions.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withCreateOptions(String createOptions) {
this.setCreateOptions(createOptions);
return this;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getTableComment() {
return tableComment;
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTableComment(String tableComment) {
this.tableComment = tableComment == null ? null : tableComment.trim();
}
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Tables withTableComment(String tableComment) {
this.setTableComment(tableComment);
return this;
}
@Override
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
Tables other = (Tables) that;
return (this.getTableCatalog() == null ? other.getTableCatalog() == null : this.getTableCatalog().equals(other.getTableCatalog()))
&& (this.getTableSchema() == null ? other.getTableSchema() == null : this.getTableSchema().equals(other.getTableSchema()))
&& (this.getTableName() == null ? other.getTableName() == null : this.getTableName().equals(other.getTableName()))
&& (this.getTableType() == null ? other.getTableType() == null : this.getTableType().equals(other.getTableType()))
&& (this.getEngine() == null ? other.getEngine() == null : this.getEngine().equals(other.getEngine()))
&& (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion()))
&& (this.getRowFormat() == null ? other.getRowFormat() == null : this.getRowFormat().equals(other.getRowFormat()))
&& (this.getTableRows() == null ? other.getTableRows() == null : this.getTableRows().equals(other.getTableRows()))
&& (this.getAvgRowLength() == null ? other.getAvgRowLength() == null : this.getAvgRowLength().equals(other.getAvgRowLength()))
&& (this.getDataLength() == null ? other.getDataLength() == null : this.getDataLength().equals(other.getDataLength()))
&& (this.getMaxDataLength() == null ? other.getMaxDataLength() == null : this.getMaxDataLength().equals(other.getMaxDataLength()))
&& (this.getIndexLength() == null ? other.getIndexLength() == null : this.getIndexLength().equals(other.getIndexLength()))
&& (this.getDataFree() == null ? other.getDataFree() == null : this.getDataFree().equals(other.getDataFree()))
&& (this.getAutoIncrement() == null ? other.getAutoIncrement() == null : this.getAutoIncrement().equals(other.getAutoIncrement()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getCheckTime() == null ? other.getCheckTime() == null : this.getCheckTime().equals(other.getCheckTime()))
&& (this.getTableCollation() == null ? other.getTableCollation() == null : this.getTableCollation().equals(other.getTableCollation()))
&& (this.getChecksum() == null ? other.getChecksum() == null : this.getChecksum().equals(other.getChecksum()))
&& (this.getCreateOptions() == null ? other.getCreateOptions() == null : this.getCreateOptions().equals(other.getCreateOptions()))
&& (this.getTableComment() == null ? other.getTableComment() == null : this.getTableComment().equals(other.getTableComment()));
}
@Override
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getTableCatalog() == null) ? 0 : getTableCatalog().hashCode());
result = prime * result + ((getTableSchema() == null) ? 0 : getTableSchema().hashCode());
result = prime * result + ((getTableName() == null) ? 0 : getTableName().hashCode());
result = prime * result + ((getTableType() == null) ? 0 : getTableType().hashCode());
result = prime * result + ((getEngine() == null) ? 0 : getEngine().hashCode());
result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode());
result = prime * result + ((getRowFormat() == null) ? 0 : getRowFormat().hashCode());
result = prime * result + ((getTableRows() == null) ? 0 : getTableRows().hashCode());
result = prime * result + ((getAvgRowLength() == null) ? 0 : getAvgRowLength().hashCode());
result = prime * result + ((getDataLength() == null) ? 0 : getDataLength().hashCode());
result = prime * result + ((getMaxDataLength() == null) ? 0 : getMaxDataLength().hashCode());
result = prime * result + ((getIndexLength() == null) ? 0 : getIndexLength().hashCode());
result = prime * result + ((getDataFree() == null) ? 0 : getDataFree().hashCode());
result = prime * result + ((getAutoIncrement() == null) ? 0 : getAutoIncrement().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getCheckTime() == null) ? 0 : getCheckTime().hashCode());
result = prime * result + ((getTableCollation() == null) ? 0 : getTableCollation().hashCode());
result = prime * result + ((getChecksum() == null) ? 0 : getChecksum().hashCode());
result = prime * result + ((getCreateOptions() == null) ? 0 : getCreateOptions().hashCode());
result = prime * result + ((getTableComment() == null) ? 0 : getTableComment().hashCode());
return result;
}
@Override
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", tableCatalog=").append(tableCatalog);
sb.append(", tableSchema=").append(tableSchema);
sb.append(", tableName=").append(tableName);
sb.append(", tableType=").append(tableType);
sb.append(", engine=").append(engine);
sb.append(", version=").append(version);
sb.append(", rowFormat=").append(rowFormat);
sb.append(", tableRows=").append(tableRows);
sb.append(", avgRowLength=").append(avgRowLength);
sb.append(", dataLength=").append(dataLength);
sb.append(", maxDataLength=").append(maxDataLength);
sb.append(", indexLength=").append(indexLength);
sb.append(", dataFree=").append(dataFree);
sb.append(", autoIncrement=").append(autoIncrement);
sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", checkTime=").append(checkTime);
sb.append(", tableCollation=").append(tableCollation);
sb.append(", checksum=").append(checksum);
sb.append(", createOptions=").append(createOptions);
sb.append(", tableComment=").append(tableComment);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}