forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStuUser.java
More file actions
109 lines (85 loc) · 2.1 KB
/
StuUser.java
File metadata and controls
109 lines (85 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package com.jwy.dto;
public class StuUser implements java.io.Serializable {
private Integer id; //学生编号
private String stuName; //学生姓名
private String stuNo; //学生学号
private Integer specialtyId;//学生所学专业编号
private String stuSex; //学生性别
private String birthday; //学生出生年月日
private String homeAddr; //学生家庭地址
private String tel; //学生电话
private String addr; //学生当前居住地址
// Constructors
/** default constructor */
public StuUser() {
}
/** full constructor */
public StuUser(Integer id, String stuName, String stuNo,
Integer specialtyId, String stuSex, String birthday,
String homeAddr, String tel, String addr) {
this.id = id;
this.stuName = stuName;
this.stuNo = stuNo;
this.specialtyId = specialtyId;
this.stuSex = stuSex;
this.birthday = birthday;
this.homeAddr = homeAddr;
this.tel = tel;
this.addr = addr;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getStuName() {
return this.stuName;
}
public void setStuName(String stuName) {
this.stuName = stuName;
}
public String getStuNo() {
return this.stuNo;
}
public void setStuNo(String stuNo) {
this.stuNo = stuNo;
}
public Integer getSpecialtyId() {
return this.specialtyId;
}
public void setSpecialtyId(Integer specialtyId) {
this.specialtyId = specialtyId;
}
public String getStuSex() {
return this.stuSex;
}
public void setStuSex(String stuSex) {
this.stuSex = stuSex;
}
public String getBirthday() {
return this.birthday;
}
public void setBirthday(String birthday) {
this.birthday = birthday;
}
public String getHomeAddr() {
return this.homeAddr;
}
public void setHomeAddr(String homeAddr) {
this.homeAddr = homeAddr;
}
public String getTel() {
return this.tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getAddr() {
return this.addr;
}
public void setAddr(String addr) {
this.addr = addr;
}
}