1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package cn.besteam.config;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.stereotype.Component;
|
| /**
| * @author: yanxing
| * @date: 2021-10-15
| * @since v1.0.0
| */
| @Component
| @ConfigurationProperties(prefix = "device")
| @Data
| public class DeviceConfig {
|
| private String baseUrl;
|
| private String userName;
|
| private String password;
|
| }
|
|