package com.suning.epp;
// Generated 2011-5-9 13:40:04 by Hibernate Tools 3.3.0.GA
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
* SysTabMenuInfo generated by hbm2java
*/
@Entity
@Table(name = "SYS_TAB_MENU_INFO", schema = "B2CAAS")
public class SysTabMenuInfo implements java.io.Serializable {
private long id;
private String menuId;
private String upmenuId;
private Long parentid;
private String menuName;
private String menuDescript;
private String menuLink;
private int menuLevel;
private Integer openmode;
private String creator;
private String creatorId;
private Date createDate;
private int priority;
public SysTabMenuInfo() {
}
public SysTabMenuInfo(long id, int menuLevel, int priority) {
this.id = id;
this.menuLevel = menuLevel;
this.priority = priority;
}
public SysTabMenuInfo(long id, String menuId, String upmenuId,
Long parentid, String menuName, String menuDescript,
String menuLink, int menuLevel, Integer openmode, String creator,
String creatorId, Date createDate, int priority) {
this.id = id;
this.menuId = menuId;
this.upmenuId = upmenuId;
this.parentid = parentid;
this.menuName = menuName;
this.menuDescript = menuDescript;
this.menuLink = menuLink;
this.menuLevel = menuLevel;
this.openmode = openmode;
this.creator = creator;
this.creatorId = creatorId;
this.createDate = createDate;
this.priority = priority;
}
@Id
@Column(name = "ID", unique = true, nullable = false)
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
@Column(name = "MENU_ID", length = 32)
public String getMenuId() {
return this.menuId;
}
public void setMenuId(String menuId) {
this.menuId = menuId;
}
@Column(name = "UPMENU_ID", length = 32)
public String getUpmenuId() {
return this.upmenuId;
}
public void setUpmenuId(String upmenuId) {
this.upmenuId = upmenuId;
}
@Column(name = "PARENTID")
public Long getParentid() {
return this.parentid;
}
public void setParentid(Long parentid) {
this.parentid = parentid;
}
@Column(name = "MENU_NAME", length = 40)
public String getMenuName() {
return this.menuName;
}
public void setMenuName(String menuName) {
this.menuName = menuName;
}
@Column(name = "MENU_DESCRIPT", length = 200)
public String getMenuDescript() {
return this.menuDescript;
}
public void setMenuDescript(String menuDescript) {
this.menuDescript = menuDescript;
}
@Column(name = "MENU_LINK", length = 300)
public String getMenuLink() {
return this.menuLink;
}
public void setMenuLink(String menuLink) {
this.menuLink = menuLink;
}
@Column(name = "MENU_LEVEL", nullable = false)
public int getMenuLevel() {
return this.menuLevel;
}
public void setMenuLevel(int menuLevel) {
this.menuLevel = menuLevel;
}
@Column(name = "OPENMODE")
public Integer getOpenmode() {
return this.openmode;
}
public void setOpenmode(Integer openmode) {
this.openmode = openmode;
}
@Column(name = "CREATOR", length = 35)
public String getCreator() {
return this.creator;
}
public void setCreator(String creator) {
this.creator = creator;
}
@Column(name = "CREATOR_ID", length = 32)
public String getCreatorId() {
return this.creatorId;
}
public void setCreatorId(String creatorId) {
this.creatorId = creatorId;
}
@Temporal(TemporalType.DATE)
@Column(name = "CREATE_DATE", length = 10)
public Date getCreateDate() {
return this.createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
@Column(name = "PRIORITY", nullable = false)
public int getPriority() {
return this.priority;
}
public void setPriority(int priority) {
this.priority = priority;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
用过myeclipse的人都知道,用数据库表结构生成javabean的orm很简单,也很容易,最近项目采用的是eclipse 也遇到的同样的问题,用数据库表生成dmo对象,经过同事的介绍,给我一个生成的工具的工程,中午休息的时候使用了一下,感觉非常不错,所以分享一下。 1、导入java project (不讲了) 2、安装插件(安装方法我就不细写了) JBoss Tools 3.2.0.M1 详细使用教程见:http://blog.sina.com.cn/s/blog_71b8dd040100rkgr.html
资源推荐
资源详情
资源评论
收起资源包目录
HiberGen.rar (49个子文件)
HiberGen
.project 585B
bin
com
suning
epp
SysTabFunctionRescId.class 2KB
SysTabUser.class 4KB
SysTabFunction.class 3KB
SysTabOrganization.class 2KB
SysTabFunctionRoleRelId.class 1KB
SysTabFunctionRoleRel.class 1KB
SysTabMenuRoleRel.class 1KB
SysTabResc.class 3KB
SysTabRole.class 2KB
SysTabFunctionResc.class 1KB
SysTabUgRoleRelId.class 3KB
SysTabMenuInfo.class 4KB
SysTabUgRoleRel.class 1KB
SysTabMenuRoleRelId.class 1KB
hibernate.cfg.xml 900B
.settings
org.eclipse.jdt.core.prefs 629B
src
com
suning
epp
SysTabUgRoleRel.java 1KB
SysTabFunctionResc.java 1006B
SysTabFunctionRoleRel.java 1KB
SysTabOrganization.java 1KB
SysTabResc.java 3KB
SysTabMenuRoleRelId.java 1KB
SysTabFunction.java 2KB
SysTabMenuRoleRel.java 1KB
SysTabUgRoleRelId.java 3KB
SysTabFunctionRescId.java 2KB
SysTabUser.java 4KB
SysTabRole.java 2KB
SysTabFunctionRoleRelId.java 1KB
SysTabMenuInfo.java 4KB
hibernate.cfg.xml 900B
hibernate.reveng.xml 1012B
hibernate.properties 215B
.classpath 999B
lib
db2jcc.jar 1.01MB
db2jcc_license_cu.jar 1013B
jta-1.1.jar 11KB
db2jcc-9.5.3.jar 2.7MB
cglib-2.2.jar 272KB
db2jcc_license_cisuz.jar 2KB
commons-collections-3.1.jar 546KB
hibernate3.5.1final.jar 3.71MB
javassist-3.9.0.GA.jar 583KB
hibernate-jpa-2.0-api-1.0.0.Final.jar 99KB
dom4j-1.6.1.jar 307KB
slf4j-api-1.5.8.jar 23KB
db2jcc_license_cu-9.5.3.jar 1015B
antlr-2.7.6.jar 433KB
共 49 条
- 1
资源评论
- zhy1042013-06-25下了打开不了hibernate视图,可能是我自己出错了
- qweasdsdf2013-08-30感觉有点小问题啊~~
- kgdwfnyygt2011-10-31可以用,但还有点小小不足,谢谢分享
- hujun0424072015-03-25感觉有问题呀
彳亍籴孑孓
- 粉丝: 6
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功