dep.java
来自「struts+hibernate做的一个程序」· Java 代码 · 共 58 行
JAVA
58 行
package com.po;
import java.util.HashSet;
import java.util.Set;
/**
* Dep generated by MyEclipse Persistence Tools
*/
public class Dep implements java.io.Serializable {
// Fields
private Integer depid;
private String depname;
private Set emps = new HashSet(0);
// Constructors
/** default constructor */
public Dep() {
}
/** full constructor */
public Dep(String depname, Set emps) {
this.depname = depname;
this.emps = emps;
}
// Property accessors
public Integer getDepid() {
return this.depid;
}
public void setDepid(Integer depid) {
this.depid = depid;
}
public String getDepname() {
return this.depname;
}
public void setDepname(String depname) {
this.depname = depname;
}
public Set getEmps() {
return this.emps;
}
public void setEmps(Set emps) {
this.emps = emps;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?