empbean.java

来自「员工管理系统」· Java 代码 · 共 71 行

JAVA
71
字号
package com.yiboit.hhs;

/*
 EMP_ID   NUMBER(4)                              
 EMP_NAME VARCHAR2(30)                           
 EMP_SEX  CHAR(2)               '男'             
 DEPT_ID  NUMBER(2)                              
 SALARY   NUMBER(10,3)  
 */
public class EmpBean {
	private int empId;

	private String empName;

	private String empSex;

	private int deptId;
	
	private String deptName;
	
	private double salary;

	public int getDeptId() {
		return deptId;
	}

	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}

	public int getEmpId() {
		return empId;
	}

	public void setEmpId(int empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpSex() {
		return empSex;
	}

	public void setEmpSex(String empSex) {
		this.empSex = empSex;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
}

⌨️ 快捷键说明

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