📄 employee.java
字号:
package com.bank.hibernate.pojo;
import java.util.Date;
/**
* Employee generated by MyEclipse Persistence Tools
*/
public class Employee implements java.io.Serializable {
// Fields
private Integer empId;
private Department department;
private String empIds;
private String empName;
private String empGender;
private Date empBirthday;
private String empJobName;
private String empPassword;
// Constructors
/** default constructor */
public Employee() {
}
/** minimal constructor */
public Employee(Integer empId) {
this.empId = empId;
}
/** full constructor */
public Employee(Integer empId, Department department, String empIds,
String empName, String empGender, Date empBirthday,
String empJobName, String empPassword) {
this.empId = empId;
this.department = department;
this.empIds = empIds;
this.empName = empName;
this.empGender = empGender;
this.empBirthday = empBirthday;
this.empJobName = empJobName;
this.empPassword = empPassword;
}
// Property accessors
public Employee( String empIds, Department department,String empName, String empGender, Date empBirthday, String empJobName, String empPassword) {
super();
this.department = department;
this.empIds = empIds;
this.empName = empName;
this.empGender = empGender;
this.empBirthday = empBirthday;
this.empJobName = empJobName;
this.empPassword = empPassword;
}
public Employee(String empName, String empPassword) {
super();
this.empName = empName;
this.empPassword = empPassword;
}
public Employee(int empId, String empIds, Department department,String empName, String empGender, Date empBirthday, String empJobName, String empPassword) {
super();
this.empId = empId;
this.department = department;
this.empIds = empIds;
this.empName = empName;
this.empGender = empGender;
this.empBirthday = empBirthday;
this.empJobName = empJobName;
this.empPassword = empPassword;
}
public Integer getEmpId() {
return this.empId;
}
public void setEmpId(Integer empId) {
this.empId = empId;
}
public Department getDepartment() {
return this.department;
}
public void setDepartment(Department department) {
this.department = department;
}
public String getEmpIds() {
return this.empIds;
}
public void setEmpIds(String empIds) {
this.empIds = empIds;
}
public String getEmpName() {
return this.empName;
}
public void setEmpName(String empName) {
this.empName = empName;
}
public String getEmpGender() {
return this.empGender;
}
public void setEmpGender(String empGender) {
this.empGender = empGender;
}
public Date getEmpBirthday() {
return this.empBirthday;
}
public void setEmpBirthday(Date empBirthday) {
this.empBirthday = empBirthday;
}
public String getEmpJobName() {
return this.empJobName;
}
public void setEmpJobName(String empJobName) {
this.empJobName = empJobName;
}
public String getEmpPassword() {
return this.empPassword;
}
public void setEmpPassword(String empPassword) {
this.empPassword = empPassword;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -