-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.java
More file actions
48 lines (34 loc) · 875 Bytes
/
User.java
File metadata and controls
48 lines (34 loc) · 875 Bytes
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
package connectMongoDB;
public class User {
String Student_ID;
String Student_Name;
String Student_DOB;
public User(){}
public User(String stName, String stID){
this.Student_Name = stName;
this.Student_ID = stID;
}
public User(String stName, String stID, String stDOB){
this.Student_Name = stName;
this.Student_ID = stID;
this.Student_DOB = stDOB;
}
public String getStName() {
return Student_Name;
}
public void setStName(String stName) {
this.Student_Name = stName;
}
public String getStID() {
return Student_ID;
}
public void setStID(String stID) {
this.Student_ID= stID;
}
public String getStDOB() {
return Student_DOB;
}
public void setStDOB(String stDOB) {
this.Student_DOB = stDOB;
}
}