IotTerminal.java
3.0 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
package com.ruoyi.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
/**
* 终端对象 iot_terminal
*
* @author 钟来
* @date 2022-08-26
*/
@ApiModel("终端")
public class IotTerminal implements Serializable
{
private static final long serialVersionUID = 1L;
/** 网关id */
@ApiModelProperty("网关id")
private String device_id;
/** 主键id */
@ApiModelProperty("主键id")
private String id;
/** 终端名称 */
@ApiModelProperty("终端名称")
private String name;
/** 物模型值 */
@ApiModelProperty("物模型值")
private String things_model_value;
/** 更新时间 */
@ApiModelProperty("更新时间")
private Integer update_time;
@ApiModelProperty("物模型配置")
private String things_model_config; //payload 协议模型
@ApiModelProperty("产品id")
private Integer product_id;
@ApiModelProperty("产品名称")
private String mqtt_username;
public Integer getProduct_id() {
return product_id;
}
public void setProduct_id(Integer product_id) {
this.product_id = product_id;
}
public String getMqtt_username() {
return mqtt_username;
}
public void setMqtt_username(String mqtt_username) {
this.mqtt_username = mqtt_username;
}
public String getThings_model_config() {
return things_model_config;
}
public void setThings_model_config(String things_model_config) {
this.things_model_config = things_model_config;
}
public void setDevice_id(String device_id)
{
this.device_id = device_id;
}
public String getDevice_id()
{
return device_id;
}
public void setId(String id)
{
this.id = id;
}
public String getId()
{
return id;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
public void setThings_model_value(String things_model_value)
{
this.things_model_value = things_model_value;
}
public String getThings_model_value()
{
return things_model_value;
}
public void setUpdate_time(Integer update_time)
{
this.update_time = update_time;
}
public Integer getUpdate_time()
{
return update_time;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("device_id", getDevice_id())
.append("id", getId())
.append("name", getName())
.append("things_model_value", getThings_model_value())
.append("update_time", getUpdate_time())
.append("product_id", getProduct_id())
.append("mqtt_username", getMqtt_username())
.toString();
}
}