com.base4j.mybatis.config.datasource.DynamicDataSourceProperties Maven / Gradle / Ivy
package com.base4j.mybatis.config.datasource;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.Map;
/**
* Created by 003914[panlc] on 2017-07-25.
*/
@Configuration
@ConfigurationProperties(prefix = "dynamic")
public class DynamicDataSourceProperties {
private Map> datasource;
public Map> getDatasource() {
return datasource;
}
public void setDatasource(Map> datasource) {
this.datasource = datasource;
}
}