package fr.zng.xxzx.biz;

import io.netty.channel.Channel;

public class WebSessionDto {

	/**
	 * 通道
	 */
	private Channel channel = null;

	/**
	 * 时间戳
	 */
	private long tempstamp = 0;
	
	
	/**
	 * 设备号
	 */
	private String equipmentCode = "";
	
	/**
	 * 设备号的获取
	 * @return 设备号
	 */
	public String getEquipmentCode() {
		return equipmentCode;
	}

	/**
	 * 设备号的设定
	 * @param equipmentCode 设备号
	 */
	public void setEquipmentCode(String equipmentCode) {
		this.equipmentCode = equipmentCode;
	}

	/**
	 * 通道的获取
	 * @return 通道
	 */
	public Channel getChannel() {
		return channel;
	}

	/**
	 * 通道的设定
	 * @param channel 通道
	 */
	public void setChannel(Channel channel) {
		this.channel = channel;
	}

	/**
	 * 时间戳的获取
	 * @return 时间戳 
	 */
	public long getTempstamp() {
		return tempstamp;
	}

	/**
	 * 时间戳的设定
	 * @param tempstamp 时间戳
	 */
	public void setTempstamp(long tempstamp) {
		this.tempstamp = tempstamp;
	}
}
