-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStaff.java
More file actions
45 lines (34 loc) · 847 Bytes
/
Staff.java
File metadata and controls
45 lines (34 loc) · 847 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
package com.example.fbans.projecthm.utils;
public class Staff {
String name,age,gender,mno;
public Staff(String name, String age, String gender, String mno) {
this.name = name;
this.age = age;
this.gender = gender;
this.mno = mno;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAge() {
return age;
}
public void setAge(String age) {
this.age = age;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getMno() {
return mno;
}
public void setMno(String mno) {
this.mno = mno;
}
}