package com.bonus.common.security.annotation;

import java.lang.annotation.*;

/**
 * @author wangvivi
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
@Documented
public @interface RequiresPermissionsOrInnerAuth {
    InnerAuth innerAuth() default @InnerAuth(isUser = false);
    RequiresPermissions requiresPermissions() default @RequiresPermissions(value = {});
}

