student.java
来自「我们采用了JSP技术为主要手段,本系统采用了多级角色管理:包括系统管理员、系主任」· Java 代码 · 共 61 行
JAVA
61 行
package com.middle.graduate.biz.entity;
public class Student {
private Integer studentId;
private String studentName;
private String password;
private String classes;
private String department;
private Topic topic;
public Student() {
super();
}
public Student(String studentName, String password, String classes, String department) {
super();
this.studentName = studentName;
this.password = password;
this.classes = classes;
this.department = department;
}
public String getClasses() {
return classes;
}
public void setClasses(String classes) {
this.classes = classes;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public Integer getStudentId() {
return studentId;
}
public void setStudentId(Integer studentId) {
this.studentId = studentId;
}
public String getStudentName() {
return studentName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public void setStudentName(String studentName) {
this.studentName = studentName;
}
public Topic getTopic() {
return topic;
}
public void setTopic(Topic topic) {
// if(topic == null) {
// topic = new Topic();
// }
this.topic = topic;
topic.setStudent(this);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?