
package org.tio.sitexxx.im.common.bs;

import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @author tanyaowu 
 * 2016年9月12日 下午3:09:08
 */
@Data
public class MsgTipNtf implements Serializable {

	private static final long serialVersionUID = -2529865883086901580L;

	public interface Level {
		/**
		 * 友情提醒
		 */
		short INFO = 1;

		/**
		 * 警告
		 */
		short WARN = 2;

		short TIP = 3;
	}

	public interface Code {
		/**
		 * 请登录
		 */
		short PLEASE_LOGIN = 1;

		/**
		 * 其它
		 */
		short OTHER = 99;
	}

	private String msg;

	private short level = Level.INFO;

	private Short code = null;
}
