2021与蓝度共同重构项目,服务端
liuhaonan
2021-12-09 2eebce8ec8841d701614f0bee65c601ce335b9f9
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
package com.sandu.ximon.dao.domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
 
/**
 * 单灯数据
 */
 
@Data
public class SingleLampData implements Serializable {
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    private Long userId;
 
    /*灯杆名称*/
    private String lampName;
 
    /*市电电压*/
    private Double mainsVoltage;
 
    /*市电电流*/
    private Double mainsCurrent;
 
    /*设备温度*/
    private Double temperature;
 
    /*功率因数*/
    private Double powerFactor;
 
    /*有功功率*/
    private Integer activePower;
 
    /*本次亮灯时间*/
    private LocalDateTime lightingTime;
 
    /*本次用电量*/
    private Double electricityConsumption;
 
    /*总用电量*/
    private Double totalAlectricityConsumption;
 
    /*灯杆亮度*/
    private Double lightPoleBrightness;
 
    /*更新时间*/
    private LocalDateTime updateTime;
 
 
 
}