|
|
package com.iplatform.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:S_MENU *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class S_menu extends BasePo<S_menu> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private String menu_id = null;
|
@JsonIgnore
|
protected boolean isset_menu_id = false;
|
|
// 属性列表
|
private String menu_name = null;
|
@JsonIgnore
|
protected boolean isset_menu_name = false;
|
|
private String parent_id = null;
|
@JsonIgnore
|
protected boolean isset_parent_id = false;
|
|
private Integer order_num = null;
|
@JsonIgnore
|
protected boolean isset_order_num = false;
|
|
private String path = null;
|
@JsonIgnore
|
protected boolean isset_path = false;
|
|
private String component = null;
|
@JsonIgnore
|
protected boolean isset_component = false;
|
|
private String query = null;
|
@JsonIgnore
|
protected boolean isset_query = false;
|
|
private Integer is_frame = null;
|
@JsonIgnore
|
protected boolean isset_is_frame = false;
|
|
private Integer is_cache = null;
|
@JsonIgnore
|
protected boolean isset_is_cache = false;
|
|
private String menu_type = null;
|
@JsonIgnore
|
protected boolean isset_menu_type = false;
|
|
private String visible = null;
|
@JsonIgnore
|
protected boolean isset_visible = false;
|
|
private Integer status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private String perms = null;
|
@JsonIgnore
|
protected boolean isset_perms = false;
|
|
private String icon = null;
|
@JsonIgnore
|
protected boolean isset_icon = false;
|
|
private String remark = null;
|
@JsonIgnore
|
protected boolean isset_remark = false;
|
|
private Integer is_show = null;
|
@JsonIgnore
|
protected boolean isset_is_show = false;
|
|
private Integer type = null;
|
@JsonIgnore
|
protected boolean isset_type = false;
|
|
private String icon_info = null;
|
@JsonIgnore
|
protected boolean isset_icon_info = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public S_menu() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public S_menu(String menu_id) {
|
this.setMenu_id(menu_id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setMenu_id((String) value);
|
}
|
|
public String getMenu_id() {
|
return this.menu_id;
|
}
|
public void setMenu_id(String menu_id) {
|
this.menu_id = menu_id;
|
this.isset_menu_id = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyMenu_id() {
|
return this.menu_id == null || this.menu_id.length() == 0;
|
}
|
|
|
public String getMenu_name() {
|
return this.menu_name;
|
}
|
public void setMenu_name(String menu_name) {
|
this.menu_name = menu_name;
|
this.isset_menu_name = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyMenu_name() {
|
return this.menu_name == null || this.menu_name.length() == 0;
|
}
|
|
|
public String getParent_id() {
|
return this.parent_id;
|
}
|
public void setParent_id(String parent_id) {
|
this.parent_id = parent_id;
|
this.isset_parent_id = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyParent_id() {
|
return this.parent_id == null || this.parent_id.length() == 0;
|
}
|
|
|
public Integer getOrder_num() {
|
return this.order_num;
|
}
|
public void setOrder_num(Integer order_num) {
|
this.order_num = order_num;
|
this.isset_order_num = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyOrder_num() {
|
return this.order_num == null;
|
}
|
|
|
public String getPath() {
|
return this.path;
|
}
|
public void setPath(String path) {
|
this.path = path;
|
this.isset_path = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyPath() {
|
return this.path == null || this.path.length() == 0;
|
}
|
|
|
public String getComponent() {
|
return this.component;
|
}
|
public void setComponent(String component) {
|
this.component = component;
|
this.isset_component = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyComponent() {
|
return this.component == null || this.component.length() == 0;
|
}
|
|
|
public String getQuery() {
|
return this.query;
|
}
|
public void setQuery(String query) {
|
this.query = query;
|
this.isset_query = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyQuery() {
|
return this.query == null || this.query.length() == 0;
|
}
|
|
|
public Integer getIs_frame() {
|
return this.is_frame;
|
}
|
public void setIs_frame(Integer is_frame) {
|
this.is_frame = is_frame;
|
this.isset_is_frame = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyIs_frame() {
|
return this.is_frame == null;
|
}
|
|
|
public Integer getIs_cache() {
|
return this.is_cache;
|
}
|
public void setIs_cache(Integer is_cache) {
|
this.is_cache = is_cache;
|
this.isset_is_cache = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyIs_cache() {
|
return this.is_cache == null;
|
}
|
|
|
public String getMenu_type() {
|
return this.menu_type;
|
}
|
public void setMenu_type(String menu_type) {
|
this.menu_type = menu_type;
|
this.isset_menu_type = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyMenu_type() {
|
return this.menu_type == null || this.menu_type.length() == 0;
|
}
|
|
|
public String getVisible() {
|
return this.visible;
|
}
|
public void setVisible(String visible) {
|
this.visible = visible;
|
this.isset_visible = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyVisible() {
|
return this.visible == null || this.visible.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 getPerms() {
|
return this.perms;
|
}
|
public void setPerms(String perms) {
|
this.perms = perms;
|
this.isset_perms = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyPerms() {
|
return this.perms == null || this.perms.length() == 0;
|
}
|
|
|
public String getIcon() {
|
return this.icon;
|
}
|
public void setIcon(String icon) {
|
this.icon = icon;
|
this.isset_icon = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyIcon() {
|
return this.icon == null || this.icon.length() == 0;
|
}
|
|
|
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;
|
}
|
|
|
public Integer getIs_show() {
|
return this.is_show;
|
}
|
public void setIs_show(Integer is_show) {
|
this.is_show = is_show;
|
this.isset_is_show = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyIs_show() {
|
return this.is_show == null;
|
}
|
|
|
public Integer getType() {
|
return this.type;
|
}
|
public void setType(Integer type) {
|
this.type = type;
|
this.isset_type = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyType() {
|
return this.type == null;
|
}
|
|
|
public String getIcon_info() {
|
return this.icon_info;
|
}
|
public void setIcon_info(String icon_info) {
|
this.icon_info = icon_info;
|
this.isset_icon_info = true;
|
}
|
@JsonIgnore
|
public boolean isEmptyIcon_info() {
|
return this.icon_info == null || this.icon_info.length() == 0;
|
}
|
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("menu_id=").append(this.menu_id)
|
.append("menu_name=").append(this.menu_name)
|
.append("parent_id=").append(this.parent_id)
|
.append("order_num=").append(this.order_num)
|
.append("path=").append(this.path)
|
.append("component=").append(this.component)
|
.append("query=").append(this.query)
|
.append("is_frame=").append(this.is_frame)
|
.append("is_cache=").append(this.is_cache)
|
.append("menu_type=").append(this.menu_type)
|
.append("visible=").append(this.visible)
|
.append("status=").append(this.status)
|
.append("perms=").append(this.perms)
|
.append("icon=").append(this.icon)
|
.append("remark=").append(this.remark)
|
.append("is_show=").append(this.is_show)
|
.append("type=").append(this.type)
|
.append("icon_info=").append(this.icon_info)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public S_menu $clone() {
|
S_menu s_menu = new S_menu();
|
|
// 数据库名称
|
//s_menu.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_menu_id) {
|
s_menu.setMenu_id(this.getMenu_id());
|
}
|
// 普通属性
|
if (this.isset_menu_name) {
|
s_menu.setMenu_name(this.getMenu_name());
|
}
|
if (this.isset_parent_id) {
|
s_menu.setParent_id(this.getParent_id());
|
}
|
if (this.isset_order_num) {
|
s_menu.setOrder_num(this.getOrder_num());
|
}
|
if (this.isset_path) {
|
s_menu.setPath(this.getPath());
|
}
|
if (this.isset_component) {
|
s_menu.setComponent(this.getComponent());
|
}
|
if (this.isset_query) {
|
s_menu.setQuery(this.getQuery());
|
}
|
if (this.isset_is_frame) {
|
s_menu.setIs_frame(this.getIs_frame());
|
}
|
if (this.isset_is_cache) {
|
s_menu.setIs_cache(this.getIs_cache());
|
}
|
if (this.isset_menu_type) {
|
s_menu.setMenu_type(this.getMenu_type());
|
}
|
if (this.isset_visible) {
|
s_menu.setVisible(this.getVisible());
|
}
|
if (this.isset_status) {
|
s_menu.setStatus(this.getStatus());
|
}
|
if (this.isset_perms) {
|
s_menu.setPerms(this.getPerms());
|
}
|
if (this.isset_icon) {
|
s_menu.setIcon(this.getIcon());
|
}
|
if (this.isset_remark) {
|
s_menu.setRemark(this.getRemark());
|
}
|
if (this.isset_is_show) {
|
s_menu.setIs_show(this.getIs_show());
|
}
|
if (this.isset_type) {
|
s_menu.setType(this.getType());
|
}
|
if (this.isset_icon_info) {
|
s_menu.setIcon_info(this.getIcon_info());
|
}
|
return s_menu;
|
}
|
}
|