package com.reading.platform.common.annotation;

import com.reading.platform.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 {};

}
