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

com.base4j.mybatis.config.datasource.ApplicationProperties 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;

/**
 * Created by [huangjun] on 2017-07-27.
 */
@Configuration
@ConfigurationProperties
public class ApplicationProperties {
    private String dataSourcePoolType;
    private String defaultDatasourceId;
    private String automapperLocations;
    private String mybatisMapperGenPath;
    private String mybatisMapperLocations;
    private String idGenModel;

    public String getDataSourcePoolType() {
        return dataSourcePoolType;
    }

    public void setDataSourcePoolType(String dataSourcePoolType) {
        this.dataSourcePoolType = dataSourcePoolType;
    }

    public String getDefaultDatasourceId() {
        return defaultDatasourceId;
    }

    public void setDefaultDatasourceId(String defaultDatasourceId) {
        this.defaultDatasourceId = defaultDatasourceId;
    }

    public String getAutomapperLocations() {
        return automapperLocations;
    }

    public void setAutomapperLocations(String automapperLocations) {
        this.automapperLocations = automapperLocations;
    }

    public String getMybatisMapperGenPath() {
        return mybatisMapperGenPath;
    }

    public void setMybatisMapperGenPath(String mybatisMapperGenPath) {
        this.mybatisMapperGenPath = mybatisMapperGenPath;
    }

    public String getMybatisMapperLocations() {
        return mybatisMapperLocations;
    }

    public void setMybatisMapperLocations(String mybatisMapperLocations) {
        this.mybatisMapperLocations = mybatisMapperLocations;
    }

    public String getIdGenModel() {
        return idGenModel;
    }

    public void setIdGenModel(String idGenModel) {
        this.idGenModel = idGenModel;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy