资源简介
oems.zip
代码片段和文件信息
package cn.oems.bean;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
/**
* Admin entity. @author MyEclipse Persistence Tools
*/
@Entity
@Table(name = “admin“ catalog = “oems“)
public class Admin implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private String pwd;
private Short role;
private Set labs = new HashSet(0);
private Set tcs = new HashSet(0);
// Constructors
/** default constructor */
public Admin() {
}
/** minimal constructor */
public Admin(String name String pwd Short role) {
this.name = name;
this.pwd = pwd;
this.role = role;
}
/** full constructor */
public Admin(String name String pwd Short role Set labs Set tcs) {
this.name = name;
this.pwd = pwd;
this.role = role;
this.labs = labs;
this.tcs = tcs;
}
// Property accessors
@Id
@GeneratedValue
@Column(name = “id“ unique = true nullable = false)
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
@Column(name = “name“ nullable = false)
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
@Column(name = “pwd“ nullable = false)
public String getPwd() {
return this.pwd;
}
public void setPwd(String pwd) {
this.pwd = pwd;
}
@Column(name = “role“ nullable = false)
public Short getRole() {
return this.role;
}
public void setRole(Short role) {
this.role = role;
}
@OneToMany(cascade = CascadeType.ALL fetch = FetchType.LAZY mappedBy = “admin“)
public Set getLabs() {
return this.labs;
}
public void setLabs(Set labs) {
this.labs = labs;
}
@OneToMany(cascade = CascadeType.ALL fetch = FetchType.LAZY mappedBy = “admin“)
public Set getTcs() {
return this.tcs;
}
public void setTcs(Set tcs) {
this.tcs = tcs;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-05-20 08:27 oems\
文件 9753 2013-05-20 10:18 oems\.classpath
目录 0 2013-05-19 23:23 oems\.myeclipse\
文件 557 2013-06-11 15:41 oems\.myhibernatedata
文件 285 2013-05-20 08:29 oems\.myme
文件 2157 2013-05-20 08:27 oems\.project
目录 0 2013-05-20 08:30 oems\.settings\
文件 500 2013-04-02 15:26 oems\.settings\.jsdtscope
文件 1040 2013-05-20 08:30 oems\.settings\com.genuitec.eclipse.j2eedt.core.prefs
文件 181 2013-05-20 15:13 oems\.settings\org.eclipse.core.resources.prefs
文件 395 2013-04-02 15:26 oems\.settings\org.eclipse.jdt.core.prefs
文件 450 2013-05-20 08:30 oems\.settings\org.eclipse.wst.common.component
文件 252 2013-04-02 15:26 oems\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2013-04-02 15:26 oems\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2013-04-02 15:26 oems\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 474 2013-04-03 10:48 oems\.springBeans
文件 335 2013-05-20 10:27 oems\hibernate.reveng.xm
目录 0 2013-05-20 08:27 oems\src\
目录 0 2013-05-20 08:27 oems\src\cn\
目录 0 2013-05-20 12:41 oems\src\cn\oems\
目录 0 2013-06-11 15:41 oems\src\cn\oems\bean\
文件 2158 2013-05-25 23:18 oems\src\cn\oems\bean\Admin.java
文件 1423 2013-05-25 23:18 oems\src\cn\oems\bean\Course.java
文件 1817 2013-05-25 23:18 oems\src\cn\oems\bean\Department.java
文件 4809 2013-06-14 08:51 oems\src\cn\oems\bean\Experiment.java
文件 2512 2013-06-11 15:12 oems\src\cn\oems\bean\Lab.java
文件 1472 2013-05-25 23:18 oems\src\cn\oems\bean\News.java
文件 2395 2013-06-10 09:17 oems\src\cn\oems\bean\Se.java
文件 2083 2013-05-25 23:18 oems\src\cn\oems\bean\Stu.java
文件 2456 2013-05-25 23:33 oems\src\cn\oems\bean\Tc.java
文件 2176 2013-06-11 15:41 oems\src\cn\oems\bean\Timeset.java
............此处省略1252个文件信息
- 上一篇:eeglab安装包
- 下一篇:图解FANUC PMC编程与应用
相关资源
- Xara3DMaker7.0.0.442.zip
- GBT25070-2019信息安全技术网络安全等级
- 佳顺通用进销存系统pJ.7z
- 深入浅出WebPack_no_bookmark.pdf
- p2pSearcher.rar
- s1987ea_8752885.zip
- VisualAssistX10.9.2333.0.rar
- 现代数字信号处理理论及算法最新.
- TCP-IP详解.rar
- 新浪微博自动推广专家_v2.18.zip
- copytranslator.rar
- 梦昂图文10.1.74.zip
- 信标ok.zip
- company.zip
- Sketch.app.zip
- A_mind_for_numbers(学习之道)美-芭芭拉
- xshell6.zip
- ISO26262-2011完整版最全.rar
- 小猿搜题.zip
- 迅捷PDF6.8版破解.rar
- IAP远程.rar
- 线性代数及其应用英文第四版-Gilb
- CFA2020LevelI-SchweserNotes.zip
- 全国省市县级行政区划及其他SHP文件
- CST天线仿真与工程设计[金明涛][电子
- 数据通信与网络第五版英文版Forouza
- 空间数据分析与R语言实践.pdf
- 计算机组成与设计硬件软件接口原书
- FeedbackControlofDynamicSystems8th.epub
- luac解密工具.zip
评论
共有 条评论