📄 dept.java
字号:
package yyxtong.hibernate.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* Dept entity.
*
* @author MyEclipse Persistence Tools
*/
public class Dept implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private Integer mgId;
private String phone;
private String fax;
private String mem;
private String del;
private Set pcrooms = new HashSet(0);
private Set emps = new HashSet(0);
// Constructors
/** default constructor */
public Dept() {
}
/** minimal constructor */
public Dept(String phone) {
this.phone = phone;
}
/** full constructor */
public Dept(String name, Integer mgId, String phone, String fax,
String mem, String del, Set pcrooms, Set emps) {
this.name = name;
this.mgId = mgId;
this.phone = phone;
this.fax = fax;
this.mem = mem;
this.del = del;
this.pcrooms = pcrooms;
this.emps = emps;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getMgId() {
return this.mgId;
}
public void setMgId(Integer mgId) {
this.mgId = mgId;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getFax() {
return this.fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public String getMem() {
return this.mem;
}
public void setMem(String mem) {
this.mem = mem;
}
public String getDel() {
return this.del;
}
public void setDel(String del) {
this.del = del;
}
public Set getPcrooms() {
return this.pcrooms;
}
public void setPcrooms(Set pcrooms) {
this.pcrooms = pcrooms;
}
public Set getEmps() {
return this.emps;
}
public void setEmps(Set emps) {
this.emps = emps;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -