64850858
2021-07-14 e48ef997c03b49c8090970f5fbb29ce80b0ac6df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.genersoft.iot.vmp.conf;
 
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
 
/**    
 * @Description: 获取数据库配置   
 * @author: swwheihei
 * @date:   2020年5月6日 下午2:46:00     
 */
@Configuration("vmConfig")
public class VManagerConfig {
 
    @Value("${spring.application.database:redis}")
    private String database;
 
 
    public String getDatabase() {
        return database;
    }
 
    public void setDatabase(String database) {
        this.database = database;
    }
}