fun.fengwk.convention4j.springboot.test.starter.snowflake.EnableTestSnowflakeId Maven / Gradle / Ivy
The newest version!
package fun.fengwk.convention4j.springboot.test.starter.snowflake;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
/**
* 使用该注解可以引入雪花id到Spring测试容器中。
*
* @author fengwk
*/
@Import(SnowflakeIdTestConfig.class)
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableTestSnowflakeId {
}