Score.java:
/**
* @Title:Score.java
* @Package:com.you.student.system.model
* @Description:成绩封装类
* @author:Youhaidong(游海东)
* @date:2014-6-18 下午9:53:38
* @version V1.0
*/
package com.you.student.system.model;
import java.io.Serializable;
/**
* 类功能说明
* 类修改者 修改日期
* 修改说明
* <p>Title:Score.java</p>
* <p>Description:游海东个人开发</p>
* <p>Copyright:Copyright(c)2013</p>
* @author:游海东
* @date:2014-6-18 下午9:53:38
* @version V1.0
*/
public class Score implements Serializable
{
/**
* @Fields serialVersionUID:序列化
*/
private static final long serialVersionUID = 1L;
/**
* 学号
*/
private String stuNo;
/**
* 课程号
*/
private String courseNo;
/**
* 成绩
*/
private int grade;
/**
* <p>Title:</p>
* <p>Description:有参构造函数</p>
* @param stuNo
* @param courseNo
* @param grade
*/
public Score(String stuNo, String courseNo, int grade)
{
super();
this.stuNo = stuNo;
this.courseNo = courseNo;
this.grade = grade;
}
/**
* @return the stuNo
*/
public String getStuNo()
{
return stuNo;
}
/**
* @param stuNo the stuNo to set
*/
public void setStuNo(String stuNo)
{
this.stuNo = stuNo;
}
/**
* @return the courseNo
*/
public String getCourseNo()
{
return courseNo;
}
/**
* @param courseNo the courseNo to set
*/
public void setCourseNo(String courseNo)
{
this.courseNo = courseNo;
}
/**
* @return the grade
*/
public int getGrade()
{
return grade;
}
/**
* @param grade the grade to set
*/
public void setGrade(int grade)
{
this.grade = grade;
}
}