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
26
27
| package com.zy.sc.common.properties;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.context.annotation.Configuration;
|
| /**
| * Created by vincent on 2021/10/26
| */
| @Data
| @Configuration
| @ConfigurationProperties(prefix = "mqtt")
| public class MqttProperties {
|
| private String host;
|
| private String username;
|
| private String password;
|
| private String clientId;
|
| private String env;
|
| private Long timeout;
|
| }
|
|