forked from Lion-Code-kcfr/LionCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStudent.java
More file actions
47 lines (45 loc) · 1.14 KB
/
Student.java
File metadata and controls
47 lines (45 loc) · 1.14 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
package com.example.lioncode.sec;
public class Student {
private int _id;
private String _studentname;
private String _password;
private String _clockin;
private String _clockout;
public Student() {
}
public Student(int id, String studentname, String password) {
this._id = id;
this._studentname = studentname;
this._password = password;
}
public void setID(int id) {
this._id = id;
}
public int getID() {
return this._id;
}
public void setStudentName(String studentname) {
this._studentname = studentname;
}
public String getStudentName() {
return this._studentname;
}
public void setPassword(String password){
this._password = password;
}
public String getPassword(){
return this._password;
}
public void setClockin(String clockin){
this._clockin = clockin;
}
public String getClockin(){
return this._clockin;
}
public void setClockout(String clockout){
this._clockout = clockout;
}
public String getClockout(){
return this._clockout;
}
}