main
parent
bf3d195fc5
commit
23da15b228
@ -0,0 +1,71 @@
|
||||
package com.cya.entity;
|
||||
|
||||
/**
|
||||
* 学生实体类
|
||||
*/
|
||||
public class Student {
|
||||
|
||||
private int studentId; // 学生ID
|
||||
private String stuNum; // 学号
|
||||
private String password; // 密码
|
||||
private String name; // 姓名
|
||||
private int dormBuildId; // 宿舍楼ID
|
||||
private String dormName; // 宿舍名称
|
||||
private String sex; // 性别
|
||||
private String tel; // 电话号码
|
||||
public int getStudentId() {
|
||||
return studentId;
|
||||
}
|
||||
public void setStudentId(int studentId) {
|
||||
this.studentId = studentId;
|
||||
}
|
||||
public String getStuNum() {
|
||||
return stuNum;
|
||||
}
|
||||
public void setStuNum(String stuNum) {
|
||||
this.stuNum = stuNum;
|
||||
}
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
public int getDormBuildId() {
|
||||
return dormBuildId;
|
||||
}
|
||||
public void setDormBuildId(int dormBuildId) {
|
||||
this.dormBuildId = dormBuildId;
|
||||
}
|
||||
public String getDormName() {
|
||||
return dormName;
|
||||
}
|
||||
public void setDormName(String dormName) {
|
||||
this.dormName = dormName;
|
||||
}
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
public String getTel() {
|
||||
return tel;
|
||||
}
|
||||
public void setTel(String tel) {
|
||||
this.tel = tel;
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Student [studentId=" + studentId + ", stuNum=" + stuNum + ", password=" + password + ", name=" + name
|
||||
+ ", dormBuildId=" + dormBuildId + ", dormName=" + dormName + ", sex=" + sex + ", tel=" + tel + "]";
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in new issue