码迷,mamicode.com
首页 > 其他好文 > 详细

学生管理系统----课程封装类

时间:2014-06-22 22:17:32      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:java web   java   struts2   学生管理系统   

Course.java:


/**
 * @Title:Course.java
 * @Package:com.you.student.system.model
 * @Description:课程封装类
 * @author:Youhaidong(游海东)
 * @date:2014-6-18 下午9:57:47
 * @version V1.0
 */
package com.you.student.system.model;

import java.io.Serializable;

/**
 * 类功能说明
 * 类修改者 修改日期
 * 修改说明
 * <p>Title:Course.java</p>
 * <p>Description:游海东个人开发</p>
 * <p>Copyright:Copyright(c)2013</p>
 * @author:游海东
 * @date:2014-6-18 下午9:57:47
 * @version V1.0
 */
public class Course implements Serializable 
{
	/**
	 * @Fields  serialVersionUID:序列化
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 课程号
	 */
	private String courseNo;
	
	/**
	 * 课程名称
	 */
	private String courseName;
	
	/**
	 * 开课学期
	 */
	private int classSemester;
	
	/**
	 * 学时
	 */
	private int schoolPeriod;
	
	/**
	 * 学分
	 */
	private int classScore;

	/**
	 * <p>Title:</p>
	 * <p>Description:无参构造函数</p>
	 */
	public Course() 
	{
		super();
	}

	/**
	 * <p>Title:</p>
	 * <p>Description:有参构造函数</p>
	 * @param courseNo
	 * @param courseName
	 * @param classSemester
	 * @param schoolPeriod
	 * @param classScore
	 */
	public Course(String courseNo, String courseName, int classSemester,
			int schoolPeriod, int classScore) 
	{
		super();
		this.courseNo = courseNo;
		this.courseName = courseName;
		this.classSemester = classSemester;
		this.schoolPeriod = schoolPeriod;
		this.classScore = classScore;
	}

	/**
	 * @return the courseNo
	 */
	public String getCourseNo() 
	{
		return courseNo;
	}

	/**
	 * @param courseNo the courseNo to set
	 */
	public void setCourseNo(String courseNo) 
	{
		this.courseNo = courseNo;
	}

	/**
	 * @return the courseName
	 */
	public String getCourseName() 
	{
		return courseName;
	}

	/**
	 * @param courseName the courseName to set
	 */
	public void setCourseName(String courseName) 
	{
		this.courseName = courseName;
	}

	/**
	 * @return the classSemester
	 */
	public int getClassSemester() 
	{
		return classSemester;
	}

	/**
	 * @param classSemester the classSemester to set
	 */
	public void setClassSemester(int classSemester) 
	{
		this.classSemester = classSemester;
	}

	/**
	 * @return the schoolPeriod
	 */
	public int getSchoolPeriod() 
	{
		return schoolPeriod;
	}

	/**
	 * @param schoolPeriod the schoolPeriod to set
	 */
	public void setSchoolPeriod(int schoolPeriod) 
	{
		this.schoolPeriod = schoolPeriod;
	}

	/**
	 * @return the classScore
	 */
	public int getClassScore() 
	{
		return classScore;
	}

	/**
	 * @param classScore the classScore to set
	 */
	public void setClassScore(int classScore) 
	{
		this.classScore = classScore;
	}

}


学生管理系统----课程封装类,布布扣,bubuko.com

学生管理系统----课程封装类

标签:java web   java   struts2   学生管理系统   

原文地址:http://blog.csdn.net/you23hai45/article/details/32199507

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!