📄 user.java
字号:
package grad.util.user;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class user { public user() { } private int id=0; //自动编号 String account=""; //用户帐号,老师的帐号为课程编号 String password="";//用户密码 int type=0; //用户类型1-学生,2-老师,3-管理员 String name=""; //用户真实姓名 String sex=""; //用户性别 String college=""; //用户所在学院 String teacher=""; //如果是学生则为 指导教师姓名,否则值为null public void setId(int id) { this.id=id; } public int getId() { return this.id; } public void setAccount(String account) { this.account=account; } public String getAccount() { return this.account; }public void setPassword(String ps){ this.password=ps;}public String getPassword(){ return this.password;}public int getType(){ return this.type;}public void setType(int type){ this.type=type;}public void setName(String name){ this.name=name;}public String getName(){ return this.name;}public void setSex(String sex){ this.sex=sex;}public String getSex(){ return this.sex;}public void setCollege(String college){ this.college=college;}public String getCollege(){ return this.college;}public void setTeacher(String teacher){ this.teacher=teacher;}public String getTeacher(){ return this.teacher;}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -