📄 employee.java
字号:
package com.parddu.crm.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Employee entity.
*
* @author MyEclipse Persistence Tools
*/
public class Employee implements java.io.Serializable {
// Fields
private Integer empId;
private String empName;
private String empPwd;
private Set empRoles = new HashSet(0);
// Constructors
/** default constructor */
public Employee() {
}
/** minimal constructor */
public Employee(String empName, String empPwd) {
this.empName = empName;
this.empPwd = empPwd;
}
/** full constructor */
public Employee(String empName, String empPwd, Set empRoles) {
this.empName = empName;
this.empPwd = empPwd;
this.empRoles = empRoles;
}
// Property accessors
public Integer getEmpId() {
return this.empId;
}
public void setEmpId(Integer empId) {
this.empId = empId;
}
public String getEmpName() {
return this.empName;
}
public void setEmpName(String empName) {
this.empName = empName;
}
public String getEmpPwd() {
return this.empPwd;
}
public void setEmpPwd(String empPwd) {
this.empPwd = empPwd;
}
public Set getEmpRoles() {
return this.empRoles;
}
public void setEmpRoles(Set empRoles) {
this.empRoles = empRoles;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -