package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:S_DICT_DATA *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class S_dict_data extends BasePo<S_dict_data> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 用于兼容老写法
|
*/
|
@JsonIgnore
|
public static final S_dict_data ROW_MAPPER = new S_dict_data();
|
|
// 主键
|
private Long dict_code = null;
|
@JsonIgnore
|
protected boolean isset_dict_code = false;
|
|
// 属性列表
|
private Long parent_id = null;
|
@JsonIgnore
|
protected boolean isset_parent_id = false;
|
|
private Integer dict_sort = null;
|
@JsonIgnore
|
protected boolean isset_dict_sort = false;
|
|
private String dict_label = null;
|
@JsonIgnore
|
protected boolean isset_dict_label = false;
|
|
private String dict_value = null;
|
@JsonIgnore
|
protected boolean isset_dict_value = false;
|
|
private String dict_type = null;
|
@JsonIgnore
|
protected boolean isset_dict_type = false;
|
|
private String css_class = null;
|
@JsonIgnore
|
protected boolean isset_css_class = false;
|
|
private String list_class = null;
|
@JsonIgnore
|
protected boolean isset_list_class = false;
|
|
private String is_default = null;
|
@JsonIgnore
|
protected boolean isset_is_default = false;
|
|
private Integer status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private String create_by = null;
|
@JsonIgnore
|
protected boolean isset_create_by = false;
|
|
private Long create_time = null;
|
@JsonIgnore
|
protected boolean isset_create_time = false;
|
|
private String remark = null;
|
@JsonIgnore
|
protected boolean isset_remark = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public S_dict_data() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public S_dict_data(Long dict_code) {
|
this.setDict_code(dict_code);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setDict_code((Long) value);
|
}
|
|
public Long getDict_code() {
|
return this.dict_code;
|
}
|
|
public void setDict_code(Long dict_code) {
|
this.dict_code = dict_code;
|
this.isset_dict_code = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDict_code() {
|
return this.dict_code == null;
|
}
|
|
public Long getParent_id() {
|
return this.parent_id;
|
}
|
|
public void setParent_id(Long parent_id) {
|
this.parent_id = parent_id;
|
this.isset_parent_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyParent_id() {
|
return this.parent_id == null;
|
}
|
|
public Integer getDict_sort() {
|
return this.dict_sort;
|
}
|
|
public void setDict_sort(Integer dict_sort) {
|
this.dict_sort = dict_sort;
|
this.isset_dict_sort = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDict_sort() {
|
return this.dict_sort == null;
|
}
|
|
public String getDict_label() {
|
return this.dict_label;
|
}
|
|
public void setDict_label(String dict_label) {
|
this.dict_label = dict_label;
|
this.isset_dict_label = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDict_label() {
|
return this.dict_label == null || this.dict_label.length() == 0;
|
}
|
|
public String getDict_value() {
|
return this.dict_value;
|
}
|
|
public void setDict_value(String dict_value) {
|
this.dict_value = dict_value;
|
this.isset_dict_value = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDict_value() {
|
return this.dict_value == null || this.dict_value.length() == 0;
|
}
|
|
public String getDict_type() {
|
return this.dict_type;
|
}
|
|
public void setDict_type(String dict_type) {
|
this.dict_type = dict_type;
|
this.isset_dict_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDict_type() {
|
return this.dict_type == null || this.dict_type.length() == 0;
|
}
|
|
public String getCss_class() {
|
return this.css_class;
|
}
|
|
public void setCss_class(String css_class) {
|
this.css_class = css_class;
|
this.isset_css_class = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCss_class() {
|
return this.css_class == null || this.css_class.length() == 0;
|
}
|
|
public String getList_class() {
|
return this.list_class;
|
}
|
|
public void setList_class(String list_class) {
|
this.list_class = list_class;
|
this.isset_list_class = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyList_class() {
|
return this.list_class == null || this.list_class.length() == 0;
|
}
|
|
public String getIs_default() {
|
return this.is_default;
|
}
|
|
public void setIs_default(String is_default) {
|
this.is_default = is_default;
|
this.isset_is_default = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIs_default() {
|
return this.is_default == null || this.is_default.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 String getCreate_by() {
|
return this.create_by;
|
}
|
|
public void setCreate_by(String create_by) {
|
this.create_by = create_by;
|
this.isset_create_by = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreate_by() {
|
return this.create_by == null || this.create_by.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 getRemark() {
|
return this.remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
this.isset_remark = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRemark() {
|
return this.remark == null || this.remark.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("dict_code=").append(this.dict_code)
|
.append("parent_id=").append(this.parent_id)
|
.append("dict_sort=").append(this.dict_sort)
|
.append("dict_label=").append(this.dict_label)
|
.append("dict_value=").append(this.dict_value)
|
.append("dict_type=").append(this.dict_type)
|
.append("css_class=").append(this.css_class)
|
.append("list_class=").append(this.list_class)
|
.append("is_default=").append(this.is_default)
|
.append("status=").append(this.status)
|
.append("create_by=").append(this.create_by)
|
.append("create_time=").append(this.create_time)
|
.append("remark=").append(this.remark)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public S_dict_data $clone() {
|
S_dict_data s_dict_data = new S_dict_data();
|
|
// 数据库名称
|
//s_dict_data.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_dict_code) {
|
s_dict_data.setDict_code(this.getDict_code());
|
}
|
// 普通属性
|
if (this.isset_parent_id) {
|
s_dict_data.setParent_id(this.getParent_id());
|
}
|
if (this.isset_dict_sort) {
|
s_dict_data.setDict_sort(this.getDict_sort());
|
}
|
if (this.isset_dict_label) {
|
s_dict_data.setDict_label(this.getDict_label());
|
}
|
if (this.isset_dict_value) {
|
s_dict_data.setDict_value(this.getDict_value());
|
}
|
if (this.isset_dict_type) {
|
s_dict_data.setDict_type(this.getDict_type());
|
}
|
if (this.isset_css_class) {
|
s_dict_data.setCss_class(this.getCss_class());
|
}
|
if (this.isset_list_class) {
|
s_dict_data.setList_class(this.getList_class());
|
}
|
if (this.isset_is_default) {
|
s_dict_data.setIs_default(this.getIs_default());
|
}
|
if (this.isset_status) {
|
s_dict_data.setStatus(this.getStatus());
|
}
|
if (this.isset_create_by) {
|
s_dict_data.setCreate_by(this.getCreate_by());
|
}
|
if (this.isset_create_time) {
|
s_dict_data.setCreate_time(this.getCreate_time());
|
}
|
if (this.isset_remark) {
|
s_dict_data.setRemark(this.getRemark());
|
}
|
return s_dict_data;
|
}
|
}
|