package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:RC_TASK_STATUS * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class Rc_task_status extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final Rc_task_status ROW_MAPPER = new Rc_task_status(); // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Long create_time = null; @JsonIgnore protected boolean isset_create_time = false; private String name = null; @JsonIgnore protected boolean isset_name = false; private Long last_value = null; @JsonIgnore protected boolean isset_last_value = false; private String status = null; @JsonIgnore protected boolean isset_status = false; private Long start_time = null; @JsonIgnore protected boolean isset_start_time = false; private Long end_time = null; @JsonIgnore protected boolean isset_end_time = false; private String msg = null; @JsonIgnore protected boolean isset_msg = false; private String task_type = null; @JsonIgnore protected boolean isset_task_type = false; /** * 默认构造函数 */ public Rc_task_status() { } /** * 根据主键构造对象 */ public Rc_task_status(Long id) { this.setId(id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setId(Long.valueOf(String.valueOf(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 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 Long getLast_value() { return this.last_value; } public void setLast_value(Long last_value) { this.last_value = last_value; this.isset_last_value = true; } @JsonIgnore public boolean isEmptyLast_value() { return this.last_value == null; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; this.isset_status = true; } @JsonIgnore public boolean isEmptyStatus() { return this.status == null || this.status.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 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 String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; this.isset_msg = true; } @JsonIgnore public boolean isEmptyMsg() { return this.msg == null || this.msg.length() == 0; } public String getTask_type() { return this.task_type; } public void setTask_type(String task_type) { this.task_type = task_type; this.isset_task_type = true; } @JsonIgnore public boolean isEmptyTask_type() { return this.task_type == null || this.task_type.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("create_time=").append(this.create_time) .append("name=").append(this.name) .append("last_value=").append(this.last_value) .append("status=").append(this.status) .append("start_time=").append(this.start_time) .append("end_time=").append(this.end_time) .append("msg=").append(this.msg) .append("task_type=").append(this.task_type) .toString(); } /** * 克隆 */ public Rc_task_status $clone() { Rc_task_status rc_task_status = new Rc_task_status(); // 数据库名称 //rc_task_status.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { rc_task_status.setId(this.getId()); } // 普通属性 if (this.isset_create_time) { rc_task_status.setCreate_time(this.getCreate_time()); } if (this.isset_name) { rc_task_status.setName(this.getName()); } if (this.isset_last_value) { rc_task_status.setLast_value(this.getLast_value()); } if (this.isset_status) { rc_task_status.setStatus(this.getStatus()); } if (this.isset_start_time) { rc_task_status.setStart_time(this.getStart_time()); } if (this.isset_end_time) { rc_task_status.setEnd_time(this.getEnd_time()); } if (this.isset_msg) { rc_task_status.setMsg(this.getMsg()); } if (this.isset_task_type) { rc_task_status.setTask_type(this.getTask_type()); } return rc_task_status; } }