/**
 * <p>Copyright:Copyright(c) 2017</p>
 * <p>Company:上海中信信息发展股份有限公司</p>
 * <p>包名:com.cesgroup.cesmonitor.bean</p>
 * <p>文件名:NetWorkTraffic.java</p>
 * <p>创建时间:2017年6月12日 上午9:54:45</p>
 * <p>作者:user</p>
 */

package com.cesgroup.cesmonitor.screenbean;

/**
 *
 * @author sl
 * @version 1.0.0 2017年6月12日 大屏展示 网络流量
 */
public class NetWorkTraffic {

    private String name;

    private Long value;

    private String time;

    private String host;

    public NetWorkTraffic() {
        super();
    }

    /**
     * @param host
     *            主机
     * @param value
     *            流量值
     * @param time
     *            时间
     */
    public NetWorkTraffic(final String name, final Long value, final String time, final String host) {
        super();
        this.name = name;
        this.value = value;
        this.time = time;
        this.host = host;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public Long getValue() {
        return value;
    }

    public void setValue(final Long value) {
        this.value = value;
    }

    public String getTime() {
        return time;
    }

    public void setTime(final String time) {
        this.time = time;
    }

    public String getHost() {
        return host;
    }

    public void setHost(final String host) {
        this.host = host;
    }

    @Override
    public String toString() {
        return "NetWorkTraffic [name=" + name + ", value=" + value + ", time=" + time + ",  host=" + host + "]";
    }
}
