All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.tmq.common.domain.ExistsMessage Maven / Gradle / Ivy

package com.alibaba.tmq.common.domain;

import java.util.Date;

/**
 * 存在的消息
 * @author tianyao.myc
 *
 */
public class ExistsMessage {

	public static final int STATUS_ENTER 	= 1;
	public static final int STATUS_EXIT 	= -1;
	
	//进入或者退出状态
	private int status;
	
	//进入或者退出时间
	private Date date;

	public ExistsMessage() {
		
	}
	
	public ExistsMessage(int status, Date date) {
		this.status = status;
		this.date = date;
	}
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "ExistsMessage [status=" + status + ", date=" + date + "]";
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy