package com.nbclass.util;
/**
 * @version V1.0
 * @date 2018年7月11日
 * @author superzheng
 */
public class CoreConst {
	
	/**
	 * 用户状态：1有效; 2删除
	 */
    public static final Integer STATUS_VALID	= 1;
    public static final Integer STATUS_INVALID	= 0;
    
    public static Integer TOP_MENU_ID         = 0;
    public static String TOP_MENU_NAME       = "顶层菜单";
    
    
	/** 响应状态码 key **/
	public static final String STATUS = "ret";
	
	/** 成功状态码 **/
	public static final int STATUS_SUCCESS = 0;

	/** 成功消息 **/
	public static final String STATUS_MSG = "操作成功";
	
	/** 失败状态码 **/
	public static final int STATUS_ERROR = -1;
	
	/** 响应消息 key **/
	public static final String MSG = "msg";
	
	/** 响应内容 key **/
	public static final String DATA = "data";
	
	/**
	 * 用户个人权限在session中的key
	 */
	public static final String SESSION_USER = "user";
	
	public static final String SESSION_USER_ID = "userId";
	
	public static final String SESSION_USER_NAME = "userName";
	
	public static final String SESSION_USER_ISADMIN = "userIsAdmin";
	
}
