bean_to_student.java

来自「JSP同学录JSP+SQL基于B/S结构」· Java 代码 · 共 116 行

JAVA
116
字号
package bean;
public class Bean_to_student{
  private String user_id;
  //private String password;
  private String name;
  private String age;
  private String sex;
  private String QQ;
  private String MSN;
  private String cellphone;
  private String college;
  private String dorm;
  private String major;
  private String isGraduation;
  private String dorm_phone;
  private String student_sort;
  private String email;
  
public Bean_to_student(){   }
  
  /*public String getPassword(){
    return this.password;	
  	
  }*/
  public String getAge(){
    return this.age;	
  }
  public String getName(){
    return this.name;
  }
  public String getSex(){
    return this.sex;
  }
  public String getMSN(){
    return this.MSN;
  }
  public String getQQ(){
    return this.QQ; 
  }
  public String getEmail(){
    return this.email;
  }
  public String getCellphone(){
    return this.cellphone;
  }
  public String getUser_id(){
    return this.user_id;
  }
  public String getStudent_sort(){
    return this.student_sort;
  }
  public String getIsGraduation(){
   return this.isGraduation;
  }
  public String getMajor(){
   return this.major;
  }
  public String getCollege(){
   return this.college;
  }
  public String getDorm_phone(){
   return this.dorm_phone;
  }
  public String getDorm(){
   return this.dorm;
  }

  
 /* public void setPassword(String c){
    this.password=c;	
  }*/
  public void setAge(String c){
    this.age=c;	
  }
  public void setName(String c){
    this.name=c;
  }
  public void setSex(String c){
    this.sex=c;
  }
  public void setMSN(String c){
    this.MSN=c;
  }
  public void setQQ(String c){
    this.QQ=c;
    }
  public void setEmail(String c){
    this.email=c;
  }
  public void setCellphone(String c){
    this.cellphone=c;
  }
  public void setUser_id(String c){
    this.user_id=c;
  }
  public void setStudent_sort(String c){
    this.student_sort=c;
  }
  public void setIsGraduation(String c){
    this.isGraduation=c;
  }
  public void setMajor(String c){
    this.major=c;
  }
  public void setCollege(String c){
    this.college=c;
  }
  public void setDorm(String c){
    this.dorm=c;
  }
  public void setDorm_phone(String c){
    this.dorm_phone=c;
  }
}

⌨️ 快捷键说明

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