-
Notifications
You must be signed in to change notification settings - Fork 162
/
Reader.java
46 lines (46 loc) · 1.03 KB
/
Reader.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
//package PublicModule;
//Reader.java
public class Reader {
private static String id,readername,readertype,readersex;
private static int max_num,days_num;
public String[] getReaderInformation(){
String[] infor={id,readername,readertype,readersex,String.valueOf(max_num),String.valueOf(days_num)};
return infor;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getReadername() {
return readername;
}
public void setReadername(String readername) {
this.readername = readername;
}
public String getReadertype() {
return readertype;
}
public void setReadertype(String readertype) {
this.readertype = readertype;
}
public String getReaderSex() {
return readersex;
}
public void setReaderSex(String sex) {
this.readersex = sex;
}
public int getMax_num() {
return max_num;
}
public void setMax_num(int max_num) {
this.max_num = max_num;
}
public int getDays_num() {
return days_num;
}
public void setDays_num(int days_num) {
this.days_num = days_num;
}
}