matrix.boot.jdbc.annotation.TargetDataSource Maven / Gradle / Ivy
The newest version!
package matrix.boot.jdbc.annotation;
import java.lang.annotation.*;
/**
* 目标数据源注解
* @author WangCheng
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface TargetDataSource {
/**
* 数据库key名称
*/
String value() default "";
}