me.wuwenbin.modules.scanner.annotation.ResourceScan Maven / Gradle / Ivy
package me.wuwenbin.modules.scanner.annotation;
import java.lang.annotation.*;
/**
* created by Wuwenbin on 2017/9/19 at 9:46
*/
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ResourceScan {
/**
* 资源名称
*
* @return
*/
String value();
/**
* 是否可用,默认可用
*
* @return
*/
boolean enabled() default true;
/**
* 排序字段
*
* @return
*/
int orderIndex() default 0;
/**
* 资源备注说明
*
* @return
*/
String remark() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy