com.github.antelopeframework.mybatis.shard.annotation.DynamicDataSource Maven / Gradle / Ivy
package com.github.antelopeframework.mybatis.shard.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 动态数据源注解.
*
* @author yangzhi.yzh
*
*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface DynamicDataSource {
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy