package org.fouram.core.base.constants;

import com.github.binarywang.java.emoji.EmojiConverter;

public final class SysConstants {
	
	public static final EmojiConverter emojiConverter = EmojiConverter.getInstance();

	public static final String LOGIN = "/login_toLogin";
	public static final String MAIN_INDEX = "/main/index";
	public static final String PERMISSION = "PERMISSION"; // 操作权限
	public static final String ADMIN = "admin"; // 管理员
	public static final String DEFAULT_PASSWORD = "123456"; // 初始密码
	
	// session常量
	public interface ConstSession {
		String SESSION_CMS_USER = "SESSION_CMS_USER";
		String SESSION_DATA_LEVEL = "SESSION_DATA_LEVEL";
		String SESSION_MENU_LIST = "SESSION_MENU_LIST";
		String SESSION_MENU_KEY = "SESSION_MENU_KEY";
		String SESSION_MENU_ID = "SESSION_MENU_ID";
		String SESSION_TOKEN = "SESSION_TOKEN";
		String SESSION_COMPANY_NAME = "SESSION_COMPANY_NAME";
		String SESSION_CMS_NAME = "SESSION_CMS_NAME";
	}

	/** 角色数据等级 */
	public interface SysRoleDataLevel {
		String PERSONAL = "personal"; // 个人
		String ALL = "all"; // 所有
	}

	public interface SysUserStatus {
		String QIYONG = "QIYONG";
		String TINGYONG = "TINGYONG";
	}

	public static final String SysDictionaryTypeIndex = "index";
	public static final String SysDictionaryKeyCompanyName = "company_name";
	public static final String SysDictionaryKeyCmsName = "cms_name";
}