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
| package com.fastbee.iot.model;
|
| import com.fasterxml.jackson.annotation.JsonFormat;
|
| import java.util.Date;
|
| /**
| * 动作
| * @author kerwincui
| * @date 2021-12-16
| */
| public class MonitorModel
| {
| @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
| private Date time;
|
| private String value;
|
| public Date getTime() {
| return time;
| }
|
| public void setTime(Date time) {
| this.time = time;
| }
|
| public String getValue() {
| return value;
| }
|
| public void setValue(String value) {
| this.value = value;
| }
| }
|
|