📄 menuitem.java
字号:
package com.wxd.common.popedom.domain.entity;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class MenuItem implements Serializable {
/** identifier field */
private Integer itemNo;
/** persistent field */
private long parentId;
/** persistent field */
private String text;
/** nullable persistent field */
private String cmdId;
/** persistent field */
private String haschild;
/** persistent field */
private String haspopedom;
/** full constructor */
public MenuItem(long parentId, String text, String cmdId, String haschild, String haspopedom) {
this.parentId = parentId;
this.text = text;
this.cmdId = cmdId;
this.haschild = haschild;
this.haspopedom = haspopedom;
}
/** default constructor */
public MenuItem() {
}
/** minimal constructor */
public MenuItem(long parentId, String text, String haschild, String haspopedom) {
this.parentId = parentId;
this.text = text;
this.haschild = haschild;
this.haspopedom = haspopedom;
}
public Integer getItemNo() {
return this.itemNo;
}
public void setItemNo(Integer itemNo) {
this.itemNo = itemNo;
}
public long getParentId() {
return this.parentId;
}
public void setParentId(long parentId) {
this.parentId = parentId;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public String getCmdId() {
return this.cmdId;
}
public void setCmdId(String cmdId) {
this.cmdId = cmdId;
}
public String getHaschild() {
return this.haschild;
}
public void setHaschild(String haschild) {
this.haschild = haschild;
}
public String getHaspopedom() {
return this.haspopedom;
}
public void setHaspopedom(String haspopedom) {
this.haspopedom = haspopedom;
}
public String toString() {
return new ToStringBuilder(this)
.append("itemNo", getItemNo())
.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -