package com.starry.common.constant;

/**
 * @author admin 权限相关常量
 */
public class SecurityConstants {
    /**
     * 租户ID字段
     */
    public static final String DETAILS_TENANT_ID = "tenant_id";

    /**
     * 部门ID字段
     */
    public static final String DETAILS_DEPT_ID = "dept_id";

    /**
     * 用户ID字段
     */
    public static final String DETAILS_USER_ID = "user_id";

    /**
     * 用户名字段
     */
    public static final String DETAILS_USERNAME = "username";
    /**
     * 用户标识
     */
    public static final String USER_KEY = "user_key";
    /**
     * 登录用户
     */
    public static final String LOGIN_USER = "login_user";
    /**
     * 角色权限
     */
    public static final String ROLE_PERMISSION = "role_permission";
}
