首页 > 代码库 > 学生管理系统----学生封装类
学生管理系统----学生封装类
Student.java:
/** * @Title:Student.java * @Package:com.you.student.system.model * @Description:学生信息封装类 * @author:Youhaidong(游海东) * @date:2014-6-16 下午11:00:22 * @version V1.0 */ package com.you.student.system.model; import java.io.Serializable; import java.util.Date; /** * 类功能说明 * 类改动者 改动日期 * 改动说明 * <p>Title:Student.java</p> * <p>Description:游海东个人开发</p> * <p>Copyright:Copyright(c)2013</p> * @author:游海东 * @date:2014-6-16 下午11:00:22 * @version V1.0 */ public class Student implements Serializable { /** * @Fields serialVersionUID:序列化 */ private static final long serialVersionUID = 1L; /** * 学号 */ private String stuNo; /** * 姓名 */ private String stuName; /** * 性别 */ private String stuSex; /** * 出生日期 */ private Date birthday; /** * 专业 */ private String professional; /** * 总学分 */ private double score; /** * 备注 */ private String remarks; /** * 照片 */ private byte[] photo; /** * <p>Title:</p> * <p>Description:无參构造函数</p> */ public Student() { super(); } /** * <p>Title:</p> * <p>Description:</p> * @param stuNo * @param stuName * @param stuSex * @param birthday * @param professional * @param score * @param remarks * @param photo */ public Student(String stuNo, String stuName, String stuSex, Date birthday, String professional, double score, String remarks, byte[] photo) { super(); this.stuNo = stuNo; this.stuName = stuName; this.stuSex = stuSex; this.birthday = birthday; this.professional = professional; this.score = score; this.remarks = remarks; this.photo = photo; } /** * @return the stuNo */ public String getStuNo() { return stuNo; } /** * @param stuNo the stuNo to set */ public void setStuNo(String stuNo) { this.stuNo = stuNo; } /** * @return the stuName */ public String getStuName() { return stuName; } /** * @param stuName the stuName to set */ public void setStuName(String stuName) { this.stuName = stuName; } /** * @return the stuSex */ public String getStuSex() { return stuSex; } /** * @param stuSex the stuSex to set */ public void setStuSex(String stuSex) { this.stuSex = stuSex; } /** * @return the birthday */ public Date getBirthday() { return birthday; } /** * @param birthday the birthday to set */ public void setBirthday(Date birthday) { this.birthday = birthday; } /** * @return the professional */ public String getProfessional() { return professional; } /** * @param professional the professional to set */ public void setProfessional(String professional) { this.professional = professional; } /** * @return the score */ public double getScore() { return score; } /** * @param score the score to set */ public void setScore(double score) { this.score = score; } /** * @return the remarks */ public String getRemarks() { return remarks; } /** * @param remarks the remarks to set */ public void setRemarks(String remarks) { this.remarks = remarks; } /** * @return the photo */ public byte[] getPhoto() { return photo; } /** * @param photo the photo to set */ public void setPhoto(byte[] photo) { this.photo = photo; } }
学生管理系统----学生封装类
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。