📄 menumodel.java
字号:
package com.jdon.cms.model;
import com.jdon.cms.Menu;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Jdon.com Copyright (c) 2003</p>
* <p>Company: </p>
* @author banq
* @version 1.0
*/
public class MenuModel extends BaseModel implements Menu{
private Integer id = null;
private String name = null;
private String icon = null;
private String link = null;
private String dataLink = null;
public MenuModel(){
}
public MenuModel(Integer id){
this.id = id;
setNew(true);
}
public MenuModel(Integer id, String name, String icon, String link, String dataLink) {
this.id = id;
this.name = name;
this.icon = icon;
this.link = link;
this.dataLink = dataLink;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
setModified(true);
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
setModified(true);
}
public String getIcon() {
return this.icon;
}
public void setIcon(String icon) {
this.icon = icon;
setModified(true);
}
public String getLink() {
return this.link;
}
public void setLink(String link) {
this.link = link;
setModified(true);
}
public String getDataLink() {
return this.dataLink;
}
public void setDataLink(String dataLink) {
this.dataLink = dataLink;
setModified(true);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -