package com.crm.gateway.constants;

/**
 * @program: crm-backend
 * @description: 角色相关变量
 * @author: houn
 * @create: 2019-07-24 17:21
 */
public class RoleConstants {

    private final static String PREFIX = "RISK_";

    public final static String ROLE_LOCK = PREFIX + "ROLE_LOCK";

    /**
     * 加锁时间 20秒
     */
    public final static int ROLE_LOCK_ESPIRE_TIME = 20000;

    public final static String ROLE_USER_NODE = PREFIX + "ROLE_USER_NODE_";

    public final static String ROLE_USER_ACTION = PREFIX + "ROLE_USER_ACTION_";

    public final static String ROLE_ADMIN = PREFIX + "ROLE_ADMIN";

}
