package com.chushang.common.mongo;

import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.lang.annotation.*;

/**
 * @author by zhaowenyuan create 2022/7/18 14:41
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableMongoRepositories
@EnableTransactionManagement
public @interface EnableMongo {
}
