empl.java
来自「Hibernate中的映射例子」· Java 代码 · 共 82 行
JAVA
82 行
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 + =
减小字号Ctrl + -
显示快捷键?