package com.iplatform.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:S_SCHEDULER * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class S_scheduler extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final S_scheduler ROW_MAPPER = new S_scheduler(); // 主键 private Integer 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 Integer 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 Integer interval_time = null; @JsonIgnore protected boolean isset_interval_time = false; private Integer sleep_time = null; @JsonIgnore protected boolean isset_sleep_time = false; private Integer sleep_option = null; @JsonIgnore protected boolean isset_sleep_option = false; private String period_type = null; @JsonIgnore protected boolean isset_period_type = false; private String time_type = null; @JsonIgnore protected boolean isset_time_type = false; private Integer year = null; @JsonIgnore protected boolean isset_year = false; private Integer month = null; @JsonIgnore protected boolean isset_month = false; private Integer day = null; @JsonIgnore protected boolean isset_day = false; private Integer hour = null; @JsonIgnore protected boolean isset_hour = false; private String ranges = null; @JsonIgnore protected boolean isset_ranges = false; private Long dept = null; @JsonIgnore protected boolean isset_dept = false; private String class_name = null; @JsonIgnore protected boolean isset_class_name = false; private Long pause_time = null; @JsonIgnore protected boolean isset_pause_time = false; private String summary = null; @JsonIgnore protected boolean isset_summary = false; /** * 默认构造函数 */ public S_scheduler() { } /** * 根据主键构造对象 */ public S_scheduler(Integer id) { this.setId(id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setId((Integer) value); } public Integer getId() { return this.id; } public void setId(Integer 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 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 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 Integer getInterval_time() { return this.interval_time; } public void setInterval_time(Integer interval_time) { this.interval_time = interval_time; this.isset_interval_time = true; } @JsonIgnore public boolean isEmptyInterval_time() { return this.interval_time == null; } public Integer getSleep_time() { return this.sleep_time; } public void setSleep_time(Integer sleep_time) { this.sleep_time = sleep_time; this.isset_sleep_time = true; } @JsonIgnore public boolean isEmptySleep_time() { return this.sleep_time == null; } public Integer getSleep_option() { return this.sleep_option; } public void setSleep_option(Integer sleep_option) { this.sleep_option = sleep_option; this.isset_sleep_option = true; } @JsonIgnore public boolean isEmptySleep_option() { return this.sleep_option == null; } public String getPeriod_type() { return this.period_type; } public void setPeriod_type(String period_type) { this.period_type = period_type; this.isset_period_type = true; } @JsonIgnore public boolean isEmptyPeriod_type() { return this.period_type == null || this.period_type.length() == 0; } public String getTime_type() { return this.time_type; } public void setTime_type(String time_type) { this.time_type = time_type; this.isset_time_type = true; } @JsonIgnore public boolean isEmptyTime_type() { return this.time_type == null || this.time_type.length() == 0; } public Integer getYear() { return this.year; } public void setYear(Integer year) { this.year = year; this.isset_year = true; } @JsonIgnore public boolean isEmptyYear() { return this.year == null; } public Integer getMonth() { return this.month; } public void setMonth(Integer month) { this.month = month; this.isset_month = true; } @JsonIgnore public boolean isEmptyMonth() { return this.month == null; } public Integer getDay() { return this.day; } public void setDay(Integer day) { this.day = day; this.isset_day = true; } @JsonIgnore public boolean isEmptyDay() { return this.day == null; } public Integer getHour() { return this.hour; } public void setHour(Integer hour) { this.hour = hour; this.isset_hour = true; } @JsonIgnore public boolean isEmptyHour() { return this.hour == null; } public String getRanges() { return this.ranges; } public void setRanges(String ranges) { this.ranges = ranges; this.isset_ranges = true; } @JsonIgnore public boolean isEmptyRanges() { return this.ranges == null || this.ranges.length() == 0; } public Long getDept() { return this.dept; } public void setDept(Long dept) { this.dept = dept; this.isset_dept = true; } @JsonIgnore public boolean isEmptyDept() { return this.dept == null; } public String getClass_name() { return this.class_name; } public void setClass_name(String class_name) { this.class_name = class_name; this.isset_class_name = true; } @JsonIgnore public boolean isEmptyClass_name() { return this.class_name == null || this.class_name.length() == 0; } public Long getPause_time() { return this.pause_time; } public void setPause_time(Long pause_time) { this.pause_time = pause_time; this.isset_pause_time = true; } @JsonIgnore public boolean isEmptyPause_time() { return this.pause_time == null; } public String getSummary() { return this.summary; } public void setSummary(String summary) { this.summary = summary; this.isset_summary = true; } @JsonIgnore public boolean isEmptySummary() { return this.summary == null || this.summary.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("status=").append(this.status) .append("start_time=").append(this.start_time) .append("end_time=").append(this.end_time) .append("interval_time=").append(this.interval_time) .append("sleep_time=").append(this.sleep_time) .append("sleep_option=").append(this.sleep_option) .append("period_type=").append(this.period_type) .append("time_type=").append(this.time_type) .append("year=").append(this.year) .append("month=").append(this.month) .append("day=").append(this.day) .append("hour=").append(this.hour) .append("ranges=").append(this.ranges) .append("dept=").append(this.dept) .append("class_name=").append(this.class_name) .append("pause_time=").append(this.pause_time) .append("summary=").append(this.summary) .toString(); } /** * 克隆 */ public S_scheduler $clone() { S_scheduler s_scheduler = new S_scheduler(); // 数据库名称 //s_scheduler.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { s_scheduler.setId(this.getId()); } // 普通属性 if (this.isset_create_time) { s_scheduler.setCreate_time(this.getCreate_time()); } if (this.isset_name) { s_scheduler.setName(this.getName()); } if (this.isset_status) { s_scheduler.setStatus(this.getStatus()); } if (this.isset_start_time) { s_scheduler.setStart_time(this.getStart_time()); } if (this.isset_end_time) { s_scheduler.setEnd_time(this.getEnd_time()); } if (this.isset_interval_time) { s_scheduler.setInterval_time(this.getInterval_time()); } if (this.isset_sleep_time) { s_scheduler.setSleep_time(this.getSleep_time()); } if (this.isset_sleep_option) { s_scheduler.setSleep_option(this.getSleep_option()); } if (this.isset_period_type) { s_scheduler.setPeriod_type(this.getPeriod_type()); } if (this.isset_time_type) { s_scheduler.setTime_type(this.getTime_type()); } if (this.isset_year) { s_scheduler.setYear(this.getYear()); } if (this.isset_month) { s_scheduler.setMonth(this.getMonth()); } if (this.isset_day) { s_scheduler.setDay(this.getDay()); } if (this.isset_hour) { s_scheduler.setHour(this.getHour()); } if (this.isset_ranges) { s_scheduler.setRanges(this.getRanges()); } if (this.isset_dept) { s_scheduler.setDept(this.getDept()); } if (this.isset_class_name) { s_scheduler.setClass_name(this.getClass_name()); } if (this.isset_pause_time) { s_scheduler.setPause_time(this.getPause_time()); } if (this.isset_summary) { s_scheduler.setSummary(this.getSummary()); } return s_scheduler; } }