
org.nutz.dao.enhance.annotation.CustomProvider Maven / Gradle / Ivy
package org.nutz.dao.enhance.annotation;
import java.lang.annotation.*;
/**
* @author 黄川 [email protected]
* 2021/6/14
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface CustomProvider {
/**
* 指定实现 SQL 查询的静态类
*/
Class> type();
/**
* 指定实现 SQL 查询的静态类中的具体方法名.
* 为空时和接口方法一致
*/
String methodName() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy