📄 courseschedule.java
字号:
/*
* @(#)CourseSchedule.java Sep 8, 2007
* Copyright 2007 qrsx organization, Inc. All rights reserved
*/
package com.qrsx.course.model;
/**
* 课程表实体对象
* Author : 王希涛<br>
* Company : 青软实训<br>
* Version : 1.0<br>
* Date : Sep 8, 2007<br>
*
* @hibernate.class table="CourseSchedule" lazy="false"
*/
public class CourseSchedule {
private String id; //主键
private Team team; //班级
private Course course; //课程
private Teacher teacher; //教师
private String semester; //学期
private Float score; //学分
/**
* @hibernate.many-to-one column="teacherId" class="com.qrsx.course.model.Teacher"
*/
public Teacher getTeacher() {
return teacher;
}
/**
* @hibernate.many-to-one column="courseId" class="com.qrsx.course.model.Course"
*/
public Course getCourse() {
return course;
}
/**
* @hibernate.many-to-one column="teamId" class="com.qrsx.course.model.Team"
*/
public Team getTeam() {
return team;
}
/**
* @hibernate.id
* column="id"
* generator-class="uuid.hex"
*/
public String getId() {
return id;
}
/**
* @hibernate.property
* column="score"
* not-null="false"
*/
public Float getScore() {
return score;
}
/**
* @hibernate.property
* column="semester"
* not-null="false"
*/
public String getSemester() {
return semester;
}
/**
* @param semester the semester to set
*/
public void setSemester(String semester) {
this.semester = semester;
}
/**
* @param course the course to set
*/
public void setCourse(Course course) {
this.course = course;
}
/**
* @param id the id to set
*/
public void setId(String id) {
this.id = id;
}
/**
* @param score the score to set
*/
public void setScore(Float score) {
this.score = score;
}
/**
* @param teacher the teacher to set
*/
public void setTeacher(Teacher teacher) {
this.teacher = teacher;
}
/**
* @param team the team to set
*/
public void setTeam(Team team) {
this.team = team;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -