-
Notifications
You must be signed in to change notification settings - Fork 3
/
Teacher.java
162 lines (149 loc) · 3.75 KB
/
Teacher.java
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
package com.model;
import java.sql.Timestamp;
import org.springframework.web.multipart.MultipartFile;
public class Teacher extends Account{
private String id;
private int age;
private String sex;
private String realName;
private String universityId;
private String resDirection;
private String position;
private String picSrc;
private Timestamp requestTime;
private int safetyProblem;
private String safetyAnswer;
private double balance;
//
private MultipartFile pic;
private String hsage;
private String ui;
private int status;
private String provinceId;
//
private String provinceName;
private String universityName;
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
this.provinceName = provinceName;
}
public String getUniversityName() {
return universityName;
}
public void setUniversityName(String universityName) {
this.universityName = universityName;
}
public String getProvinceId() {
return provinceId;
}
public void setProvinceId(String provinceId) {
this.provinceId = provinceId;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String getUi() {
return ui;
}
public void setUi(String ui) {
this.ui = ui;
}
public String getHsage() {
return hsage;
}
public void setHsage(String hsage) {
this.hsage = hsage;
}
public MultipartFile getPic() {
return pic;
}
public void setPic(MultipartFile pic) {
this.pic = pic;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getRealName() {
return realName;
}
public void setRealName(String realName) {
this.realName = realName;
}
public String getUniversityId() {
return universityId;
}
public void setUniversityId(String universityId) {
this.universityId = universityId;
}
public String getResDirection() {
return resDirection;
}
public void setResDirection(String resDirection) {
this.resDirection = resDirection;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public String getPicSrc() {
return picSrc;
}
public void setPicSrc(String picSrc) {
this.picSrc = picSrc;
}
public Timestamp getRequestTime() {
return requestTime;
}
public void setRequestTime(Timestamp requestTime) {
this.requestTime = requestTime;
}
public int getSafetyProblem() {
return safetyProblem;
}
public void setSafetyProblem(int safetyProblem) {
this.safetyProblem = safetyProblem;
}
public String getSafetyAnswer() {
return safetyAnswer;
}
public void setSafetyAnswer(String safetyAnswer) {
this.safetyAnswer = safetyAnswer;
}
public double getBalance() {
return balance;
}
public void setBalance(double balance) {
this.balance = balance;
}
@Override
public String toString() {
return "Teacher [id=" + id + ", age=" + age + ", sex=" + sex + ", realName=" + realName + ", universityId="
+ universityId + ", resDirection=" + resDirection + ", position=" + position + ", picSrc=" + picSrc
+ ", requestTime=" + requestTime + ", safetyProblem=" + safetyProblem + ", safetyAnswer=" + safetyAnswer
+ ", balance=" + balance + ", pic=" + pic + ", hsage=" + hsage + ", ui=" + ui + ", status=" + status
+ ", provinceId=" + provinceId + ", provinceName=" + provinceName + ", universityName=" + universityName
+ "]";
}
}