?? history.java
字號:
package limq.hibernate.vo;import java.io.Serializable;/** * A class that represents a row in the 'history' table. * This class may be customized as it is never re-generated * after being created. */public class History extends AbstractHistory implements Serializable{ /** * Simple constructor of History instances. */ public History() { } /** * Constructor of History instances given a simple primary key. * @param id */ public History(java.lang.Integer id) { super(id); } /* Add customized code below */ private Students student; private Classes classes; /** * @return 返回 student。 */ public Students getStudent() { return student; } /** * @param student 要設置的 student。 */ public void setStudent(Students student) { this.student = student; } /** * @return 返回 classes。 */ public Classes getClasses() { return classes; } /** * @param classes 要設置的 classes。 */ public void setClasses(Classes classes) { this.classes = classes; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -