result.java
来自「j2ee项目应用 使用struts hibernate构建的轻量级j2ee项目」· Java 代码 · 共 70 行
JAVA
70 行
package com.emis.model.vote.hibernate;
import com.emis.model.hr.hibernate.Employee;
/**
* Result generated by MyEclipse - Hibernate Tools
*/
public class Result implements java.io.Serializable {
// Fields
private Integer id;
private Employee employee;
private Choice choice;
// Constructors
/** default constructor */
public Result() {
}
/** full constructor */
public Result(Integer id, Employee employee, Choice choice) {
this.id = id;
this.employee = employee;
this.choice = choice;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Employee getEmployee() {
return this.employee;
}
public void setEmployee(Employee employee) {
this.employee = employee;
}
public Choice getChoice() {
return this.choice;
}
public void setChoice(Choice choice) {
this.choice = choice;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?