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


    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;
    	}
    
    }
    


  • 相关阅读:
    Flipping with Physis: Motion Editing for Acrobatics
    Practicle Character Physics For Animators
    html5 files属性
    ASP.NET大文件上传设置。maxRequestLength无效的情况
    elasticsearch
    html用Css来关闭sougou输入框
    模拟form提交
    疯狂的跨域技术
    日志记录用NLog
    备份iis站点信息
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315017.html
Copyright © 2020-2023  润新知