①昨天我做了:实现了用户类和题目类的属性编写
最初的设想,后面有所更改。
package com.jaovo.msg.model; public class User { private int u_Id;//编号(数据库自增自减) private String u_Nickname;//昵称(注册时填写) private String u_Name;//姓名(注册可填可不填,但加入小组时一定要填) private String u_Password;//密码 private int u_Type;//类型(0--老师 1--学生 -1--管理员) private String u_Group;//小组 public int getU_Id() { return u_Id; } public void setU_Id(int u_Id) { this.u_Id = u_Id; } public String getU_Nickname() { return u_Nickname; } public void setU_Nickname(String u_Nickname) { this.u_Nickname = u_Nickname; } public String getU_Name() { return u_Name; } public void setU_Name(String u_Name) { this.u_Name = u_Name; } public String getU_Password() { return u_Password; } public void setU_Password(String u_Password) { this.u_Password = u_Password; } public int getU_Type() { return u_Type; } public void setU_Type(int u_Type) { this.u_Type = u_Type; } public String getU_Group() { return u_Group; } public void setU_Group(String u_Group) { this.u_Group = u_Group; } }
package com.jaovo.msg.model; public class Operation { private String [] question; //题目 private String [] correctResult; //正确答案 private String [] InputResult; //输入答案 private int questionNumber; //题目总个数 private String questionType; //题目类型 (练习和作业) public String[] getQuestion() { return question; } public void setQuestion(String[] question) { this.question = question; } public String[] getCorrectResult() { return correctResult; } public void setCorrectResult(String[] correctResult) { this.correctResult = correctResult; } public String[] getInputResult() { return InputResult; } public void setInputResult(String[] inputResult) { InputResult = inputResult; } public int getQuestionNumber() { return questionNumber; } public void setQuestionNumber(int questionNumber) { this.questionNumber = questionNumber; } public String getQuestionType() { return questionType; } public void setQuestionType(String questionType) { this.questionType = questionType; } }
②今天我要做:
管理员目录界面的实现。
遇到了 本界面的参数在本界面使用,然后实现界面跳转 的困难