package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:SDC_GATHER *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class Sdc_gather extends BasePo<Sdc_gather> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final Sdc_gather ROW_MAPPER = new Sdc_gather();
|
|
// 主键
|
private Long 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 name = null;
|
@JsonIgnore
|
protected boolean isset_name = false;
|
|
private String description = null;
|
@JsonIgnore
|
protected boolean isset_description = false;
|
|
private Integer src_type = null;
|
@JsonIgnore
|
protected boolean isset_src_type = false;
|
|
private String src_url = null;
|
@JsonIgnore
|
protected boolean isset_src_url = false;
|
|
private Integer src_port = null;
|
@JsonIgnore
|
protected boolean isset_src_port = false;
|
|
private String src_service = null;
|
@JsonIgnore
|
protected boolean isset_src_service = false;
|
|
private String src_user = null;
|
@JsonIgnore
|
protected boolean isset_src_user = false;
|
|
private String src_pass = null;
|
@JsonIgnore
|
protected boolean isset_src_pass = false;
|
|
private String store_id = null;
|
@JsonIgnore
|
protected boolean isset_store_id = false;
|
|
private Integer status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private Integer schedule_id = null;
|
@JsonIgnore
|
protected boolean isset_schedule_id = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public Sdc_gather() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public Sdc_gather(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 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 getName() {
|
return this.name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
this.isset_name = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyName() {
|
return this.name == null || this.name.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 getSrc_type() {
|
return this.src_type;
|
}
|
|
public void setSrc_type(Integer src_type) {
|
this.src_type = src_type;
|
this.isset_src_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_type() {
|
return this.src_type == null;
|
}
|
|
public String getSrc_url() {
|
return this.src_url;
|
}
|
|
public void setSrc_url(String src_url) {
|
this.src_url = src_url;
|
this.isset_src_url = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_url() {
|
return this.src_url == null || this.src_url.length() == 0;
|
}
|
|
public Integer getSrc_port() {
|
return this.src_port;
|
}
|
|
public void setSrc_port(Integer src_port) {
|
this.src_port = src_port;
|
this.isset_src_port = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_port() {
|
return this.src_port == null;
|
}
|
|
public String getSrc_service() {
|
return this.src_service;
|
}
|
|
public void setSrc_service(String src_service) {
|
this.src_service = src_service;
|
this.isset_src_service = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_service() {
|
return this.src_service == null || this.src_service.length() == 0;
|
}
|
|
public String getSrc_user() {
|
return this.src_user;
|
}
|
|
public void setSrc_user(String src_user) {
|
this.src_user = src_user;
|
this.isset_src_user = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_user() {
|
return this.src_user == null || this.src_user.length() == 0;
|
}
|
|
public String getSrc_pass() {
|
return this.src_pass;
|
}
|
|
public void setSrc_pass(String src_pass) {
|
this.src_pass = src_pass;
|
this.isset_src_pass = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySrc_pass() {
|
return this.src_pass == null || this.src_pass.length() == 0;
|
}
|
|
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 Integer getStatus() {
|
return this.status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
this.isset_status = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStatus() {
|
return this.status == null;
|
}
|
|
public Integer getSchedule_id() {
|
return this.schedule_id;
|
}
|
|
public void setSchedule_id(Integer schedule_id) {
|
this.schedule_id = schedule_id;
|
this.isset_schedule_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySchedule_id() {
|
return this.schedule_id == null;
|
}
|
|
/**
|
* 重写 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("name=").append(this.name)
|
.append("description=").append(this.description)
|
.append("src_type=").append(this.src_type)
|
.append("src_url=").append(this.src_url)
|
.append("src_port=").append(this.src_port)
|
.append("src_service=").append(this.src_service)
|
.append("src_user=").append(this.src_user)
|
.append("src_pass=").append(this.src_pass)
|
.append("store_id=").append(this.store_id)
|
.append("status=").append(this.status)
|
.append("schedule_id=").append(this.schedule_id)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public Sdc_gather $clone() {
|
Sdc_gather sdc_gather = new Sdc_gather();
|
|
// 数据库名称
|
//sdc_gather.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
sdc_gather.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
sdc_gather.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_create_user) {
|
sdc_gather.setCreate_user(this.getCreate_user());
|
}
|
if (this.isset_name) {
|
sdc_gather.setName(this.getName());
|
}
|
if (this.isset_description) {
|
sdc_gather.setDescription(this.getDescription());
|
}
|
if (this.isset_src_type) {
|
sdc_gather.setSrc_type(this.getSrc_type());
|
}
|
if (this.isset_src_url) {
|
sdc_gather.setSrc_url(this.getSrc_url());
|
}
|
if (this.isset_src_port) {
|
sdc_gather.setSrc_port(this.getSrc_port());
|
}
|
if (this.isset_src_service) {
|
sdc_gather.setSrc_service(this.getSrc_service());
|
}
|
if (this.isset_src_user) {
|
sdc_gather.setSrc_user(this.getSrc_user());
|
}
|
if (this.isset_src_pass) {
|
sdc_gather.setSrc_pass(this.getSrc_pass());
|
}
|
if (this.isset_store_id) {
|
sdc_gather.setStore_id(this.getStore_id());
|
}
|
if (this.isset_status) {
|
sdc_gather.setStatus(this.getStatus());
|
}
|
if (this.isset_schedule_id) {
|
sdc_gather.setSchedule_id(this.getSchedule_id());
|
}
|
return sdc_gather;
|
}
|
}
|