DevicePowerDTO.java
1.19 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
package cn.com.glsx.stdinterface.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
/**
* @author xiangyanlin
* @date 2022/4/12
*/
@Data
public class DevicePowerDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 电量主键ID
*/
private Long id;
/**
* 设备序列号
*/
private String sn;
/**
* 车辆、设备关系id
*/
private Integer vdId;
/**
* 电量上传时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date alarmTime;
/**
* 设备剩余电量
*/
private Integer soc;
/**
* 创建时间|入库时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdDate;
/**
* 创建人用户id
*/
private Long createdBy;
/**
* 更新时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedDate;
/**
* 更新人用户id
*/
private Long updatedBy;
}