package org.dromara.common.elasticsearch.config; import org.dromara.easyes.starter.register.EsMapperScan; import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; /** * easy-es 配置 * * @author Lion Li */ @AutoConfiguration @ConditionalOnProperty(value = "easy-es.enable", havingValue = "true") @EsMapperScan("org.dromara.**.esmapper") public class EasyEsConfiguration { }