package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:SDC_META_TABLE *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Sdc_meta_table extends BasePo<Sdc_meta_table> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Sdc_meta_table ROW_MAPPER = new Sdc_meta_table();
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String store_id = null;
|
@JsonIgnore
|
protected boolean isset_store_id = false;
|
|
private Long db_id = null;
|
@JsonIgnore
|
protected boolean isset_db_id = false;
|
|
private String table_name = null;
|
@JsonIgnore
|
protected boolean isset_table_name = false;
|
|
private Long row_count = null;
|
@JsonIgnore
|
protected boolean isset_row_count = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Sdc_meta_table() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Sdc_meta_table(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public Long getCreate_time() {
|
return this.create_time;
|
}
|
|
public void setCreate_time(Long create_time) {
|
this.create_time = create_time;
|
this.isset_create_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreate_time() {
|
return this.create_time == null;
|
}
|
|
public String getStore_id() {
|
return this.store_id;
|
}
|
|
public void setStore_id(String store_id) {
|
this.store_id = store_id;
|
this.isset_store_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStore_id() {
|
return this.store_id == null || this.store_id.length() == 0;
|
}
|
|
public Long getDb_id() {
|
return this.db_id;
|
}
|
|
public void setDb_id(Long db_id) {
|
this.db_id = db_id;
|
this.isset_db_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDb_id() {
|
return this.db_id == null;
|
}
|
|
public String getTable_name() {
|
return this.table_name;
|
}
|
|
public void setTable_name(String table_name) {
|
this.table_name = table_name;
|
this.isset_table_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTable_name() {
|
return this.table_name == null || this.table_name.length() == 0;
|
}
|
|
public Long getRow_count() {
|
return this.row_count;
|
}
|
|
public void setRow_count(Long row_count) {
|
this.row_count = row_count;
|
this.isset_row_count = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRow_count() {
|
return this.row_count == null;
|
}
|
|
public String getSummary() {
|
return this.summary;
|
}
|
|
public void setSummary(String summary) {
|
this.summary = summary;
|
this.isset_summary = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySummary() {
|
return this.summary == null || this.summary.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("create_time=").append(this.create_time)
|
.append("store_id=").append(this.store_id)
|
.append("db_id=").append(this.db_id)
|
.append("table_name=").append(this.table_name)
|
.append("row_count=").append(this.row_count)
|
.append("summary=").append(this.summary)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Sdc_meta_table $clone() {
|
Sdc_meta_table sdc_meta_table = new Sdc_meta_table();
|
|
// 数据库名称
|
//sdc_meta_table.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
sdc_meta_table.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
sdc_meta_table.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_store_id) {
|
sdc_meta_table.setStore_id(this.getStore_id());
|
}
|
if (this.isset_db_id) {
|
sdc_meta_table.setDb_id(this.getDb_id());
|
}
|
if (this.isset_table_name) {
|
sdc_meta_table.setTable_name(this.getTable_name());
|
}
|
if (this.isset_row_count) {
|
sdc_meta_table.setRow_count(this.getRow_count());
|
}
|
if (this.isset_summary) {
|
sdc_meta_table.setSummary(this.getSummary());
|
}
|
return sdc_meta_table;
|
}
|
}
|