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

📄 empl.java

📁 Hibernate中的映射例子
💻 JAVA
字号:
package test.general.pojo;

/**
 * Empl entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Empl implements java.io.Serializable {

	// Fields

	private Integer id;
//	private String employeeType;
	private String name;
//	private Float rate;
//	private Float salary;

	// Constructors

	/** default constructor */
	public Empl() {
	}

	/** minimal constructor */
	public Empl(Integer id) {
		this.id = id;
	}

	/** full constructor */
//	public Empl(Integer id, String employeeType, String name, Float rate,
//			Float salary) {
//		this.id = id;
//		this.employeeType = employeeType;
//		this.name = name;
//		this.rate = rate;
//		this.salary = salary;
//	}

	// Property accessors

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

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

//	public String getEmployeeType() {
//		return this.employeeType;
//	}
//
//	public void setEmployeeType(String employeeType) {
//		this.employeeType = employeeType;
//	}

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

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

//	public Float getRate() {
//		return this.rate;
//	}
//
//	public void setRate(Float rate) {
//		this.rate = rate;
//	}
//
//	public Float getSalary() {
//		return this.salary;
//	}
//
//	public void setSalary(Float salary) {
//		this.salary = salary;
//	}

}

⌨️ 快捷键说明

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