ClientConfig.java 1.44 KB
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 + "]";
	}
    
    
    
}