com.base4j.mybatis.config.datasource.DefaultDataSourceProperties Maven / Gradle / Ivy
The newest version!
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 [huangjun] on 2017-07-25.
*/
@Configuration
@ConfigurationProperties(prefix = "default")
public class DefaultDataSourceProperties {
private Map datasource;
public Map getDatasource() {
return datasource;
}
public void setDatasource(Map datasource) {
this.datasource = datasource;
}
}