package com.njcn.msgpush.module.system.dal.redis;

import com.njcn.msgpush.module.system.dal.dataobject.oauth2.OAuth2AccessTokenDO;

/**
 * System Redis Key 常量。
 */
public interface RedisKeyConstants {

    String DEPT_CHILDREN_ID_LIST = "dept_children_ids";

    String ROLE = "role";

    String USER_ROLE_ID_LIST = "user_role_ids";

    String MENU_ROLE_ID_LIST = "menu_role_ids";

    String PERMISSION_MENU_ID_LIST = "permission_menu_ids";

    String OAUTH_CLIENT = "oauth_client";

    /**
     * KEY: oauth2_access_token:{token}
     * VALUE: {@link OAuth2AccessTokenDO}
     */
    String OAUTH2_ACCESS_TOKEN = "oauth2_access_token:%s";

    String NOTIFY_TEMPLATE = "notify_template";

}
