⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student.java

📁 在线判作业系统
💻 JAVA
字号:
/*
 * Student.java
 *
 * Created on 2007年3月27日, 下午6:05
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package teachmanage.Entities;
import java.sql.*;
import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author Michelle
 */
public class Student
{
      private String Sno="";
      private String Sname="";
      private String DeptId="";
      private String SerId="";
      private String stu_class="";
      private String SBirth="";
      private String SSex="";
      private String ClassId="";
      private String Option="";


      public void Set_Instance(ResultSet rs)
      {
            try
            {
                  this.Sno=rs.getString("Sno");
                  this.Sname=rs.getString("Sname");
                  this.DeptId=rs.getString("DeptId");
                  this.SerId = rs.getString("SerId");
                  this.SBirth = rs.getString("SBirth");
                  this.SSex=rs.getString("SSex");
                  this.ClassId = rs.getString("ClassId");
                  this.Option = rs.getString("Option");
            }
            catch(SQLException e)
            {
                  e.printStackTrace();
            }

      }

      public String GetSno()
      {
            return Sno;
      }
      public String GetSname()
      {
            return Sname;
      }
      public String GetDeptId()
      {
            return DeptId;
      }
      public String GetSerId()
      {
            return SerId;
      }
      public String GetSBirth()
      {
            return SBirth;
      }
      public String GetSSex()
      {
            return SSex;
      }
      public String GetClassId()
      {
            return ClassId;
      }
      public String GetSOption()
      {
            return Option;
      }

      /** Creates a new instance of Student */
      public Student()
      {

      }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -