-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstructor.java
More file actions
47 lines (38 loc) · 1.13 KB
/
Instructor.java
File metadata and controls
47 lines (38 loc) · 1.13 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
public class Instructor extends User{
private String instructorName;
private String email;
private String hashedPassword;
// Constructor
public Instructor(int InstructorId, String InstructorName, String email, String hashedPassword) {
this.UserID = InstructorId;
this.instructorName = InstructorName;
this.email = email;
this.hashedPassword = hashedPassword;
}
// Getters
public int getInstructorId() {
return UserID;
}
public String getInstructorName() {
return instructorName;
}
public String getEmail() {
return email;
}
public String getHashedPassword() {
return hashedPassword;
}
// Setters
public void setInstructorId(int InstructorId) {
this.UserID = InstructorId;
}
public void setInstructorName(String InstructorName) {
this.instructorName = InstructorName;
}
public void setEmail(String email) {
this.email = email;
}
public void setHashedPassword(String hashedPassword) {
this.hashedPassword = hashedPassword;
}
}