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 com.fasterxml.jackson.annotation.JsonIgnore;
|
import lombok.Data;
|
|
/**
|
* 路灯表
|
* @TableName light
|
*/
|
@TableName(value ="light")
|
@Data
|
public class Light implements Serializable {
|
/**
|
*
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long lightId;
|
|
/**
|
* 设备识别码
|
*/
|
private String deviceCode;
|
|
/**
|
* 备注信息
|
*/
|
private String remark;
|
|
/**
|
* 灯1亮度百分比,0-100
|
*/
|
private Integer lightPercent;
|
|
/**
|
* 灯2亮度百分比,0-100
|
*/
|
private Integer light2Percent;
|
|
/**
|
* 功率
|
*/
|
private Integer power1;
|
|
private Integer power2;
|
|
/**
|
* 创建时间
|
*/
|
private LocalDateTime createTime;
|
|
/**
|
*
|
*/
|
private LocalDateTime updateTime;
|
|
/**
|
* 在线状态 0:离线 1:在线
|
*/
|
@TableField(exist = false)
|
private Integer onlineStatus;
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
}
|