
package cn.orionsec.ops.annotation;

import cn.orionsec.ops.constant.user.RoleType;

import java.lang.annotation.*;


@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequireRole {

    /**
     * 所需角色
     * <p>
     * {@link RoleType}
     */
    RoleType[] value();

}
