📄 departments.java
字号:
package com.liu.ems.hibernate;
import java.util.HashSet;
import java.util.Set;
/**
* Departments generated by MyEclipse - Hibernate Tools
*/
public class Departments implements java.io.Serializable {
// Fields
private Long depid;
private String depname;
private Set employeeses = new HashSet(0);
// Constructors
/** default constructor */
public Departments() {
}
/** minimal constructor */
public Departments(String depname) {
this.depname = depname;
}
/** full constructor */
public Departments(String depname, Set employeeses) {
this.depname = depname;
this.employeeses = employeeses;
}
// Property accessors
public Long getDepid() {
return this.depid;
}
public void setDepid(Long depid) {
this.depid = depid;
}
public String getDepname() {
return this.depname;
}
public void setDepname(String depname) {
this.depname = depname;
}
public Set getEmployeeses() {
return this.employeeses;
}
public void setEmployeeses(Set employeeses) {
this.employeeses = employeeses;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -