yeg
2026-08-30 20b346ef9d4fcbbbe05abfe08e4f4f0303b0812e
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
package com.ruoyi.system.domain;
 
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 采集器对象 t_collector。
 *
 * @author ruoyi
 */
public class TCollector extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 采集器主键 */
    private Long collectorId;
 
    /** 设备综合查询条件 */
    private String device;
 
    /** 创建时间起始值 */
    private String beginCreateTime;
 
    /** 创建时间结束值 */
    private String endCreateTime;
 
    /** 设备编码 */
    @NotBlank(message = "设备编码不能为空")
    @Size(max = 64, message = "设备编码长度不能超过64个字符")
    private String collectorCode;
 
    /** IP 地址 */
    @NotBlank(message = "IP地址不能为空")
    @Size(max = 45, message = "IP地址长度不能超过45个字符")
    private String ipAddress;
 
    /** MAC 地址 */
    @NotBlank(message = "MAC地址不能为空")
    @Size(max = 17, message = "MAC地址长度不能超过17个字符")
    private String macAddress;
 
    /** 采集器名称 */
    @NotBlank(message = "采集器名称不能为空")
    @Size(max = 100, message = "采集器名称长度不能超过100个字符")
    private String collectorName;
 
    /** 制造商 */
    @Size(max = 100, message = "制造商长度不能超过100个字符")
    private String manufacturer;
 
    /** 型号 */
    @Size(max = 100, message = "型号长度不能超过100个字符")
    private String model;
 
    /** 通道数 */
    @NotNull(message = "通道数不能为空")
    @Min(value = 1, message = "通道数不能小于1")
    @Max(value = 10000, message = "通道数不能大于10000")
    private Integer channelCount;
 
    /** 在线状态:0离线、1在线 */
    private String onlineStatus;
 
    /** 测试状态:0未测试、1测试中 */
    private String testStatus;
 
    /** 当前测试 */
    private String currentTest;
 
    /** 当前样品名称 */
    private String currentSampleName;
 
    /** 状态:0启用、1禁用 */
    private String status;
 
    /** 逻辑删除标识:0正常,其他值表示已删除 */
    private String delFlag;
 
    public Long getCollectorId()
    {
        return collectorId;
    }
 
    public void setCollectorId(Long collectorId)
    {
        this.collectorId = collectorId;
    }
 
    public String getDevice()
    {
        return device;
    }
 
    public void setDevice(String device)
    {
        this.device = device;
    }
 
    public String getBeginCreateTime()
    {
        return beginCreateTime;
    }
 
    public void setBeginCreateTime(String beginCreateTime)
    {
        this.beginCreateTime = beginCreateTime;
    }
 
    public String getEndCreateTime()
    {
        return endCreateTime;
    }
 
    public void setEndCreateTime(String endCreateTime)
    {
        this.endCreateTime = endCreateTime;
    }
 
    public String getCollectorCode()
    {
        return collectorCode;
    }
 
    public void setCollectorCode(String collectorCode)
    {
        this.collectorCode = collectorCode;
    }
 
    public String getIpAddress()
    {
        return ipAddress;
    }
 
    public void setIpAddress(String ipAddress)
    {
        this.ipAddress = ipAddress;
    }
 
    public String getMacAddress()
    {
        return macAddress;
    }
 
    public void setMacAddress(String macAddress)
    {
        this.macAddress = macAddress;
    }
 
    public String getCollectorName()
    {
        return collectorName;
    }
 
    public void setCollectorName(String collectorName)
    {
        this.collectorName = collectorName;
    }
 
    public String getManufacturer()
    {
        return manufacturer;
    }
 
    public void setManufacturer(String manufacturer)
    {
        this.manufacturer = manufacturer;
    }
 
    public String getModel()
    {
        return model;
    }
 
    public void setModel(String model)
    {
        this.model = model;
    }
 
    public Integer getChannelCount()
    {
        return channelCount;
    }
 
    public void setChannelCount(Integer channelCount)
    {
        this.channelCount = channelCount;
    }
 
    public String getOnlineStatus()
    {
        return onlineStatus;
    }
 
    public void setOnlineStatus(String onlineStatus)
    {
        this.onlineStatus = onlineStatus;
    }
 
    public String getTestStatus()
    {
        return testStatus;
    }
 
    public void setTestStatus(String testStatus)
    {
        this.testStatus = testStatus;
    }
 
    public String getCurrentTest()
    {
        return currentTest;
    }
 
    public void setCurrentTest(String currentTest)
    {
        this.currentTest = currentTest;
    }
 
    public String getCurrentSampleName()
    {
        return currentSampleName;
    }
 
    public void setCurrentSampleName(String currentSampleName)
    {
        this.currentSampleName = currentSampleName;
    }
 
    public String getStatus()
    {
        return status;
    }
 
    public void setStatus(String status)
    {
        this.status = status;
    }
 
    public String getDelFlag()
    {
        return delFlag;
    }
 
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
 
    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("collectorId", getCollectorId())
                .append("collectorCode", getCollectorCode())
                .append("ipAddress", getIpAddress())
                .append("macAddress", getMacAddress())
                .append("collectorName", getCollectorName())
                .append("manufacturer", getManufacturer())
                .append("model", getModel())
                .append("channelCount", getChannelCount())
                .append("onlineStatus", getOnlineStatus())
                .append("testStatus", getTestStatus())
                .append("currentTest", getCurrentTest())
                .append("currentSampleName", getCurrentSampleName())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}