package com.cim.idm.utils;

public class Constant {

	public static final String USER_COOKIE_TOKEN_NAME = "XSRF-TOKEN";//cookie名称
	
	public static final String HTTP_POST_HEADER_TOKEN = "X-XSRF-TOKEN";//header参数名称
	
	public static final Integer COOKIE_TIMEOUT = -1;//cookie -1表示不会超时,但是关闭浏览器会失效
	
	public static final String WEBSOCKET_USERID = "socketUserID";
	
	public static final String USER_ID = "userID";
	
	public static final String USER_NAME = "userName";//cookie中用户名
	
	public static final String USER_GROUP_NAME = "userGroupName";//cookie中用户组别
	
	public static final String USER_SITE_NAME = "userSiteName";//cookie中用户现地
	
	public static final String USER_UINAME = "uiName";//cookie中用户菜单组
	
	public static final String USER_DEPARTMENT = "userDepartment";//cookie中用户部门编号
	
	public static final String USER_DEPARTMENT_DESC = "userDepartmentDesc";//cookie中用户部门中文名
	
	public static final String USER_FACTORY = "userFactory";//cookie中用户工厂
	
	public static final String USER_LOGIN_TIME = "loginTime";//cookie中用户登录时间
	
	public static final String USER_LANGUAGE = "language";//cookie中用户语言
	
	public static final String DATA_LEVEL = "dataLevel";//cookie中用户数据权限级别
	
	public static final String USER_INFO = "userInfo";
	
	public static final String LOGIN_MESSAGE = "loginMessage";//登录消息
	
	public static final String LOGIN_REPEAT = "loginrepeat";//重复登录
	
	public static final String RETURN_STATUS = "returnstatus";//返回状态
	
	public static final String RESPONSE_STATUS_SUCCESS = "success";
	
	public static final String RESPONSE_STATUS_FAIL = "fail";
}
