All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commons.box.app.annotation.Secs Maven / Gradle / Ivy

The newest version!
package commons.box.app.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于表达权限 其表达式组合多个 Sec 注解
 */
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
public @interface Secs {
    Sec[] value() default {};

    /**
     * 多级权限对应的上级权限
     *
     * @return
     */
    String parent() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy