1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package com.zhitan.realtimedata.config;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.stereotype.Component;
|
| /**
| * @author fanxinfu
| */
| @Data
| @Component
| @ConfigurationProperties(prefix = "rtdb")
| public class RtdbConfig {
|
| public String org;
|
| public String host;
|
| public String token;
|
| public String bucket;
|
| public String measurement;
| }
|
|