package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:S_MESSAGE *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class S_message extends BasePo<S_message> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final S_message ROW_MAPPER = new S_message();
|
|
// 主键
|
private String id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String creator = null;
|
@JsonIgnore
|
protected boolean isset_creator = false;
|
|
private String msg_from = null;
|
@JsonIgnore
|
protected boolean isset_msg_from = false;
|
|
private String receiver = null;
|
@JsonIgnore
|
protected boolean isset_receiver = false;
|
|
private String channel_index = null;
|
@JsonIgnore
|
protected boolean isset_channel_index = false;
|
|
private Integer time_type = null;
|
@JsonIgnore
|
protected boolean isset_time_type = false;
|
|
private Long delayed_time = null;
|
@JsonIgnore
|
protected boolean isset_delayed_time = false;
|
|
private String title = null;
|
@JsonIgnore
|
protected boolean isset_title = false;
|
|
private String content = null;
|
@JsonIgnore
|
protected boolean isset_content = false;
|
|
private Integer broad_cast = null;
|
@JsonIgnore
|
protected boolean isset_broad_cast = false;
|
|
private String option_type = null;
|
@JsonIgnore
|
protected boolean isset_option_type = false;
|
|
private String option_id = null;
|
@JsonIgnore
|
protected boolean isset_option_id = false;
|
|
private Integer read_done = null;
|
@JsonIgnore
|
protected boolean isset_read_done = false;
|
|
private Long read_time = null;
|
@JsonIgnore
|
protected boolean isset_read_time = false;
|
|
private Integer failed = null;
|
@JsonIgnore
|
protected boolean isset_failed = false;
|
|
private String summary = null;
|
@JsonIgnore
|
protected boolean isset_summary = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public S_message() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public S_message(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 getCreator() {
|
return this.creator;
|
}
|
|
public void setCreator(String creator) {
|
this.creator = creator;
|
this.isset_creator = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreator() {
|
return this.creator == null || this.creator.length() == 0;
|
}
|
|
public String getMsg_from() {
|
return this.msg_from;
|
}
|
|
public void setMsg_from(String msg_from) {
|
this.msg_from = msg_from;
|
this.isset_msg_from = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMsg_from() {
|
return this.msg_from == null || this.msg_from.length() == 0;
|
}
|
|
public String getReceiver() {
|
return this.receiver;
|
}
|
|
public void setReceiver(String receiver) {
|
this.receiver = receiver;
|
this.isset_receiver = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyReceiver() {
|
return this.receiver == null || this.receiver.length() == 0;
|
}
|
|
public String getChannel_index() {
|
return this.channel_index;
|
}
|
|
public void setChannel_index(String channel_index) {
|
this.channel_index = channel_index;
|
this.isset_channel_index = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyChannel_index() {
|
return this.channel_index == null || this.channel_index.length() == 0;
|
}
|
|
public Integer getTime_type() {
|
return this.time_type;
|
}
|
|
public void setTime_type(Integer time_type) {
|
this.time_type = time_type;
|
this.isset_time_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTime_type() {
|
return this.time_type == null;
|
}
|
|
public Long getDelayed_time() {
|
return this.delayed_time;
|
}
|
|
public void setDelayed_time(Long delayed_time) {
|
this.delayed_time = delayed_time;
|
this.isset_delayed_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDelayed_time() {
|
return this.delayed_time == null;
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
this.isset_title = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTitle() {
|
return this.title == null || this.title.length() == 0;
|
}
|
|
public String getContent() {
|
return this.content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
this.isset_content = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyContent() {
|
return this.content == null || this.content.length() == 0;
|
}
|
|
public Integer getBroad_cast() {
|
return this.broad_cast;
|
}
|
|
public void setBroad_cast(Integer broad_cast) {
|
this.broad_cast = broad_cast;
|
this.isset_broad_cast = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBroad_cast() {
|
return this.broad_cast == null;
|
}
|
|
public String getOption_type() {
|
return this.option_type;
|
}
|
|
public void setOption_type(String option_type) {
|
this.option_type = option_type;
|
this.isset_option_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOption_type() {
|
return this.option_type == null || this.option_type.length() == 0;
|
}
|
|
public String getOption_id() {
|
return this.option_id;
|
}
|
|
public void setOption_id(String option_id) {
|
this.option_id = option_id;
|
this.isset_option_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOption_id() {
|
return this.option_id == null || this.option_id.length() == 0;
|
}
|
|
public Integer getRead_done() {
|
return this.read_done;
|
}
|
|
public void setRead_done(Integer read_done) {
|
this.read_done = read_done;
|
this.isset_read_done = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRead_done() {
|
return this.read_done == null;
|
}
|
|
public Long getRead_time() {
|
return this.read_time;
|
}
|
|
public void setRead_time(Long read_time) {
|
this.read_time = read_time;
|
this.isset_read_time = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRead_time() {
|
return this.read_time == null;
|
}
|
|
public Integer getFailed() {
|
return this.failed;
|
}
|
|
public void setFailed(Integer failed) {
|
this.failed = failed;
|
this.isset_failed = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFailed() {
|
return this.failed == 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("creator=").append(this.creator)
|
.append("msg_from=").append(this.msg_from)
|
.append("receiver=").append(this.receiver)
|
.append("channel_index=").append(this.channel_index)
|
.append("time_type=").append(this.time_type)
|
.append("delayed_time=").append(this.delayed_time)
|
.append("title=").append(this.title)
|
.append("content=").append(this.content)
|
.append("broad_cast=").append(this.broad_cast)
|
.append("option_type=").append(this.option_type)
|
.append("option_id=").append(this.option_id)
|
.append("read_done=").append(this.read_done)
|
.append("read_time=").append(this.read_time)
|
.append("failed=").append(this.failed)
|
.append("summary=").append(this.summary)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public S_message $clone() {
|
S_message s_message = new S_message();
|
|
// 数据库名称
|
//s_message.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
s_message.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_create_time) {
|
s_message.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_creator) {
|
s_message.setCreator(this.getCreator());
|
}
|
if (this.isset_msg_from) {
|
s_message.setMsg_from(this.getMsg_from());
|
}
|
if (this.isset_receiver) {
|
s_message.setReceiver(this.getReceiver());
|
}
|
if (this.isset_channel_index) {
|
s_message.setChannel_index(this.getChannel_index());
|
}
|
if (this.isset_time_type) {
|
s_message.setTime_type(this.getTime_type());
|
}
|
if (this.isset_delayed_time) {
|
s_message.setDelayed_time(this.getDelayed_time());
|
}
|
if (this.isset_title) {
|
s_message.setTitle(this.getTitle());
|
}
|
if (this.isset_content) {
|
s_message.setContent(this.getContent());
|
}
|
if (this.isset_broad_cast) {
|
s_message.setBroad_cast(this.getBroad_cast());
|
}
|
if (this.isset_option_type) {
|
s_message.setOption_type(this.getOption_type());
|
}
|
if (this.isset_option_id) {
|
s_message.setOption_id(this.getOption_id());
|
}
|
if (this.isset_read_done) {
|
s_message.setRead_done(this.getRead_done());
|
}
|
if (this.isset_read_time) {
|
s_message.setRead_time(this.getRead_time());
|
}
|
if (this.isset_failed) {
|
s_message.setFailed(this.getFailed());
|
}
|
if (this.isset_summary) {
|
s_message.setSummary(this.getSummary());
|
}
|
return s_message;
|
}
|
}
|