📄 department.java
字号:
package com.pagedemo.model.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Department generated by MyEclipse Persistence Tools
*/
public class Department implements java.io.Serializable {
// Fields
private Integer id;
private String deptName;
private Set persons = new HashSet(0);
// Constructors
/** default constructor */
public Department() {
}
/** minimal constructor */
public Department(String deptName) {
this.deptName = deptName;
}
/** full constructor */
public Department(String deptName, Set persons) {
this.deptName = deptName;
this.persons = persons;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getDeptName() {
return this.deptName;
}
public void setDeptName(String deptName) {
this.deptName = deptName;
}
public Set getPersons() {
return this.persons;
}
public void setPersons(Set persons) {
this.persons = persons;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -