package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:SDC_STORE *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Sdc_store extends BasePo<Sdc_store> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Sdc_store ROW_MAPPER = new Sdc_store();
|
|
// 主键
|
private String id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String create_user = null;
|
@JsonIgnore
|
protected boolean isset_create_user = false;
|
|
private String description = null;
|
@JsonIgnore
|
protected boolean isset_description = false;
|
|
private Integer inner_use = null;
|
@JsonIgnore
|
protected boolean isset_inner_use = false;
|
|
private String type = null;
|
@JsonIgnore
|
protected boolean isset_type = false;
|
|
private Integer database_type = null;
|
@JsonIgnore
|
protected boolean isset_database_type = false;
|
|
private String strategy = null;
|
@JsonIgnore
|
protected boolean isset_strategy = false;
|
|
private Integer deleted = null;
|
@JsonIgnore
|
protected boolean isset_deleted = false;
|
|
private Long update_time = null;
|
@JsonIgnore
|
protected boolean isset_update_time = false;
|
|
private String update_user = null;
|
@JsonIgnore
|
protected boolean isset_update_user = false;
|
|
private String define_name = null;
|
@JsonIgnore
|
protected boolean isset_define_name = false;
|
|
private String select_hosts = null;
|
@JsonIgnore
|
protected boolean isset_select_hosts = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Sdc_store() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Sdc_store(String id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((String) value);
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null || this.id.length() == 0;
|
}
|
|
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 getCreate_user() {
|
return this.create_user;
|
}
|
|
public void setCreate_user(String create_user) {
|
this.create_user = create_user;
|
this.isset_create_user = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreate_user() {
|
return this.create_user == null || this.create_user.length() == 0;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
this.isset_description = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDescription() {
|
return this.description == null || this.description.length() == 0;
|
}
|
|
public Integer getInner_use() {
|
return this.inner_use;
|
}
|
|
public void setInner_use(Integer inner_use) {
|
this.inner_use = inner_use;
|
this.isset_inner_use = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyInner_use() {
|
return this.inner_use == null;
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
this.isset_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyType() {
|
return this.type == null || this.type.length() == 0;
|
}
|
|
public Integer getDatabase_type() {
|
return this.database_type;
|
}
|
|
public void setDatabase_type(Integer database_type) {
|
this.database_type = database_type;
|
this.isset_database_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDatabase_type() {
|
return this.database_type == null;
|
}
|
|
public String getStrategy() {
|
return this.strategy;
|
}
|
|
public void setStrategy(String strategy) {
|
this.strategy = strategy;
|
this.isset_strategy = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStrategy() {
|
return this.strategy == null || this.strategy.length() == 0;
|
}
|
|
public Integer getDeleted() {
|
return this.deleted;
|
}
|
|
public void setDeleted(Integer deleted) {
|
this.deleted = deleted;
|
this.isset_deleted = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDeleted() {
|
return this.deleted == null;
|
}
|
|
public Long getUpdate_time() {
|
return this.update_time;
|
}
|
|
public void setUpdate_time(Long update_time) {
|
this.update_time = update_time;
|
this.isset_update_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdate_time() {
|
return this.update_time == null;
|
}
|
|
public String getUpdate_user() {
|
return this.update_user;
|
}
|
|
public void setUpdate_user(String update_user) {
|
this.update_user = update_user;
|
this.isset_update_user = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdate_user() {
|
return this.update_user == null || this.update_user.length() == 0;
|
}
|
|
public String getDefine_name() {
|
return this.define_name;
|
}
|
|
public void setDefine_name(String define_name) {
|
this.define_name = define_name;
|
this.isset_define_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDefine_name() {
|
return this.define_name == null || this.define_name.length() == 0;
|
}
|
|
public String getSelect_hosts() {
|
return this.select_hosts;
|
}
|
|
public void setSelect_hosts(String select_hosts) {
|
this.select_hosts = select_hosts;
|
this.isset_select_hosts = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySelect_hosts() {
|
return this.select_hosts == null || this.select_hosts.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("create_time=").append(this.create_time)
|
.append("create_user=").append(this.create_user)
|
.append("description=").append(this.description)
|
.append("inner_use=").append(this.inner_use)
|
.append("type=").append(this.type)
|
.append("database_type=").append(this.database_type)
|
.append("strategy=").append(this.strategy)
|
.append("deleted=").append(this.deleted)
|
.append("update_time=").append(this.update_time)
|
.append("update_user=").append(this.update_user)
|
.append("define_name=").append(this.define_name)
|
.append("select_hosts=").append(this.select_hosts)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Sdc_store $clone() {
|
Sdc_store sdc_store = new Sdc_store();
|
|
// 数据库名称
|
//sdc_store.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
sdc_store.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
sdc_store.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_create_user) {
|
sdc_store.setCreate_user(this.getCreate_user());
|
}
|
if (this.isset_description) {
|
sdc_store.setDescription(this.getDescription());
|
}
|
if (this.isset_inner_use) {
|
sdc_store.setInner_use(this.getInner_use());
|
}
|
if (this.isset_type) {
|
sdc_store.setType(this.getType());
|
}
|
if (this.isset_database_type) {
|
sdc_store.setDatabase_type(this.getDatabase_type());
|
}
|
if (this.isset_strategy) {
|
sdc_store.setStrategy(this.getStrategy());
|
}
|
if (this.isset_deleted) {
|
sdc_store.setDeleted(this.getDeleted());
|
}
|
if (this.isset_update_time) {
|
sdc_store.setUpdate_time(this.getUpdate_time());
|
}
|
if (this.isset_update_user) {
|
sdc_store.setUpdate_user(this.getUpdate_user());
|
}
|
if (this.isset_define_name) {
|
sdc_store.setDefine_name(this.getDefine_name());
|
}
|
if (this.isset_select_hosts) {
|
sdc_store.setSelect_hosts(this.getSelect_hosts());
|
}
|
return sdc_store;
|
}
|
}
|