xuxiuxi
2017-07-22 7b6628f2efb53e8246663f50267cacb35f577051
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
package cn.com.basic.face.discern.entity;
 
import java.io.Serializable;
import java.util.Date;
 
import cn.com.basic.face.discern.common.BaseEntity;
 
/**
 * 双向
 */
public class Device extends BaseEntity implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    public static final String MODEL_NAME = "Device";
 
    public static final class FieldNames {
        /**
         * 设备主键
         */
        public static final String deviceId = "deviceId";
        /**
         * 设备所属公司
         */
        public static final String companyId = "companyId";
        /**
         * 设备名称
         */
        public static final String deviceName = "deviceName";
        /**
         * 设备类型
         */
        public static final String type = "type";
        /**
         * 设备地址
         */
        public static final String installAddress = "installAddress";
        /**
         * 学校名称
         */
        public static final String schoolName = "schoolName";
        /**
         * 品牌
         */
        public static final String brandId = "brandId";
        /**
         * IP
         */
        public static final String ip = "ip";
        /**
         * 端口
         */
        public static final String port = "port";
        /**
         * 分辨率
         */
        public static final String resolutionId = "resolutionId";
        /**
         * 用户名
         */
        public static final String username = "username";
        /**
         * 密码
         */
        public static final String password = "password";
        /**
         * 通讯协议
         */
        public static final String protocolId = "protocolId";
        /**
         * 序列号
         */
        public static final String sn = "sn";
        /**
         * 所属设备id
         */
        public static final String belongId = "belongId";
        /**
         * 负责人
         */
        public static final String principal = "principal";
        /**
         * 安装时间
         */
        public static final String installTime = "installTime";
        /**
         * 安装公司
         */
        public static final String installCompany = "installCompany";
        /**
         * 生产厂家
         */
        public static final String manufacturer = "manufacturer";
        /**
         * 生产日期
         */
        public static final String productionDate = "productionDate";
        /**
         * 备注
         */
        public static final String remark = "remark";
        /**
         * 报废日期
         */
        public static final String scrappedDate = "scrappedDate";
        /**
         * 设备id
         */
        public static final String snId = "snId";
        /**
         * 同步时间
         */
        public static final String updateTime = "updateTime";
        /**
         * 是否同步
         */
        public static final String isSynchron = "isSynchron";
        /**
         * 设备所在机构id
         */
        public static final String deviceCompanyId = "deviceCompanyId";
    }
 
    // 设备主键
    private String deviceId;
    // 设备所属公司
    private String companyId;
    // 设备名称
    private String deviceName;
    // 设备类型
    private String type;
    // 设备地址
    private String installAddress;
    // 学校名称
    private String schoolName;
    // 品牌
    private String brandId;
    // IP
    private String ip;
    // 端口
    private String port;
    // 分辨率
    private String resolutionId;
    // 用户名
    private String username;
    // 密码
    private String password;
    // 通讯协议
    private String protocolId;
    // 序列号
    private String sn;
    // 所属设备id
    private String belongId;
    // 负责人
    private String principal;
    // 安装时间
    private String installTime;
    // 安装公司
    private String installCompany;
    // 生产厂家
    private String manufacturer;
    // 生产日期
    private String productionDate;
    // 备注
    private String remark;
    // 报废日期
    private String scrappedDate;
    // 设备id
    private String snId;
    // 同步时间
    private String updateTime;
    // 是否同步
    private String isSynchron;
    // 设备所在机构id
    private String deviceCompanyId;
 
    /**
     * Get 设备主键
     */
    public String getDeviceId() {
        return deviceId;
    }
 
    /**
     * Set 设备主键
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
 
    /**
     * Get 设备所属公司
     */
    public String getCompanyId() {
        return companyId;
    }
 
    /**
     * Set 设备所属公司
     */
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
 
    /**
     * Get 设备名称
     */
    public String getDeviceName() {
        return deviceName;
    }
 
    /**
     * Set 设备名称
     */
    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }
 
    /**
     * Get 设备类型
     * :camera1, camera2, main_device
     */
    public String getType() {
        return type;
    }
 
    /**
     * Set 设备类型
     * :camera1, camera2, main_device
     */
    public void setType(String type) {
        this.type = type;
    }
 
    /**
     * Get 设备地址
     */
    public String getInstallAddress() {
        return installAddress;
    }
 
    /**
     * Set 设备地址
     */
    public void setInstallAddress(String installAddress) {
        this.installAddress = installAddress;
    }
 
    /**
     * Get 学校名称
     */
    public String getSchoolName() {
        return schoolName;
    }
 
    /**
     * Set 学校名称
     */
    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
 
    /**
     * Get 品牌
     */
    public String getBrandId() {
        return brandId;
    }
 
    /**
     * Set 品牌
     */
    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }
 
    /**
     * Get IP
     */
    public String getIp() {
        return ip;
    }
 
    /**
     * Set IP
     */
    public void setIp(String ip) {
        this.ip = ip;
    }
 
    /**
     * Get 端口
     */
    public String getPort() {
        return port;
    }
 
    /**
     * Set 端口
     */
    public void setPort(String port) {
        this.port = port;
    }
 
    /**
     * Get 分辨率
     */
    public String getResolutionId() {
        return resolutionId;
    }
 
    /**
     * Set 分辨率
     */
    public void setResolutionId(String resolutionId) {
        this.resolutionId = resolutionId;
    }
 
    /**
     * Get 用户名
     */
    public String getUsername() {
        return username;
    }
 
    /**
     * Set 用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }
 
    /**
     * Get 密码
     */
    public String getPassword() {
        return password;
    }
 
    /**
     * Set 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }
 
    /**
     * Get 通讯协议
     */
    public String getProtocolId() {
        return protocolId;
    }
 
    /**
     * Set 通讯协议
     */
    public void setProtocolId(String protocolId) {
        this.protocolId = protocolId;
    }
 
    /**
     * Get 序列号
     */
    public String getSn() {
        return sn;
    }
 
    /**
     * Set 序列号
     */
    public void setSn(String sn) {
        this.sn = sn;
    }
 
    /**
     * Get 所属设备id
     */
    public String getBelongId() {
        return belongId;
    }
 
    /**
     * Set 所属设备id
     */
    public void setBelongId(String belongId) {
        this.belongId = belongId;
    }
 
    /**
     * Get 负责人
     */
    public String getPrincipal() {
        return principal;
    }
 
    /**
     * Set 负责人
     */
    public void setPrincipal(String principal) {
        this.principal = principal;
    }
 
    /**
     * Get 安装时间
     */
    public String getInstallTime() {
        return installTime;
    }
 
    /**
     * Set 安装时间
     */
    public void setInstallTime(String installTime) {
        this.installTime = installTime;
    }
 
    /**
     * Get 安装公司
     */
    public String getInstallCompany() {
        return installCompany;
    }
 
    /**
     * Set 安装公司
     */
    public void setInstallCompany(String installCompany) {
        this.installCompany = installCompany;
    }
 
    /**
     * Get 生产厂家
     */
    public String getManufacturer() {
        return manufacturer;
    }
 
    /**
     * Set 生产厂家
     */
    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
 
    /**
     * Get 生产日期
     */
    public String getProductionDate() {
        return productionDate;
    }
 
    /**
     * Set 生产日期
     */
    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }
 
    /**
     * Get 备注
     */
    public String getRemark() {
        return remark;
    }
 
    /**
     * Set 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
    /**
     * Get 报废日期
     */
    public String getScrappedDate() {
        return scrappedDate;
    }
 
    /**
     * Set 报废日期
     */
    public void setScrappedDate(String scrappedDate) {
        this.scrappedDate = scrappedDate;
    }
 
    /**
     * Get 设备id
     */
    public String getSnId() {
        return snId;
    }
 
    /**
     * Set 设备id
     */
    public void setSnId(String snId) {
        this.snId = snId;
    }
 
    /**
     * Get 同步时间
     */
    public String getUpdateTime() {
        return updateTime;
    }
 
    /**
     * Set 同步时间
     */
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
 
    /**
     * Get 是否同步
     * ,Y--已同步,N--未同步
     */
    public String getIsSynchron() {
        return isSynchron;
    }
 
    /**
     * Set 是否同步
     * ,Y--已同步,N--未同步
     */
    public void setIsSynchron(String isSynchron) {
        this.isSynchron = isSynchron;
    }
 
    /**
     * Get 设备所在机构id
     */
    public String getDeviceCompanyId() {
        return deviceCompanyId;
    }
 
    /**
     * Set 设备所在机构id
     */
    public void setDeviceCompanyId(String deviceCompanyId) {
        this.deviceCompanyId = deviceCompanyId;
    }
 
    public String toString() {
        return 
             ",设备主键 =" + deviceId   +  ",设备所属公司 ="+ companyId  +  ",设备名称 =" + deviceName + 
             ",设备类型 =" + type       +  ",设备地址 =" + installAddress +  ",学校名称 =" + schoolName + 
             ",品牌 ="   + brandId    +  ",IP ="   + ip         +  ",端口 ="   + port       + 
             ",分辨率 ="  + resolutionId +  ",用户名 ="  + username   +  ",密码 ="   + password   + 
             ",通讯协议 =" + protocolId +  ",序列号 ="  + sn         +  ",所属设备id ="+ belongId   + 
             ",负责人 ="  + principal  +  ",安装时间 =" + installTime +  ",安装公司 =" + installCompany + 
             ",生产厂家 =" + manufacturer +  ",生产日期 =" + productionDate +  ",备注 ="   + remark     + 
             ",报废日期 =" + scrappedDate +  ",设备id =" + snId       +  ",同步时间 =" + updateTime + 
             ",是否同步 =" + isSynchron +  ",设备所在机构id ="+ deviceCompanyId;
    }
}