ClientConfig.java
1.44 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package com.yoho.rfid.model;
/**
*@author chenchao
*@date 2018年1月24日
*/
public class ClientConfig {
private boolean needFilter = true;
private int sendMailBeginHour = 7;
private int sendMailEndHour = 22;
/**
* 客户端关机时间
*/
private int closeHour = 23;
/**
* 客户端开机时间
*/
private int openHour = 9;
public int getSendMailBeginHour() {
return sendMailBeginHour;
}
public void setSendMailBeginHour(int sendMailBeginHour) {
this.sendMailBeginHour = sendMailBeginHour;
}
public int getSendMailEndHour() {
return sendMailEndHour;
}
public void setSendMailEndHour(int sendMailEndHour) {
this.sendMailEndHour = sendMailEndHour;
}
public int getCloseHour() {
return closeHour;
}
public void setCloseHour(int closeHour) {
this.closeHour = closeHour;
}
public int getOpenHour() {
return openHour;
}
public void setOpenHour(int openHour) {
this.openHour = openHour;
}
public boolean isNeedFilter() {
return needFilter;
}
public void setNeedFilter(boolean needFilter) {
this.needFilter = needFilter;
}
@Override
public String toString() {
return "ClientConfig [needFilter=" + needFilter
+ ", sendMailBeginHour=" + sendMailBeginHour
+ ", sendMailEndHour=" + sendMailEndHour + ", closeHour="
+ closeHour + ", openHour=" + openHour + "]";
}
}