com.base4j.mybatis.config.datasource.DefaultDataSourceProperties 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 = "default")
public class DefaultDataSourceProperties {
private Map datasource;
public Map getDatasource() {
return datasource;
}
public void setDatasource(Map datasource) {
this.datasource = datasource;
}
}