📄 coursedto.java
字号:
/**
*******************************************************************************
* CourseDto.java
*
* (c) Copyright 2008 Hewlett-Packard Development Company, L.P.
*
*<Program Content>
* System Name : Students Management System
*<Summarize>
* The file includes a class and the class incldes information of the course
* and the class and the teacher.
*<Update Record>
* 2009-4-29 1.00 zhangliy
*******************************************************************************
*/
package com.hp.eds.zhangliyuan.stuMan.dto;
import com.hp.eds.zhangliyuan.stuMan.entity.Classes;
import com.hp.eds.zhangliyuan.stuMan.entity.Course;
import com.hp.eds.zhangliyuan.stuMan.entity.Teacher;
/**
* The class incldes information of the course and the class and the teacher.
*
* @author zhangliy
* @version 1.0
*/
public class CourseDto {
private Course course;
private Classes classInfo;
private Teacher teacher;
/**
* Constructor
*
*/
public CourseDto() {
course=new Course();
classInfo=new Classes();
teacher=new Teacher();
}
/**
* classInfo of get
*
* @return classInfo
*/
public Classes getClassInfo() {
return classInfo;
}
/**
* classInfo of set
*
* @param classInfo
* set {bare_field_name}
*/
public void setClassInfo(Classes classInfo) {
this.classInfo = classInfo;
}
/**
* course of get
*
* @return course
*/
public Course getCourse() {
return course;
}
/**
* course of set
*
* @param course
* set {bare_field_name}
*/
public void setCourse(Course course) {
this.course = course;
}
/**
* teacher of get
*
* @return teacher
*/
public Teacher getTeacher() {
return teacher;
}
/**
* teacher of set
*
* @param teacher
* set {bare_field_name}
*/
public void setTeacher(Teacher teacher) {
this.teacher = teacher;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -