package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_DIALOG_RUN * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_dialog_run extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private String id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long create_time = null; @JsonIgnore protected boolean isset_create_time = false; private String user_id = null; @JsonIgnore protected boolean isset_user_id = false; private String customer_service = null; @JsonIgnore protected boolean isset_customer_service = false; private Long start_time = null; @JsonIgnore protected boolean isset_start_time = false; private String data = null; @JsonIgnore protected boolean isset_data = false; private Integer uuid = null; @JsonIgnore protected boolean isset_uuid = false; private String dialog_id = null; @JsonIgnore protected boolean isset_dialog_id = false; /** * 默认构造函数 */ public S_dialog_run() { } /** * 根据主键构造对象 */ public S_dialog_run(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 getUser_id() { return this.user_id; } public void setUser_id(String user_id) { this.user_id = user_id; this.isset_user_id = true; } @JsonIgnore public boolean isEmptyUser_id() { return this.user_id == null || this.user_id.length() == 0; } public String getCustomer_service() { return this.customer_service; } public void setCustomer_service(String customer_service) { this.customer_service = customer_service; this.isset_customer_service = true; } @JsonIgnore public boolean isEmptyCustomer_service() { return this.customer_service == null || this.customer_service.length() == 0; } public Long getStart_time() { return this.start_time; } public void setStart_time(Long start_time) { this.start_time = start_time; this.isset_start_time = true; } @JsonIgnore public boolean isEmptyStart_time() { return this.start_time == null; } public String getData() { return this.data; } public void setData(String data) { this.data = data; this.isset_data = true; } @JsonIgnore public boolean isEmptyData() { return this.data == null || this.data.length() == 0; } public Integer getUuid() { return this.uuid; } public void setUuid(Integer uuid) { this.uuid = uuid; this.isset_uuid = true; } @JsonIgnore public boolean isEmptyUuid() { return this.uuid == null; } public String getDialog_id() { return this.dialog_id; } public void setDialog_id(String dialog_id) { this.dialog_id = dialog_id; this.isset_dialog_id = true; } @JsonIgnore public boolean isEmptyDialog_id() { return this.dialog_id == null || this.dialog_id.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("create_time=").append(this.create_time) .append("user_id=").append(this.user_id) .append("customer_service=").append(this.customer_service) .append("start_time=").append(this.start_time) .append("data=").append(this.data) .append("uuid=").append(this.uuid) .append("dialog_id=").append(this.dialog_id) .toString(); } /** * 克隆 */ public S_dialog_run $clone() { S_dialog_run s_dialog_run = new S_dialog_run(); // 数据库名称 //s_dialog_run.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { s_dialog_run.setId(this.getId()); } // 普通属性 if (this.isset_create_time) { s_dialog_run.setCreate_time(this.getCreate_time()); } if (this.isset_user_id) { s_dialog_run.setUser_id(this.getUser_id()); } if (this.isset_customer_service) { s_dialog_run.setCustomer_service(this.getCustomer_service()); } if (this.isset_start_time) { s_dialog_run.setStart_time(this.getStart_time()); } if (this.isset_data) { s_dialog_run.setData(this.getData()); } if (this.isset_uuid) { s_dialog_run.setUuid(this.getUuid()); } if (this.isset_dialog_id) { s_dialog_run.setDialog_id(this.getDialog_id()); } return s_dialog_run; } }