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
28
29
| package com.dji.sample.component.mqtt.model;
|
| import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
| import lombok.Data;
|
| /**
| * The data format of the state topic.
| * @author sean.zhou
| * @date 2021/11/17
| * @version 0.1
| */
| @Data
| @JsonIgnoreProperties(ignoreUnknown = true)
| public class TopicStateReceiver<T> {
|
| private String tid;
|
| private String bid;
|
| private Long timestamp;
|
| /**
| * The sn of the gateway device.
| */
| private String gateway;
|
| private T data;
|
| }
|
|