package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_DIALOG_HISTORY * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_dialog_history 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 Long end_time = null; @JsonIgnore protected boolean isset_end_time = false; private Integer uuid = null; @JsonIgnore protected boolean isset_uuid = false; private String terminate_type = null; @JsonIgnore protected boolean isset_terminate_type = false; private Integer evaluation = null; @JsonIgnore protected boolean isset_evaluation = false; /** * 默认构造函数 */ public S_dialog_history() { } /** * 根据主键构造对象 */ public S_dialog_history(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 Long getEnd_time() { return this.end_time; } public void setEnd_time(Long end_time) { this.end_time = end_time; this.isset_end_time = true; } @JsonIgnore public boolean isEmptyEnd_time() { return this.end_time == null; } 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 getTerminate_type() { return this.terminate_type; } public void setTerminate_type(String terminate_type) { this.terminate_type = terminate_type; this.isset_terminate_type = true; } @JsonIgnore public boolean isEmptyTerminate_type() { return this.terminate_type == null || this.terminate_type.length() == 0; } public Integer getEvaluation() { return this.evaluation; } public void setEvaluation(Integer evaluation) { this.evaluation = evaluation; this.isset_evaluation = true; } @JsonIgnore public boolean isEmptyEvaluation() { return this.evaluation == null; } /** * 重写 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("end_time=").append(this.end_time) .append("uuid=").append(this.uuid) .append("terminate_type=").append(this.terminate_type) .append("evaluation=").append(this.evaluation) .toString(); } /** * 克隆 */ public S_dialog_history $clone() { S_dialog_history s_dialog_history = new S_dialog_history(); // 数据库名称 //s_dialog_history.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { s_dialog_history.setId(this.getId()); } // 普通属性 if (this.isset_create_time) { s_dialog_history.setCreate_time(this.getCreate_time()); } if (this.isset_user_id) { s_dialog_history.setUser_id(this.getUser_id()); } if (this.isset_customer_service) { s_dialog_history.setCustomer_service(this.getCustomer_service()); } if (this.isset_start_time) { s_dialog_history.setStart_time(this.getStart_time()); } if (this.isset_data) { s_dialog_history.setData(this.getData()); } if (this.isset_end_time) { s_dialog_history.setEnd_time(this.getEnd_time()); } if (this.isset_uuid) { s_dialog_history.setUuid(this.getUuid()); } if (this.isset_terminate_type) { s_dialog_history.setTerminate_type(this.getTerminate_type()); } if (this.isset_evaluation) { s_dialog_history.setEvaluation(this.getEvaluation()); } return s_dialog_history; } }