You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.5 KiB
71 lines
1.5 KiB
12 months ago
|
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 + "]";
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|