classes.java

来自「学校的课程管理及选课系统」· Java 代码 · 共 105 行

JAVA
105
字号
package org.wangsong.domain;

import java.util.HashSet;
import java.util.Set;


/**
 * Classes generated by MyEclipse - Hibernate Tools
 */

public class Classes  implements java.io.Serializable {


    // Fields    

     private String id;
     private Teacher teacher;
     private Course course;
     private String roomId;
     private String courTime;
     private Set enrols = new HashSet(0);


    // Constructors

    /** default constructor */
    public Classes() {
    }

 
    public Classes(String id, Teacher teacher) {
        this.id = id;
        this.teacher = teacher;
    }
    
    
    public Classes(String id, Teacher teacher, Course course, String roomId, String courTime, Set enrols) {
        this.id = id;
        this.teacher = teacher;
        this.course = course;
        this.roomId = roomId;
        this.courTime = courTime;
        this.enrols = enrols;
    }

   
  

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Teacher getTeacher() {
        return this.teacher;
    }
    
    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Course getCourse() {
        return this.course;
    }
    
    public void setCourse(Course course) {
        this.course = course;
    }

    public String getRoomId() {
        return this.roomId;
    }
    
    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getCourTime() {
        return this.courTime;
    }
    
    public void setCourTime(String courTime) {
        this.courTime = courTime;
    }

    public Set getEnrols() {
        return this.enrols;
    }
    
    public void setEnrols(Set enrols) {
        this.enrols = enrols;
    }
   








}

⌨️ 快捷键说明

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