📄 employee.java
字号:
package com.buat.hr.employee;
import java.sql.Date;
public class Employee {
private int employeeId=0; //数据库流水号
private String name=null; //员工姓名
private String major=null; //专业
private String gender=null; //员工性别
private Date birthday=null; //员工出生日期
private Date jointime=null; //员工入职时间
private int departmentId=0; //员工所在部门编号
public int getEmployeeId() {
return employeeId;
}
public void setEmployeeId(int employeeId) {
this.employeeId = employeeId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMajor() {
return major;
}
public void setMajor(String major) {
this.major = major;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public Date getJointime() {
return jointime;
}
public void setJointime(Date jointime) {
this.jointime = jointime;
}
public int getDepartmentId() {
return departmentId;
}
public void setDepartmentId(int departmentId) {
this.departmentId = departmentId;
}
/*public Employee(int employeeId, String name, String major, String gender,
Date birthday, Date jointime, int departmentId) {
super();
this.employeeId = employeeId;
this.name = name;
this.major = major;
this.gender = gender;
this.birthday = birthday;
this.jointime = jointime;
this.departmentId = departmentId;
}*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -