package com.lesingle.edu.common.annotation;

import com.lesingle.edu.common.enums.UserRole;

import java.lang.annotation.*;

/**
 * Require Role Annotation
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequireRole {

    UserRole[] value() default {};

}
