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

📄 students.java

📁 struts+spring+hibernate的学生管理系统 很适合新手研究
💻 JAVA
字号:
package limq.hibernate.vo;import java.io.Serializable;import java.util.HashSet;import java.util.Set;/** * A class that represents a row in the 'students' table.  * This class may be customized as it is never re-generated  * after being created. */public class Students    extends AbstractStudents    implements Serializable{    /**     * Simple constructor of Students instances.     */    public Students()    {    }    /**     * Constructor of Students instances given a simple primary key.     * @param id     */    public Students(java.lang.Integer id)    {        super(id);    }    /* Add customized code below */        private Set history=new HashSet();    private Contact contact;    private Set classes = new java.util.HashSet();    private Department department;     /**     * @return 返回 contact。     */    public Contact getContact() {        return contact;    }    /**     * @param contact 要设置的 contact。     */    public void setContact(Contact contact) {        this.contact = contact;    }    /**     * @return 返回 classes。     */    public Set getClasses() {        return classes;    }    /**     * @param classes 要设置的 classes。     */    public void setClasses(Set classes) {        this.classes = classes;    }    /**     * @return 返回 history。     */    public Set getHistory() {        return history;    }    /**     * @param history 要设置的 history。     */    public void setHistory(Set history) {        this.history = history;    }    /**     * @return 返回 dapartment。     */    public Department getDepartment() {        return department;    }    /**     * @param dapartment 要设置的 dapartment。     */    public void setDepartment(Department department) {        this.department = department;    }}

⌨️ 快捷键说明

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