emp.java

来自「用JSP做界面」· Java 代码 · 共 61 行

JAVA
61
字号
package domain;

import java.util.Date;

public class Emp implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	public Emp() {
	}

	private Integer id;

	private String name;

	private String position;

	private Date hireDate;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}


	public Date getHireDate() {
		return hireDate;
	}

	public void setHireDate(Date hireDate) {
		this.hireDate = hireDate;
	}

	public Emp(Integer id, String name, String position, Date hireDate) {
		super();
		this.id = id;
		this.name = name;
		this.position = position;
		this.hireDate = hireDate;
	}

}

⌨️ 快捷键说明

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