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;
|
|
|
|
}
|