All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.base4j.mybatis.config.datasource.DefaultDataSourceProperties Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy