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
| package com.shlb.timescaledbutils.entity;
|
| import com.baomidou.mybatisplus.annotation.TableName;
| import com.fasterxml.jackson.annotation.JsonFormat;
| import lombok.Data;
| import lombok.experimental.Accessors;
|
| import java.util.Date;
|
| /**
| * 装箱机表
| */
| @Data
| @Accessors(chain = true)
| @TableName("box_time_data")
| public class BoxTimeData {
|
| /**
| * 时间戳
| */
| @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
| private Date time;
|
| /**
| * 设备编号
| */
| private String key;
|
| /**
| * 网络状态 0异常,1正常
| */
| private Integer online;
|
| /**
| * 1#装封箱机产量
| */
| private Double qty1;
|
| /**
| * 排包机产量
| */
| private Double pbjQty;
|
| /**
| * 班次 (1位数字)
| */
| private Integer shift;
|
| /**
| * 设备号 (3位数字)
| */
| private Integer equNo;
| }
|
|