package com.sandu.ximon.dao.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import lombok.Data;
|
|
/**
|
* 单灯监控数据表
|
* @TableName single_lamp_data
|
*/
|
@TableName(value ="single_lamp_data")
|
@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;
|
|
/**
|
* IMEI号
|
*/
|
private String imei;
|
|
/**
|
* ICCID号
|
*/
|
private String iccId;
|
|
/**
|
* 有功功率
|
*/
|
private Integer activePower;
|
|
/**
|
* 本次亮灯时间
|
*/
|
private LocalDateTime lightingTime;
|
|
/**
|
* 本次用电量
|
*/
|
private Double electricityEonsumption;
|
|
/**
|
* 总用电量
|
*/
|
private Double totalElectricityEonsumption;
|
|
/**
|
* 灯杆亮度
|
*/
|
private Double lightPoleBrightness;
|
|
/**
|
* 更新时间
|
*/
|
private LocalDateTime updateTime;
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
}
|