studentcourse.java
来自「学生选课管理系统 struts hibernate」· Java 代码 · 共 67 行
JAVA
67 行
package com.hibernate;
/**
* StudentCourse generated by MyEclipse - Hibernate Tools
*/
public class StudentCourse implements java.io.Serializable {
// Fields
private Integer id;
private Course course;
private Student student;
// Constructors
/** default constructor */
public StudentCourse() {
}
/** full constructor */
public StudentCourse(Course course, Student student) {
this.course = course;
this.student = student;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Course getCourse() {
return this.course;
}
public void setCourse(Course course) {
this.course = course;
}
public Student getStudent() {
return this.student;
}
public void setStudent(Student student) {
this.student = student;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?