package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:SDC_META_DB *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Sdc_meta_db extends BasePo<Sdc_meta_db> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Sdc_meta_db ROW_MAPPER = new Sdc_meta_db();
|
|
// 主键
|
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 String database_name = null;
|
@JsonIgnore
|
protected boolean isset_database_name = false;
|
|
private Integer used = null;
|
@JsonIgnore
|
protected boolean isset_used = false;
|
|
private Integer is_using = null;
|
@JsonIgnore
|
protected boolean isset_is_using = false;
|
|
private String host_info = null;
|
@JsonIgnore
|
protected boolean isset_host_info = false;
|
|
private Integer table_count = null;
|
@JsonIgnore
|
protected boolean isset_table_count = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
private String password = null;
|
@JsonIgnore
|
protected boolean isset_password = false;
|
|
private String username = null;
|
@JsonIgnore
|
protected boolean isset_username = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Sdc_meta_db() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Sdc_meta_db(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 String getDatabase_name() {
|
return this.database_name;
|
}
|
|
public void setDatabase_name(String database_name) {
|
this.database_name = database_name;
|
this.isset_database_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDatabase_name() {
|
return this.database_name == null || this.database_name.length() == 0;
|
}
|
|
public Integer getUsed() {
|
return this.used;
|
}
|
|
public void setUsed(Integer used) {
|
this.used = used;
|
this.isset_used = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUsed() {
|
return this.used == null;
|
}
|
|
public Integer getIs_using() {
|
return this.is_using;
|
}
|
|
public void setIs_using(Integer is_using) {
|
this.is_using = is_using;
|
this.isset_is_using = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIs_using() {
|
return this.is_using == null;
|
}
|
|
public String getHost_info() {
|
return this.host_info;
|
}
|
|
public void setHost_info(String host_info) {
|
this.host_info = host_info;
|
this.isset_host_info = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyHost_info() {
|
return this.host_info == null || this.host_info.length() == 0;
|
}
|
|
public Integer getTable_count() {
|
return this.table_count;
|
}
|
|
public void setTable_count(Integer table_count) {
|
this.table_count = table_count;
|
this.isset_table_count = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTable_count() {
|
return this.table_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;
|
}
|
|
public String getPassword() {
|
return this.password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
this.isset_password = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPassword() {
|
return this.password == null || this.password.length() == 0;
|
}
|
|
public String getUsername() {
|
return this.username;
|
}
|
|
public void setUsername(String username) {
|
this.username = username;
|
this.isset_username = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUsername() {
|
return this.username == null || this.username.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("database_name=").append(this.database_name)
|
.append("used=").append(this.used)
|
.append("is_using=").append(this.is_using)
|
.append("host_info=").append(this.host_info)
|
.append("table_count=").append(this.table_count)
|
.append("summary=").append(this.summary)
|
.append("password=").append(this.password)
|
.append("username=").append(this.username)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Sdc_meta_db $clone() {
|
Sdc_meta_db sdc_meta_db = new Sdc_meta_db();
|
|
// 数据库名称
|
//sdc_meta_db.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
sdc_meta_db.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
sdc_meta_db.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_store_id) {
|
sdc_meta_db.setStore_id(this.getStore_id());
|
}
|
if (this.isset_database_name) {
|
sdc_meta_db.setDatabase_name(this.getDatabase_name());
|
}
|
if (this.isset_used) {
|
sdc_meta_db.setUsed(this.getUsed());
|
}
|
if (this.isset_is_using) {
|
sdc_meta_db.setIs_using(this.getIs_using());
|
}
|
if (this.isset_host_info) {
|
sdc_meta_db.setHost_info(this.getHost_info());
|
}
|
if (this.isset_table_count) {
|
sdc_meta_db.setTable_count(this.getTable_count());
|
}
|
if (this.isset_summary) {
|
sdc_meta_db.setSummary(this.getSummary());
|
}
|
if (this.isset_password) {
|
sdc_meta_db.setPassword(this.getPassword());
|
}
|
if (this.isset_username) {
|
sdc_meta_db.setUsername(this.getUsername());
|
}
|
return sdc_meta_db;
|
}
|
}
|