⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 employee.java

📁 这是基于jsp的任务管理系统
💻 JAVA
字号:

package cn.project.bit.Object;



public class Employee {
	
	private int employee_id;
	private String employee_name;
	
	private String employee_password;
	
	private String department;
	
	private Employee()
	{
		
	}
	
	private Employee(int manager_id,String manager_name,String manager_password,String department)
	{
		this.employee_id=manager_id;
		
		this.employee_name = manager_name;
		
		this.employee_password = manager_password;
	    this.department=department;
	}
	
	public static Employee getInstance()
	{
		return new Employee();
	}
	
	public static Employee getInstance(int employee_id,String employee_name,String employee_password,String department)
	{
		return new Employee(employee_id,employee_name,employee_password,department);
	}
	
	public void setId(int employee_id)
	{
		this.employee_id = employee_id;
	}
	
	public int getId()
	{
		return this.employee_id;
	}
	
	
	
	public void setEmployeename(String employee_name)
	{
		this.employee_name = employee_name;
	}
	
	public String getEmployeename()
	{
		return this.employee_name;
	}
	
	public void setEmployeepassword(String employee_password)
	{
		this.employee_password = employee_password;
	}
	
	public String getPassword()
	{
		return this.employee_password;
	}

	public void setDepartment(String department)
	{
		this.department = department;
	}
	
	public String getDepartment()
	{
		return this.department;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -