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

📄 department.java

📁 学生信息管理
💻 JAVA
字号:
/* * Created Sat Jul 09 23:24:39 CST 2005 by MyEclipse Hibernate Tool. */package limq.hibernate.vo;import java.io.Serializable;import java.util.HashSet;import java.util.Set;/** * A class that represents a row in the 'department' table.  * This class may be customized as it is never re-generated  * after being created. */public class Department    extends AbstractDepartment   {    /**     * Simple constructor of Department instances.     */    public Department()    {    }    public Department(Integer id){            super(id);    }    private Set teachers= new HashSet();    private Set students = new HashSet();    private Set courses = new HashSet();    /**     * @return 返回 teacher。     */    public java.util.Set getTeachers() {        return teachers;    }    /**     * @param teacher 要设置的 teacher。     */    public void setTeachers(Set teachers) {        this.teachers = teachers;    }    /**     * @return 返回 students。     */    public Set getStudents() {        return students;    }    /**     * @param students 要设置的 students。     */    public void setStudents(Set students) {        this.students = students;    }    /**     * @return 返回 courses。     */    public Set getCourses() {        return courses;    }    /**     * @param courses 要设置的 courses。     */    public void setCourses(Set courses) {        this.courses = courses;    }}

⌨️ 快捷键说明

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